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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 }, | 128 }, |
129 'link_settings': { | 129 'link_settings': { |
130 'libraries': [ | 130 'libraries': [ |
131 '-limm32.lib', | 131 '-limm32.lib', |
132 '-loleacc.lib', | 132 '-loleacc.lib', |
133 ], | 133 ], |
134 }, | 134 }, |
135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
136 'msvs_disabled_warnings': [ 4267, ], | 136 'msvs_disabled_warnings': [ 4267, ], |
137 }], | 137 }], |
138 ['OS == "android" and gtest_target_type == "shared_library"', { | 138 ['OS == "android"', { |
139 'dependencies': [ | 139 'dependencies': [ |
140 '../testing/android/native_test.gyp:native_test_native_code', | 140 '../testing/android/native_test.gyp:native_test_native_code', |
141 ], | 141 ], |
142 }], | 142 }], |
143 ['use_pango == 1', { | 143 ['use_pango == 1', { |
144 'dependencies': [ | 144 'dependencies': [ |
145 '../build/linux/system.gyp:fontconfig', | 145 '../build/linux/system.gyp:fontconfig', |
146 '../build/linux/system.gyp:pangocairo', | 146 '../build/linux/system.gyp:pangocairo', |
147 ], | 147 ], |
148 'sources': [ | 148 'sources': [ |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 { | 247 { |
248 'target_name': 'ui_unittests_bundle', | 248 'target_name': 'ui_unittests_bundle', |
249 'type': 'shared_library', | 249 'type': 'shared_library', |
250 'dependencies': [ | 250 'dependencies': [ |
251 'resources/ui_resources.gyp:ui_test_pak', | 251 'resources/ui_resources.gyp:ui_test_pak', |
252 ], | 252 ], |
253 'includes': [ 'ui_unittests_bundle.gypi' ], | 253 'includes': [ 'ui_unittests_bundle.gypi' ], |
254 }, | 254 }, |
255 ], | 255 ], |
256 }], | 256 }], |
257 # Special target to wrap a gtest_target_type==shared_library | 257 ['OS == "android"', { |
258 # ui_unittests into an android apk for execution. | |
259 # See base.gyp for TODO(jrg)s about this strategy. | |
260 ['OS == "android" and gtest_target_type == "shared_library"', { | |
261 'targets': [ | 258 'targets': [ |
262 { | 259 { |
263 'target_name': 'ui_unittests_apk', | 260 'target_name': 'ui_unittests_apk', |
264 'type': 'none', | 261 'type': 'none', |
265 'dependencies': [ | 262 'dependencies': [ |
266 'ui_unittests', | 263 'ui_unittests', |
267 ], | 264 ], |
268 'variables': { | 265 'variables': { |
269 'test_suite_name': 'ui_unittests', | 266 'test_suite_name': 'ui_unittests', |
270 }, | 267 }, |
271 'includes': [ '../build/apk_test.gypi' ], | 268 'includes': [ '../build/apk_test.gypi' ], |
272 }, | 269 }, |
273 ], | 270 ], |
274 }], | 271 }], |
275 ], | 272 ], |
276 } | 273 } |
OLD | NEW |