OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is meant to be included into an action to copy test data files into | 5 # This file is meant to be included into an action to copy test data files into |
6 # an iOS app bundle. To use this the following variables need to be defined: | 6 # an iOS app bundle. To use this the following variables need to be defined: |
7 # test_data_files: list: paths to test data files or directories | 7 # test_data_files: list: paths to test data files or directories |
8 # test_data_prefix: string: a directory prefix that will be prepended to each | 8 # test_data_prefix: string: a directory prefix that will be prepended to each |
9 # output path. Generally, this should be the base | 9 # output path. Generally, this should be the base |
10 # directory of the gypi file containing the unittest | 10 # directory of the gypi file containing the unittest |
(...skipping 25 matching lines...) Expand all Loading... |
36 'inputs': [ | 36 'inputs': [ |
37 '<!@pymod_do_main(copy_test_data_ios --inputs <(test_data_files))', | 37 '<!@pymod_do_main(copy_test_data_ios --inputs <(test_data_files))', |
38 ], | 38 ], |
39 'outputs': [ | 39 'outputs': [ |
40 '<!@pymod_do_main(copy_test_data_ios -o <(PRODUCT_DIR)/<(_target_name).app/<
(test_data_prefix) --outputs <(test_data_files))', | 40 '<!@pymod_do_main(copy_test_data_ios -o <(PRODUCT_DIR)/<(_target_name).app/<
(test_data_prefix) --outputs <(test_data_files))', |
41 ], | 41 ], |
42 'action': [ | 42 'action': [ |
43 'python', | 43 'python', |
44 '<(DEPTH)/build/copy_test_data_ios.py', | 44 '<(DEPTH)/build/copy_test_data_ios.py', |
45 '-o', '<(PRODUCT_DIR)/<(_target_name).app/<(test_data_prefix)', | 45 '-o', '<(PRODUCT_DIR)/<(_target_name).app/<(test_data_prefix)', |
46 '<(_inputs)', | 46 '<@(_inputs)', |
47 ], | 47 ], |
48 } | 48 } |
OLD | NEW |