diff options
author | pkotwicz <pkotwicz@chromium.org> | 2015-10-19 14:09:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-19 21:10:43 +0000 |
commit | 558d52575bd48ff5cf9ffe6f8bcea9cd7c752ade (patch) | |
tree | 488448a5a8d52b7a6932250965ca25d133e5ef14 /BUILD.gn | |
parent | e635e4d73c9478029fbf28d045288993fda69a50 (diff) | |
download | chromium_src-558d52575bd48ff5cf9ffe6f8bcea9cd7c752ade.zip chromium_src-558d52575bd48ff5cf9ffe6f8bcea9cd7c752ade.tar.gz chromium_src-558d52575bd48ff5cf9ffe6f8bcea9cd7c752ade.tar.bz2 |
Remove targets which should not be compiled on Android from gn_all
BUG=507294
Review URL: https://codereview.chromium.org/1407123003
Cr-Commit-Position: refs/heads/master@{#354863}
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 115 |
1 files changed, 37 insertions, 78 deletions
@@ -79,41 +79,22 @@ group("both_gn_and_gyp") { "//url:url_unittests", ] - if (!is_ios) { - # TODO(GYP): Figure out which of these should actually build on iOS, - # and whether there should be other targets that are iOS-only and missing. + if (!is_ios && !is_android) { deps += [ - "//cc:cc_unittests", "//chrome", "//chrome/test:browser_tests", "//chrome/test:interactive_ui_tests", "//chrome/test:sync_integration_tests", - "//chrome/test:unit_tests", "//chrome/test/chromedriver:chromedriver_unittests", - "//components:components_browsertests", - "//content/shell:content_shell", - "//content/test:content_browsertests", - "//content/test:content_perftests", - "//content/test:content_unittests", "//crypto:crypto_unittests", - "//device:device_unittests", "//extensions:extensions_browsertests", "//extensions:extensions_unittests", "//google_apis/gcm:gcm_unit_tests", - "//gpu:gpu_unittests", "//gpu/gles2_conform_support:gles2_conform_test", - "//ipc:ipc_tests", - "//ipc/mojo:ipc_mojo_unittests", "//jingle:jingle_unittests", - "//media:media_unittests", - "//media/midi:midi_unittests", - "//mojo", - "//mojo/application/public/cpp", - "//mojo/common:mojo_common_unittests", "//net:hpack_example_generator", "//net:hpack_fuzz_mutator", "//net:hpack_fuzz_wrapper", - "//net:net_perftests", "//ppapi:ppapi_unittests", "//ppapi/examples/2d", "//ppapi/examples/audio", @@ -144,12 +125,39 @@ group("both_gn_and_gyp") { "//ppapi/examples/video_effects", "//ppapi/examples/video_encode", "//printing:printing_unittests", - "//third_party/WebKit/Source/platform:heap_unittests", - "//third_party/WebKit/Source/platform:platform_unittests", - "//third_party/WebKit/Source/web:webkit_unit_tests", - "//third_party/WebKit/Source/wtf:wtf_unittests", "//third_party/cacheinvalidation:cacheinvalidation_unittests", "//third_party/codesighs", + "//third_party/pdfium/samples:pdfium_test", + "//tools/gn", + "//tools/gn:gn_unittests", + "//tools/gn:generate_test_gn_data", + "//tools/perf/clear_system_cache", + "//ui/accessibility:accessibility_unittests", + "//ui/app_list:app_list_unittests", + ] + } + + if (!is_ios) { + # TODO(GYP): Figure out which of these should actually build on iOS, + # and whether there should be other targets that are iOS-only and missing. + deps += [ + "//cc:cc_unittests", + "//chrome/test:unit_tests", + "//components:components_browsertests", + "//content/shell:content_shell", + "//content/test:content_browsertests", + "//content/test:content_perftests", + "//content/test:content_unittests", + "//device:device_unittests", + "//gpu:gpu_unittests", + "//ipc:ipc_tests", + "//ipc/mojo:ipc_mojo_unittests", + "//media:media_unittests", + "//media/midi:midi_unittests", + "//mojo", + "//mojo/application/public/cpp", + "//mojo/common:mojo_common_unittests", + "//net:net_perftests", # TODO(use-new-edk): #"//mojo/edk/system:mojo_system_unittests", @@ -162,16 +170,14 @@ group("both_gn_and_gyp") { "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", - "//third_party/pdfium/samples:pdfium_test", + + "//third_party/WebKit/Source/platform:heap_unittests", + "//third_party/WebKit/Source/platform:platform_unittests", + "//third_party/WebKit/Source/web:webkit_unit_tests", + "//third_party/WebKit/Source/wtf:wtf_unittests", "//third_party/smhasher:pmurhash", "//tools/imagediff($host_toolchain)", - "//tools/gn", - "//tools/gn:gn_unittests", - "//tools/gn:generate_test_gn_data", - "//tools/perf/clear_system_cache", "//tools/telemetry:bitmaptools($host_toolchain)", - "//ui/accessibility:accessibility_unittests", - "//ui/app_list:app_list_unittests", "//ui/display:display_unittests", "//ui/events:events_unittests", "//ui/gl:gl_unittests", @@ -270,55 +276,8 @@ group("both_gn_and_gyp") { "//ui/message_center:test_support", ] deps -= [ - "//chrome", # TODO(GYP) ?? - "//chrome/test:browser_tests", # TODO(GYP) ?? - "//chrome/test:interactive_ui_tests", # TODO(GYP) ?? - "//chrome/test:sync_integration_tests", # TODO(GYP) ?? "//chrome/test:unit_tests", # TODO(GYP) - - # Chromedriver shouldn't be compiled on Android. - "//chrome/test/chromedriver:chromedriver_unittests", - "//extensions:extensions_browsertests", - "//extensions:extensions_unittests", - "//google_apis/gcm:gcm_unit_tests", - "//jingle:jingle_unittests", # TODO(GYP) ?? - "//net:hpack_example_generator", - "//net:hpack_fuzz_mutator", - "//net:hpack_fuzz_wrapper", "//net:net_perftests", - "//ppapi/examples/2d", - "//ppapi/examples/audio", - "//ppapi/examples/audio_input", - "//ppapi/examples/compositor", - "//ppapi/examples/crxfs", - "//ppapi/examples/enumerate_devices", - "//ppapi/examples/file_chooser", - "//ppapi/examples/flash_topmost", - "//ppapi/examples/font", - "//ppapi/examples/gamepad", - "//ppapi/examples/gles2", - "//ppapi/examples/gles2_spinning_cube", - "//ppapi/examples/ime", - "//ppapi/examples/input", - "//ppapi/examples/media_stream_audio", - "//ppapi/examples/media_stream_video", - "//ppapi/examples/mouse_cursor", - "//ppapi/examples/mouse_lock", - "//ppapi/examples/printing", - "//ppapi/examples/scaling", - "//ppapi/examples/scripting", - "//ppapi/examples/stub", - "//ppapi/examples/threading", - "//ppapi/examples/url_loader", - "//ppapi/examples/video_capture", - "//ppapi/examples/video_decode", - "//ppapi/examples/video_effects", - "//ppapi/examples/video_encode", - "//third_party/pdfium/samples:pdfium_test", - "//tools/gn", - "//tools/gn:generate_test_gn_data", - "//tools/gn:gn_unittests", - "//ui/app_list:app_list_unittests", "//url:url_unittests", ] |