• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 Google Inc. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      'target_name': 'file-in',
9      'type': 'none',
10      'copies': [
11        {
12          'destination': '<(PRODUCT_DIR)',
13          'files': [ 'file.in' ],
14        },
15      ],
16    },
17    {
18      'target_name': 'file-out',
19      'type': 'none',
20      'dependencies': [ 'file-in' ],
21      'actions': [
22        {
23          'action_name': 'copy-file',
24          'inputs': [ '$(strip <(PRODUCT_DIR)/file.in)' ],
25          'outputs': [ '<(PRODUCT_DIR)/file.out' ],
26          'action': [ 'cp', '$(strip <(PRODUCT_DIR)/file.in)', '<(PRODUCT_DIR)/file.out' ],
27        }
28      ],
29    },
30  ],
31}
32