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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 314 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
315 ], | 315 ], |
316 }], | 316 }], |
317 # Exclude tests that rely on event_utils.h for platforms that do not | 317 # Exclude tests that rely on event_utils.h for platforms that do not |
318 # provide native cracking, i.e., platforms that use events_stub.cc. | 318 # provide native cracking, i.e., platforms that use events_stub.cc. |
319 ['OS!="win" and use_x11!=1 and use_ozone!=1', { | 319 ['OS!="win" and use_x11!=1 and use_ozone!=1', { |
320 'sources!': [ | 320 'sources!': [ |
321 'event_unittest.cc', | 321 'event_unittest.cc', |
322 ], | 322 ], |
323 }], | 323 }], |
324 ['OS == "android" and gtest_target_type == "shared_library"', { | 324 ['OS == "android"', { |
325 'dependencies': [ | 325 'dependencies': [ |
326 '../../testing/android/native_test.gyp:native_test_native_code', | 326 '../../testing/android/native_test.gyp:native_test_native_code', |
327 ], | 327 ], |
328 }], | 328 }], |
329 ], | 329 ], |
330 }, | 330 }, |
331 ], | 331 ], |
332 'conditions': [ | 332 'conditions': [ |
333 # Special target to wrap a gtest_target_type==shared_library | 333 ['OS == "android"', { |
334 # ui_unittests into an android apk for execution. | |
335 # See base.gyp for TODO(jrg)s about this strategy. | |
336 ['OS == "android" and gtest_target_type == "shared_library"', { | |
337 'targets': [ | 334 'targets': [ |
338 { | 335 { |
339 'target_name': 'events_unittests_apk', | 336 'target_name': 'events_unittests_apk', |
340 'type': 'none', | 337 'type': 'none', |
341 'dependencies': [ | 338 'dependencies': [ |
342 'events_unittests', | 339 'events_unittests', |
343 ], | 340 ], |
344 'variables': { | 341 'variables': { |
345 'test_suite_name': 'events_unittests', | 342 'test_suite_name': 'events_unittests', |
346 }, | 343 }, |
347 'includes': [ '../../build/apk_test.gypi' ], | 344 'includes': [ '../../build/apk_test.gypi' ], |
348 }, | 345 }, |
349 ], | 346 ], |
350 }], | 347 }], |
351 ], | 348 ], |
352 } | 349 } |
OLD | NEW |