Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: build/copy_test_data_ios.gypi

Issue 265043003: Fix test data copying on iOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 16 matching lines...) Expand all
27 # }, 27 # },
28 # 'includes': ['path/to/this/gypi/file'], 28 # 'includes': ['path/to/this/gypi/file'],
29 # }, 29 # },
30 # ], 30 # ],
31 # }], 31 # }],
32 # } 32 # }
33 # 33 #
34 34
35 { 35 {
36 'inputs': [ 36 'inputs': [
37 '<!@pymod_do_main(copy_test_data_ios --inputs <(test_data_files))', 37 # The |-o <(test_data_prefix)| is ignored; it is there to work around a
38 # caching bug in gyp (https://code.google.com/p/gyp/issues/detail?id=112).
39 # It caches command output when the string is the same, so if two copy
40 # steps have the same relative paths, there can be bogus cache hits that
41 # cause compile failures unless something varies.
42 '<!@pymod_do_main(copy_test_data_ios -o <(test_data_prefix) --inputs <(test_ data_files))',
38 ], 43 ],
39 'outputs': [ 44 'outputs': [
40 '<!@pymod_do_main(copy_test_data_ios -o <(PRODUCT_DIR)/<(_target_name).app/< (test_data_prefix) --outputs <(test_data_files))', 45 '<!@pymod_do_main(copy_test_data_ios -o <(PRODUCT_DIR)/<(_target_name).app/< (test_data_prefix) --outputs <(test_data_files))',
41 ], 46 ],
42 'action': [ 47 'action': [
43 'python', 48 'python',
44 '<(DEPTH)/build/copy_test_data_ios.py', 49 '<(DEPTH)/build/copy_test_data_ios.py',
45 '-o', '<(PRODUCT_DIR)/<(_target_name).app/<(test_data_prefix)', 50 '-o', '<(PRODUCT_DIR)/<(_target_name).app/<(test_data_prefix)',
46 '<@(_inputs)', 51 '<@(_inputs)',
47 ], 52 ],
48 } 53 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698