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

Side by Side Diff: content/content_tests.gypi

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 | « components/components_tests.gyp ('k') | gpu/gpu.gyp » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'layouttest_support_content', 8 'target_name': 'layouttest_support_content',
9 'type': 'static_library', 9 'type': 'static_library',
10 'conditions': [ 10 'conditions': [
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc', 871 'browser/geolocation/wifi_data_provider_chromeos_unittest.cc',
872 'browser/geolocation/wifi_data_provider_common_unittest.cc', 872 'browser/geolocation/wifi_data_provider_common_unittest.cc',
873 'browser/geolocation/wifi_data_provider_linux_unittest.cc', 873 'browser/geolocation/wifi_data_provider_linux_unittest.cc',
874 ], 874 ],
875 }], 875 }],
876 ['OS != "android" and OS != "ios"', { 876 ['OS != "android" and OS != "ios"', {
877 'dependencies': [ 877 'dependencies': [
878 '../third_party/libvpx/libvpx.gyp:libvpx', 878 '../third_party/libvpx/libvpx.gyp:libvpx',
879 ], 879 ],
880 }], 880 }],
881 ['OS == "android" and gtest_target_type == "shared_library"', { 881 ['OS == "android"', {
882 'dependencies': [ 882 'dependencies': [
883 '../testing/android/native_test.gyp:native_test_native_code', 883 '../testing/android/native_test.gyp:native_test_native_code',
884 ], 884 ],
885 }], 885 }],
886 ['use_aura!=1 and OS!="android"', { 886 ['use_aura!=1 and OS!="android"', {
887 'sources!': [ 887 'sources!': [
888 'browser/renderer_host/input/tap_suppression_controller_unittest.cc' , 888 'browser/renderer_host/input/tap_suppression_controller_unittest.cc' ,
889 ], 889 ],
890 }], 890 }],
891 ['use_dbus==0', { 891 ['use_dbus==0', {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 ], 945 ],
946 'include_dirs': [ 946 'include_dirs': [
947 '..', 947 '..',
948 ], 948 ],
949 'sources': [ 949 'sources': [
950 'browser/renderer_host/input/input_router_impl_perftest.cc', 950 'browser/renderer_host/input/input_router_impl_perftest.cc',
951 'common/cc_messages_perftest.cc', 951 'common/cc_messages_perftest.cc',
952 'test/run_all_perftests.cc', 952 'test/run_all_perftests.cc',
953 ], 953 ],
954 'conditions': [ 954 'conditions': [
955 ['OS == "android" and gtest_target_type == "shared_library"', { 955 ['OS == "android"', {
956 'dependencies': [ 956 'dependencies': [
957 '../testing/android/native_test.gyp:native_test_native_code', 957 '../testing/android/native_test.gyp:native_test_native_code',
958 ], 958 ],
959 }], 959 }],
960 ], 960 ],
961 }, 961 },
962 { 962 {
963 'target_name': 'content_browser_test_support', 963 'target_name': 'content_browser_test_support',
964 'type': 'static_library', 964 'type': 'static_library',
965 'dependencies': [ 965 'dependencies': [
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 }], 1274 }],
1275 ['input_speech==0', { 1275 ['input_speech==0', {
1276 'sources/': [ 1276 'sources/': [
1277 ['exclude', '^browser/speech/'], 1277 ['exclude', '^browser/speech/'],
1278 ] 1278 ]
1279 }], 1279 }],
1280 ['branding=="Chrome"', { 1280 ['branding=="Chrome"', {
1281 'sources!': [ 1281 'sources!': [
1282 # These tests depend on single process mode, which is disabled 1282 # These tests depend on single process mode, which is disabled
1283 # in official builds. 1283 # in official builds.
1284 » » 'renderer/browser_render_view_browsertest.cc', 1284 'renderer/browser_render_view_browsertest.cc',
1285 'renderer/dom_serializer_browsertest.cc', 1285 'renderer/dom_serializer_browsertest.cc',
1286 'renderer/resource_fetcher_browsertest.cc', 1286 'renderer/resource_fetcher_browsertest.cc',
1287 'renderer/savable_resources_browsertest.cc', 1287 'renderer/savable_resources_browsertest.cc',
1288 ], 1288 ],
1289 }], 1289 }],
1290 ], 1290 ],
1291 }, 1291 },
1292 { 1292 {
1293 'target_name': 'content_gl_tests', 1293 'target_name': 'content_gl_tests',
1294 'type': '<(gtest_target_type)', 1294 'type': '<(gtest_target_type)',
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 '../ui/gl/gl.gyp:gl', 1483 '../ui/gl/gl.gyp:gl',
1484 'content.gyp:content', 1484 'content.gyp:content',
1485 ], 1485 ],
1486 'sources': [ 1486 'sources': [
1487 'common/gpu/media/video_accelerator_unittest_helpers.h', 1487 'common/gpu/media/video_accelerator_unittest_helpers.h',
1488 'common/gpu/media/video_encode_accelerator_unittest.cc', 1488 'common/gpu/media/video_encode_accelerator_unittest.cc',
1489 ], 1489 ],
1490 }, 1490 },
1491 ] 1491 ]
1492 }], 1492 }],
1493 # Special target to wrap a gtest_target_type==shared_library 1493 ['OS == "android"', {
1494 # content_unittests into an android apk for execution.
1495 # See base.gyp for TODO(jrg)s about this strategy.
1496 ['OS == "android" and gtest_target_type == "shared_library"', {
1497 'targets': [ 1494 'targets': [
1498 { 1495 {
1499 'target_name': 'content_gl_tests_apk', 1496 'target_name': 'content_gl_tests_apk',
1500 'type': 'none', 1497 'type': 'none',
1501 'dependencies': [ 1498 'dependencies': [
1502 'content_gl_tests', 1499 'content_gl_tests',
1503 'content_java_test_support', 1500 'content_java_test_support',
1504 ], 1501 ],
1505 'variables': { 1502 'variables': {
1506 'test_suite_name': 'content_gl_tests', 1503 'test_suite_name': 'content_gl_tests',
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1824 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1828 }, 1825 },
1829 ], 1826 ],
1830 }], 1827 }],
1831 ], 1828 ],
1832 }, 1829 },
1833 ], 1830 ],
1834 }], 1831 }],
1835 ], 1832 ],
1836 } 1833 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698