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

Side by Side Diff: ui/ui_unittests.gypi

Issue 11410004: Move a target_conditions block to be within the ui_unittests target. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « no previous file | 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
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ui_test_support', 8 'target_name': 'ui_test_support',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 }], 259 }],
260 ['use_aura==1', { 260 ['use_aura==1', {
261 'sources!': [ 261 'sources!': [
262 'base/dialogs/select_file_dialog_win_unittest.cc', 262 'base/dialogs/select_file_dialog_win_unittest.cc',
263 'base/dragdrop/os_exchange_data_win_unittest.cc', 263 'base/dragdrop/os_exchange_data_win_unittest.cc',
264 'base/native_theme/native_theme_win_unittest.cc', 264 'base/native_theme/native_theme_win_unittest.cc',
265 'gfx/screen_unittest.cc', 265 'gfx/screen_unittest.cc',
266 ], 266 ],
267 }], 267 }],
268 ], 268 ],
269 'target_conditions': [
270 ['OS == "ios"', {
271 'sources/': [
272 # Pull in specific Mac files for iOS (which have been filtered out
273 # by file name rules).
274 ['include', '^base/l10n/l10n_util_mac_unittest\\.mm$'],
275 ],
276 }],
277 ],
269 }, 278 },
270 ], 279 ],
271 'target_conditions': [
272 ['OS == "ios"', {
273 'sources/': [
274 # Pull in specific Mac files for iOS (which have been filtered out
275 # by file name rules).
276 ['include', '^base/l10n/l10n_util_mac_unittest\\.mm$'],
277 ],
278 }],
279 ],
280 'conditions': [ 280 'conditions': [
281 # Special target to wrap a gtest_target_type==shared_library 281 # Special target to wrap a gtest_target_type==shared_library
282 # ui_unittests into an android apk for execution. 282 # ui_unittests into an android apk for execution.
283 # See base.gyp for TODO(jrg)s about this strategy. 283 # See base.gyp for TODO(jrg)s about this strategy.
284 ['OS == "android" and gtest_target_type == "shared_library"', { 284 ['OS == "android" and gtest_target_type == "shared_library"', {
285 'targets': [ 285 'targets': [
286 { 286 {
287 'target_name': 'ui_unittests_apk', 287 'target_name': 'ui_unittests_apk',
288 'type': 'none', 288 'type': 'none',
289 'dependencies': [ 289 'dependencies': [
290 'ui_unittests', 290 'ui_unittests',
291 ], 291 ],
292 'variables': { 292 'variables': {
293 'test_suite_name': 'ui_unittests', 293 'test_suite_name': 'ui_unittests',
294 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte sts<(SHARED_LIB_SUFFIX)', 294 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)ui_unitte sts<(SHARED_LIB_SUFFIX)',
295 }, 295 },
296 'includes': [ '../build/apk_test.gypi' ], 296 'includes': [ '../build/apk_test.gypi' ],
297 }, 297 },
298 ], 298 ],
299 }], 299 }],
300 ], 300 ],
301 } 301 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698