OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'type': '<(gtest_target_type)', | 6 'type': '<(gtest_target_type)', |
7 'dependencies': [ | 7 'dependencies': [ |
8 '../../base/base.gyp:base', | 8 '../../base/base.gyp:base', |
9 '../../base/base.gyp:test_support_base', | 9 '../../base/base.gyp:test_support_base', |
10 '../../net/net.gyp:net', | 10 '../../net/net.gyp:net', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
93 'action_name': 'copy_test_data', | 93 'action_name': 'copy_test_data', |
94 'variables': { | 94 'variables': { |
95 'test_data_files': [ | 95 'test_data_files': [ |
96 'test/data', | 96 'test/data', |
97 ], | 97 ], |
98 'test_data_prefix' : 'ui/base', | 98 'test_data_prefix' : 'ui/base', |
99 }, | 99 }, |
100 'includes': [ '../../build/copy_test_data_ios.gypi' ], | 100 'includes': [ '../../build/copy_test_data_ios.gypi' ], |
101 }, | 101 }, |
102 ], | 102 ], |
103 'postbuilds': [ | |
104 # The iOS resource bundle code hard-codes the names of the 100% and | |
105 # 200% paks. This copying allows locale.pak to stand in for them. | |
106 { | |
107 'postbuild_name': 'Copy chrome_100_percent for test', | |
108 'action': [ | |
109 'cp', | |
tony
2014/10/15 17:35:21
I thought there was a 'copies' command that gyp kn
Avi (use Gerrit)
2014/10/15 17:39:59
I don't know; I don't speak gyp very well. I tried
| |
110 '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak', | |
111 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_100_percent.pak' | |
112 ], | |
113 }, | |
114 { | |
115 'postbuild_name': 'Copy chrome_200_percent for test', | |
116 'action': [ | |
117 'cp', | |
118 '${BUILT_PRODUCTS_DIR}/ui/en.lproj/locale.pak', | |
119 '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/chrome_200_percent.pak' | |
120 ], | |
121 }, | |
122 ], | |
103 }], | 123 }], |
104 ['OS == "win"', { | 124 ['OS == "win"', { |
105 'sources': [ | 125 'sources': [ |
106 'dragdrop/os_exchange_data_win_unittest.cc', | 126 'dragdrop/os_exchange_data_win_unittest.cc', |
107 'win/hwnd_subclass_unittest.cc', | 127 'win/hwnd_subclass_unittest.cc', |
108 'win/open_file_name_win_unittest.cc', | 128 'win/open_file_name_win_unittest.cc', |
109 ], | 129 ], |
110 'msvs_settings': { | 130 'msvs_settings': { |
111 'VCLinkerTool': { | 131 'VCLinkerTool': { |
112 'DelayLoadDLLs': [ | 132 'DelayLoadDLLs': [ |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
213 'target_conditions': [ | 233 'target_conditions': [ |
214 ['OS == "ios"', { | 234 ['OS == "ios"', { |
215 'sources/': [ | 235 'sources/': [ |
216 # Pull in specific Mac files for iOS (which have been filtered out | 236 # Pull in specific Mac files for iOS (which have been filtered out |
217 # by file name rules). | 237 # by file name rules). |
218 ['include', '^l10n/l10n_util_mac_unittest\\.mm$'], | 238 ['include', '^l10n/l10n_util_mac_unittest\\.mm$'], |
219 ], | 239 ], |
220 }], | 240 }], |
221 ], | 241 ], |
222 } | 242 } |
OLD | NEW |