OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 contains resources for the ui_unittests test bundle. | 5 # This file contains resources for the ui_unittests test bundle. |
6 # See chrome_dll_bundle.gypi for a description of the techniques here. | 6 # See chrome_dll_bundle.gypi for a description of the techniques here. |
7 { | 7 { |
8 'product_name': 'ui_unittests Framework', | 8 'product_name': 'ui_unittests Framework', |
9 'variables': { | 9 'variables': { |
10 # There is no executable in the mock framework, and so nothing to strip. | 10 # There is no executable in the mock framework, and so nothing to strip. |
(...skipping 22 matching lines...) Expand all Loading... |
33 'postbuilds': [ | 33 'postbuilds': [ |
34 { | 34 { |
35 'postbuild_name': 'Symlink Resources', | 35 'postbuild_name': 'Symlink Resources', |
36 'action': [ | 36 'action': [ |
37 'ln', | 37 'ln', |
38 '-fns', | 38 '-fns', |
39 'Versions/A/Resources', | 39 'Versions/A/Resources', |
40 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Resources' | 40 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Resources' |
41 ], | 41 ], |
42 }, | 42 }, |
| 43 # The Mac resource bundle code hard-codes the names of the 100% and 200% |
| 44 # paks. This symlinking allows ui_test.pak to stand in for them. |
43 { | 45 { |
44 # Resource bundle pak names are hardcoded. This allows ui_test.pak to be | |
45 # found while running the ResourceBundle tests. | |
46 'postbuild_name': 'Symlink chrome_100_percent for test', | 46 'postbuild_name': 'Symlink chrome_100_percent for test', |
47 'action': [ | 47 'action': [ |
48 'ln', | 48 'ln', |
49 '-fns', | 49 '-fns', |
50 'ui_test.pak', | 50 'ui_test.pak', |
51 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Versions/A/Resources/chrome_100_p
ercent.pak' | 51 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Versions/A/Resources/chrome_100_p
ercent.pak' |
52 ], | 52 ], |
53 }, | 53 }, |
| 54 { |
| 55 'postbuild_name': 'Symlink chrome_200_percent for test', |
| 56 'action': [ |
| 57 'ln', |
| 58 '-fns', |
| 59 'ui_test.pak', |
| 60 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Versions/A/Resources/chrome_200_p
ercent.pak' |
| 61 ], |
| 62 }, |
54 ], | 63 ], |
55 } | 64 } |
OLD | NEW |