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

Side by Side Diff: components/components_tests.gyp

Issue 278443003: Android: cleanup gtest_target_type conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 'variables': { 6 'variables': {
7 # This turns on e.g. the filename-based detection of which 7 # This turns on e.g. the filename-based detection of which
8 # platforms to include source files on (e.g. files ending in 8 # platforms to include source files on (e.g. files ending in
9 # _mac.h or _mac.cc are only compiled on MacOSX). 9 # _mac.h or _mac.cc are only compiled on MacOSX).
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 ], 429 ],
430 'dependencies!': [ 430 'dependencies!': [
431 'components.gyp:storage_monitor', 431 'components.gyp:storage_monitor',
432 'components.gyp:storage_monitor_test_support', 432 'components.gyp:storage_monitor_test_support',
433 'components.gyp:usb_service', 433 'components.gyp:usb_service',
434 'components.gyp:web_modal', 434 'components.gyp:web_modal',
435 'components.gyp:web_modal_test_support', 435 'components.gyp:web_modal_test_support',
436 '../third_party/libusb/libusb.gyp:libusb', 436 '../third_party/libusb/libusb.gyp:libusb',
437 ], 437 ],
438 }], 438 }],
439 ['OS == "android" and gtest_target_type == "shared_library"', { 439 ['OS == "android"', {
440 'dependencies': [ 440 'dependencies': [
441 '../testing/android/native_test.gyp:native_test_native_code', 441 '../testing/android/native_test.gyp:native_test_native_code',
442 ] 442 ]
443 }], 443 }],
444 ['chromeos==1', { 444 ['chromeos==1', {
445 'sources!': [ 445 'sources!': [
446 'storage_monitor/storage_monitor_linux_unittest.cc', 446 'storage_monitor/storage_monitor_linux_unittest.cc',
447 ], 447 ],
448 'dependencies': [ 448 'dependencies': [
449 '../chromeos/chromeos.gyp:chromeos_test_support', 449 '../chromeos/chromeos.gyp:chromeos_test_support',
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 '../testing/gtest.gyp:gtest', 572 '../testing/gtest.gyp:gtest',
573 'components.gyp:visitedlink_browser', 573 'components.gyp:visitedlink_browser',
574 ], 574 ],
575 'include_dirs': [ 575 'include_dirs': [
576 '..', 576 '..',
577 ], 577 ],
578 'sources': [ 578 'sources': [
579 'visitedlink/test/visitedlink_perftest.cc', 579 'visitedlink/test/visitedlink_perftest.cc',
580 ], 580 ],
581 'conditions': [ 581 'conditions': [
582 ['OS == "android" and gtest_target_type == "shared_library"', { 582 ['OS == "android"', {
583 'dependencies': [ 583 'dependencies': [
584 '../testing/android/native_test.gyp:native_test_native_code', 584 '../testing/android/native_test.gyp:native_test_native_code',
585 ], 585 ],
586 }], 586 }],
587 ], 587 ],
588 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 588 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
589 'msvs_disabled_warnings': [ 4267, ], 589 'msvs_disabled_warnings': [ 4267, ],
590 }, 590 },
591 ], 591 ],
592 'conditions': [ 592 'conditions': [
593 ['OS == "android" and gtest_target_type == "shared_library"', { 593 ['OS == "android"', {
594 'targets': [ 594 'targets': [
595 { 595 {
596 'target_name': 'components_unittests_apk', 596 'target_name': 'components_unittests_apk',
597 'type': 'none', 597 'type': 'none',
598 'dependencies': [ 598 'dependencies': [
599 'components_unittests', 599 'components_unittests',
600 ], 600 ],
601 'variables': { 601 'variables': {
602 'test_suite_name': 'components_unittests', 602 'test_suite_name': 'components_unittests',
603 }, 603 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 'dependencies': [ 706 'dependencies': [
707 '../base/allocator/allocator.gyp:allocator', 707 '../base/allocator/allocator.gyp:allocator',
708 ], 708 ],
709 }], 709 }],
710 ], 710 ],
711 }, 711 },
712 ], 712 ],
713 }], 713 }],
714 ], 714 ],
715 } 715 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698