| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # This file contains resources for the ui_unittests test bundle. | |
| 6 # See chrome_dll_bundle.gypi for a description of the techniques here. | |
| 7 { | |
| 8 'product_name': 'ui_unittests Framework', | |
| 9 'variables': { | |
| 10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui', | |
| 11 }, | |
| 12 'mac_bundle': 1, | |
| 13 'xcode_settings': { | |
| 14 'CHROMIUM_BUNDLE_ID': 'com.google.ChromiumUITests', | |
| 15 'DYLIB_COMPATIBILITY_VERSION': '1.0.0', | |
| 16 'DYLIB_CURRENT_VERSION': '1.0.0', | |
| 17 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Versions/1.0.0.0', | |
| 18 'LD_DYLIB_INSTALL_NAME': | |
| 19 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NA
ME)', | |
| 20 'INFOPLIST_FILE': 'base/test/framework-Info.plist', | |
| 21 }, | |
| 22 'mac_bundle_resources': [ | |
| 23 'base/test/framework-Info.plist', | |
| 24 '<(PRODUCT_DIR)/ui_test.pak', | |
| 25 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_
INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))', | |
| 26 ], | |
| 27 'mac_bundle_resources!': [ | |
| 28 'base/test/framework-Info.plist', | |
| 29 ], | |
| 30 'postbuilds': [ | |
| 31 { | |
| 32 'postbuild_name': 'Symlink Resources', | |
| 33 'action': [ | |
| 34 'ln', | |
| 35 '-fns', | |
| 36 'Versions/A/Resources', | |
| 37 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Resources' | |
| 38 ], | |
| 39 }, | |
| 40 { | |
| 41 # Resource bundle pak names are hardcoded. This allows ui_test.pak to be | |
| 42 # found while running the ResourceBundle tests. | |
| 43 'postbuild_name': 'Symlink chrome_100_percent for test', | |
| 44 'action': [ | |
| 45 'ln', | |
| 46 '-fns', | |
| 47 'ui_test.pak', | |
| 48 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Versions/A/Resources/chrome_100_p
ercent.pak' | |
| 49 ], | |
| 50 }, | |
| 51 ], | |
| 52 } | |
| OLD | NEW |