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

Side by Side Diff: ui/ui_unittests_bundle.gypi

Issue 152543005: Introduce a mock ui_unittests Framework for loading resources. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix mac official builder, and missing dependency (thanks GTK). Created 6 years, 9 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
« ui/ui_unittests.gyp ('K') | « ui/ui_unittests.gyp ('k') | 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
(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 # There is no executable in the mock framework, and so nothing to strip.
13 'mac_strip': 0,
tapted 2014/03/11 11:11:03 fix for official builds
14 },
15 'mac_bundle': 1,
16 'xcode_settings': {
17 'CHROMIUM_BUNDLE_ID': 'com.google.ChromiumUITests',
18 'DYLIB_COMPATIBILITY_VERSION': '1.0.0',
19 'DYLIB_CURRENT_VERSION': '1.0.0',
20 'DYLIB_INSTALL_NAME_BASE': '@executable_path/../Versions/1.0.0.0',
21 'LD_DYLIB_INSTALL_NAME':
22 '$(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(WRAPPER_NAME)/$(PRODUCT_NA ME)',
23 'INFOPLIST_FILE': 'base/test/framework-Info.plist',
24 },
25 'mac_bundle_resources': [
26 'base/test/framework-Info.plist',
27 '<(PRODUCT_DIR)/ui_test.pak',
28 '<!@pymod_do_main(repack_locales -o -p <(OS) -g <(grit_out_dir) -s <(SHARED_ INTERMEDIATE_DIR) -x <(SHARED_INTERMEDIATE_DIR) <(locales))',
29 ],
30 'mac_bundle_resources!': [
31 'base/test/framework-Info.plist',
32 ],
33 'postbuilds': [
34 {
35 'postbuild_name': 'Symlink Resources',
36 'action': [
37 'ln',
38 '-fns',
39 'Versions/A/Resources',
40 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Resources'
41 ],
42 },
43 {
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',
47 'action': [
48 'ln',
49 '-fns',
50 'ui_test.pak',
51 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Versions/A/Resources/chrome_100_p ercent.pak'
52 ],
53 },
54 ],
55 }
OLDNEW
« ui/ui_unittests.gyp ('K') | « ui/ui_unittests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698