Index: build/gn_migration.gypi |
diff --git a/build/gn_migration.gypi b/build/gn_migration.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..378613a05fa51c1988d032bff3edf4e92216d812 |
--- /dev/null |
+++ b/build/gn_migration.gypi |
@@ -0,0 +1,763 @@ |
+# Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# This file defines five targets that we are using to track the progress of the |
+# GYP->GN migration: |
+# |
+# 'both_gn_and_gyp' lists what GN is currently capable of building and should |
+# match the 'both_gn_and_gyp' target in //BUILD.gn. |
+# |
+# 'gyp_all' Should include everything built when building "all"; i.e., if you |
+# type 'ninja gyp_all' and then 'ninja all', the second build should do |
+# nothing. 'gyp_all' should just depend on the other four targets. |
+# |
+# 'gyp_remaining' lists all of the targets that still need to be converted, |
+# i.e., all of the other (non-empty) targets that a GYP build will build. |
+ |
+{ |
+ 'includes': [ |
+ '../media/media_variables.gypi' |
+ ], |
+ 'targets': [ |
+ { |
+ 'target_name': 'gyp_all', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'both_gn_and_gyp', |
+ 'gyp_remaining', |
+ ] |
+ }, |
+ { |
+ # This target should mirror the structure of //:both_gn_and_gyp |
+ # in src/BUILD.gn as closely as possible, for ease of comparison. |
+ 'target_name': 'both_gn_and_gyp', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '../base/base.gyp:base_i18n_perftests', |
+ '../base/base.gyp:base_perftests', |
+ '../base/base.gyp:base_unittests', |
+ '../base/base.gyp:check_example', |
+ '../cc/cc_tests.gyp:cc_perftests', |
+ '../cc/cc_tests.gyp:cc_unittests', |
+ '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests', |
+ '../chrome/chrome.gyp:load_library_perf_tests', |
+ '../chrome/chrome.gyp:unit_tests', |
+ '../components/components.gyp:network_hints_browser', |
+ '../components/components.gyp:policy_templates', |
+ '../components/components_tests.gyp:components_browsertests', |
+ '../components/components_tests.gyp:components_perftests', |
+ '../components/components_tests.gyp:components_unittests', |
+ '../content/content.gyp:content_app_browser', |
+ '../content/content.gyp:content_app_child', |
+ '../content/content_shell_and_tests.gyp:content_browsertests', |
+ '../content/content_shell_and_tests.gyp:content_perftests', |
+ '../content/content_shell_and_tests.gyp:content_unittests', |
+ '../crypto/crypto.gyp:crypto_unittests', |
+ '../device/device_tests.gyp:device_unittests', |
+ '../gin/gin.gyp:gin_v8_snapshot_fingerprint', |
+ '../gpu/gpu.gyp:angle_unittests', |
+ '../gpu/gpu.gyp:gl_tests', |
+ '../gpu/gpu.gyp:gpu_perftests', |
+ '../gpu/gpu.gyp:gpu_unittests', |
+ '../ipc/ipc.gyp:ipc_tests', |
+ '../media/cast/cast.gyp:cast_unittests', |
+ '../media/media.gyp:media_perftests', |
+ '../media/media.gyp:media_unittests', |
+ '../media/midi/midi.gyp:midi_unittests', |
+ '../net/net.gyp:dump_cache', |
+ '../net/net.gyp:net_perftests', |
+ '../net/net.gyp:net_unittests', |
+ '../printing/printing.gyp:printing_unittests', |
+ '../skia/skia_tests.gyp:skia_unittests', |
+ '../sql/sql.gyp:sql_unittests', |
+ '../testing/gmock.gyp:gmock_main', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests', |
+ '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests', |
+ '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests', |
+ '../third_party/boringssl/boringssl_tests.gyp:boringssl_unittests', |
+ '../third_party/leveldatabase/leveldatabase.gyp:env_chromium_unittests', |
+ '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_unittests', |
+ '../third_party/smhasher/smhasher.gyp:pmurhash', |
+ '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host', |
+ '../ui/accessibility/accessibility.gyp:accessibility_unittests', |
+ '../ui/base/ui_base_tests.gyp:ui_base_unittests', |
+ '../ui/display/display.gyp:display_unittests', |
+ '../ui/events/events_unittests.gyp:events_unittests', |
+ '../ui/gfx/gfx_tests.gyp:gfx_unittests', |
+ '../ui/gl/gl_tests.gyp:gl_unittests', |
+ '../ui/snapshot/snapshot.gyp:snapshot_unittests', |
+ '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests', |
+ '../url/url.gyp:url_unittests', |
+ '../v8/src/v8.gyp:v8_snapshot', |
+ '../v8/src/v8.gyp:postmortem-metadata', |
+ ], |
+ 'conditions': [ |
+ ['clang==1', { |
+ 'dependencies': [ |
+ '../build/sanitizers/sanitizers.gyp:llvm-symbolizer', |
+ ], |
+ }], |
+ ['disable_nacl==0 and disable_nacl_untrusted==0', { |
+ 'dependencies': [ |
+ '../components/nacl.gyp:nacl_loader_unittests', |
+ ] |
+ }], |
+ ['enable_extensions==1', { |
+ 'dependencies': [ |
+ '../extensions/shell/app_shell.gyp:app_shell', |
+ '../extensions/shell/app_shell.gyp:app_shell_unittests', |
+ ], |
+ }], |
+ ['enable_mdns==1', { |
+ 'dependencies': [ |
+ '../chrome/chrome.gyp:service_discovery_sniffer', |
+ ] |
+ }], |
+ ['remoting==1', { |
+ 'dependencies': [ |
+ '../remoting/remoting_all.gyp:remoting_all', |
+ ], |
+ }], |
+ ['remoting==1 and chromeos==0 and use_x11==1', { |
+ 'dependencies': [ |
+ '../remoting/remoting.gyp:remoting_me2me_host', |
+ '../remoting/remoting.gyp:remoting_me2me_native_messaging_host', |
+ ], |
+ }], |
+ ['toolkit_views==1', { |
+ 'dependencies': [ |
+ '../ui/views/views.gyp:views_unittests', |
+ ], |
+ }], |
+ ['enable_app_list==1', { |
+ 'dependencies': [ |
+ '../ui/app_list/app_list.gyp:app_list_demo', |
+ ], |
+ }], |
+ ['use_ash==1', { |
+ 'dependencies': [ |
+ '../ash/ash.gyp:ash_shell_with_content', |
+ '../ash/ash.gyp:ash_unittests', |
+ ], |
+ }], |
+ ['use_ash==1 or chromeos== 1', { |
+ 'dependencies': [ |
+ '../components/components.gyp:session_manager_component', |
+ ] |
+ }], |
+ ['use_aura==1', { |
+ 'dependencies': [ |
+ '../ui/aura/aura.gyp:aura_demo', |
+ '../ui/aura/aura.gyp:aura_unittests', |
+ '../ui/keyboard/keyboard.gyp:keyboard_unittests', |
+ '../ui/wm/wm.gyp:wm_unittests', |
+ ], |
+ }], |
+ ['use_ozone==1', { |
+ 'dependencies': [ |
+ '../ui/ozone/ozone.gyp:ozone', |
+ ], |
+ }], |
+ ['use_x11==1', { |
+ 'dependencies': [ |
+ '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
+ ], |
+ 'conditions': [ |
+ ['target_arch!="arm"', { |
+ 'dependencies': [ |
+ '../gpu/tools/tools.gyp:compositor_model_bench', |
+ ], |
+ }], |
+ ], |
+ }], |
+ ['OS=="android"', { |
+ 'dependencies': [ |
+ '../base/base.gyp:base_junit_tests', |
+ '../base/base.gyp:base_perftests_apk', |
+ '../base/base.gyp:base_unittests_apk', |
+ '../base/base.gyp:chromium_android_linker', |
+ '../breakpad/breakpad.gyp:breakpad_unittests_deps', |
+ '../breakpad/breakpad.gyp:symupload#host', |
+ '../breakpad/breakpad.gyp:microdump_stackwalk#host', |
+ '../breakpad/breakpad.gyp:minidump_dump#host', |
+ '../breakpad/breakpad.gyp:minidump_stackwalk#host', |
+ '../build/android/rezip.gyp:rezip_apk_jar', |
+ '../cc/blink/cc_blink_tests.gyp:cc_blink_unittests_apk', |
+ '../cc/cc_tests.gyp:cc_perftests_apk', |
+ '../cc/cc_tests.gyp:cc_unittests_apk', |
+ #"//clank" TODO(GYP) - conditional somehow? |
+ '../components/components.gyp:cronet_package', |
+ '../components/components.gyp:cronet_sample_apk', |
+ '../components/components.gyp:cronet_sample_test_apk', |
+ '../components/components.gyp:cronet_test_apk', |
+ '../components/components.gyp:cronet_test_instrumentation_apk', |
+ '../components/components.gyp:cronet_unittests_apk', |
+ '../components/components_tests.gyp:components_browsertests_apk', |
+ '../components/components_tests.gyp:components_junit_tests', |
+ '../components/components_tests.gyp:components_unittests_apk', |
+ '../content/content_shell_and_tests.gyp:chromium_linker_test_apk', |
+ '../content/content_shell_and_tests.gyp:content_browsertests_apk', |
+ '../content/content_shell_and_tests.gyp:content_junit_tests', |
+ '../content/content_shell_and_tests.gyp:content_shell_apk', |
+ '../content/content_shell_and_tests.gyp:content_shell_test_apk', |
+ '../content/content_shell_and_tests.gyp:content_unittests_apk', |
+ '../device/device_tests.gyp:device_unittests_apk', |
+ '../gpu/gpu.gyp:command_buffer_gles2_tests_apk', |
+ '../gpu/gpu.gyp:gl_tests_apk', |
+ '../gpu/gpu.gyp:gpu_perftests_apk', |
+ '../gpu/gpu.gyp:gpu_unittests_apk', |
+ '../ipc/ipc.gyp:ipc_tests_apk', |
+ '../media/cast/cast.gyp:cast_unittests_apk', |
+ '../media/media.gyp:media_perftests_apk', |
+ '../media/media.gyp:media_unittests_apk', |
+ '../media/media.gyp:video_decode_accelerator_unittest_apk', |
+ '../media/midi/midi.gyp:midi_unittests_apk', |
+ '../net/net.gyp:net_junit_tests', |
+ '../net/net.gyp:net_unittests_apk', |
+ '../sandbox/sandbox.gyp:sandbox_linux_unittests_deps', |
+ '../skia/skia_tests.gyp:skia_unittests_apk', |
+ '../sql/sql.gyp:sql_unittests_apk', |
+ '../testing/android/junit/junit_test.gyp:junit_unit_tests', |
+ '../third_party/smhasher/smhasher.gyp:murmurhash3', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests_apk', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests_apk', |
+ '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests_apk', |
+ '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests_apk', |
+ '../tools/android/heap_profiler/heap_profiler.gyp:heap_profiler_unittests_apk', |
+ '../tools/android/android_tools.gyp:memconsumer', |
+ '../tools/android/android_tools.gyp:push_apps_to_background', |
+ '../tools/imagediff/image_diff.gyp:image_diff#host', |
+ '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host', |
+ '../ui/android/ui_android.gyp:ui_android_unittests_apk', |
+ '../ui/android/ui_android.gyp:ui_junit_tests', |
+ '../ui/base/ui_base_tests.gyp:ui_base_unittests_apk', |
+ '../ui/events/events_unittests.gyp:events_unittests_apk', |
+ '../ui/gfx/gfx_tests.gyp:gfx_unittests_apk', |
+ '../ui/gl/gl_tests.gyp:gl_unittests_apk', |
+ '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_apk', |
+ |
+ #"//third_party/android_tools:uiautomator_java", |
+ ], |
+ 'dependencies!': [ |
+ # TODO(GYP): All of these targets need to be ported over. |
+ '../url/url.gyp:url_unittests', |
+ ], |
+ }], |
+ ['OS=="android" and chromecast==0', { |
+ 'dependencies': [ |
+ '../android_webview/android_webview_shell.gyp:system_webview_shell_apk', |
+ '../android_webview/android_webview_shell.gyp:system_webview_shell_layout_test_apk', |
+ '../android_webview/android_webview_shell.gyp:system_webview_shell_page_cycler_apk', |
+ '../chrome/android/chrome_apk.gyp:chrome_public_apk', |
+ '../chrome/android/chrome_apk.gyp:chrome_public_test_apk', |
+ '../chrome/android/chrome_apk.gyp:chrome_sync_shell_apk', |
+ '../chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk', |
+ '../chrome/chrome.gyp:chromedriver_webview_shell_apk', |
+ '../chrome/chrome.gyp:chrome_junit_tests', |
+ '../chrome/chrome.gyp:unit_tests_apk', |
+ '../third_party/custom_tabs_client/custom_tabs_client.gyp:custom_tabs_client_example_apk', |
+ ], |
+ }], |
+ ['OS!="android"', { |
+ 'dependencies': [ |
+ '../base/base.gyp:build_utf8_validator_tables#host', |
+ '../chrome/chrome.gyp:chrome_app_unittests', |
+ '../chrome/chrome.gyp:chromedriver', |
+ '../chrome/chrome.gyp:chromedriver_tests', |
+ '../chrome/chrome.gyp:chromedriver_unittests', |
+ '../content/content_shell_and_tests.gyp:content_shell', |
+ '../courgette/courgette.gyp:courgette', |
+ '../courgette/courgette.gyp:courgette_fuzz', |
+ '../courgette/courgette.gyp:courgette_minimal_tool', |
+ '../courgette/courgette.gyp:courgette_unittests', |
+ '../gin/gin.gyp:gin_unittests', |
+ '../gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support', # TODO(GYP) crbug.com/471920 |
+ '../google_apis/gcm/gcm.gyp:gcm_unit_tests', |
+ '../google_apis/gcm/gcm.gyp:mcs_probe', |
+ '../google_apis/google_apis.gyp:google_apis_unittests', |
+ '../jingle/jingle.gyp:jingle_unittests', |
+ '../mojo/mojo.gyp:mojo', |
+ '../mojo/mojo_edk_tests.gyp:mojo_system_unittests', |
+ '../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests', |
+ '../mojo/mojo_edk_tests.gyp:mojo_public_system_perftests', |
+ '../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests', |
+ '../net/net.gyp:crash_cache', |
+ '../net/net.gyp:crl_set_dump', |
+ '../net/net.gyp:dns_fuzz_stub', |
+ '../net/net.gyp:gdig', |
+ '../net/net.gyp:get_server_time', |
+ '../net/net.gyp:hpack_example_generator', |
+ '../net/net.gyp:hpack_fuzz_mutator', |
+ '../net/net.gyp:hpack_fuzz_wrapper', |
+ '../net/net.gyp:net_watcher', # TODO(GYP): This should be conditional on use_v8_in_net |
+ '../net/net.gyp:run_testserver', |
+ '../net/net.gyp:stress_cache', |
+ '../net/net.gyp:tld_cleanup', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_audio', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_audio_input', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_c_stub', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_cc_stub', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_compositor', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_crxfs', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_enumerate_devices', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_file_chooser', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_flash_topmost', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_gamepad', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_gles2', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_gles2_spinning_cube', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_graphics_2d', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_ime', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_input', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_audio', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_media_stream_video', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_cursor', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_mouse_lock', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_post_message', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_printing', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_scaling', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_scroll', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_simple_font', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_threading', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_url_loader_file', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_vc', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_video_decode_dev', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_video_effects', |
+ '../ppapi/ppapi_internal.gyp:ppapi_example_video_encode', |
+ '../ppapi/ppapi_internal.gyp:ppapi_tests', |
+ '../ppapi/ppapi_internal.gyp:ppapi_perftests', |
+ '../ppapi/ppapi_internal.gyp:ppapi_unittests', |
+ '../components/sync.gyp:run_sync_testserver', |
+ '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests', |
+ '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber_unittests', |
+ '../tools/imagediff/image_diff.gyp:image_diff', |
+ '../ui/compositor/compositor.gyp:compositor_unittests', |
+ ], |
+ }], |
+ ['enable_app_list==1', { |
+ 'dependencies': [ |
+ '../ui/app_list/app_list.gyp:app_list_unittests', |
+ ], |
+ }], |
+ ['OS!="android" and chromecast==0', { |
+ 'dependencies': [ |
+ '../chrome/chrome.gyp:browser_tests', |
+ '../chrome/chrome.gyp:chrome', |
+ '../chrome/chrome.gyp:interactive_ui_tests', |
+ '../chrome/chrome.gyp:performance_browser_tests', |
+ '../chrome/chrome.gyp:sync_integration_tests', |
+ '../chrome/chrome.gyp:sync_performance_tests', |
+ '../extensions/extensions_tests.gyp:extensions_browsertests', |
+ '../extensions/extensions_tests.gyp:extensions_unittests', |
+ '../gin/gin.gyp:gin_shell', |
+ '../gpu/gles2_conform_support/gles2_conform_test.gyp:gles2_conform_test', # TODO(GYP) crbug.com/471920 |
+ '../gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_test', # TODO(GYP) crbug.com/471903 to make this complete. |
+ '../ipc/ipc.gyp:ipc_perftests', |
+ '../mojo/mojo_base.gyp:mojo_common_unittests', |
+ '../ppapi/tools/ppapi_tools.gyp:pepper_hash_for_uma', |
+ '../skia/skia.gyp:filter_fuzz_stub', |
+ '../skia/skia.gyp:image_operations_bench', |
+ '../components/sync/tools/sync_tools.gyp:sync_client', |
+ '../components/sync/tools/sync_tools.gyp:sync_listen_notifications', |
+ '../third_party/codesighs/codesighs.gyp:codesighs', |
+ '../third_party/codesighs/codesighs.gyp:maptsvdifftool', |
+ '../third_party/pdfium/samples/samples.gyp:pdfium_diff', |
+ '../third_party/pdfium/samples/samples.gyp:pdfium_test', |
+ '../tools/battor_agent/battor_agent.gyp:battor_agent', |
+ '../tools/battor_agent/battor_agent.gyp:battor_agent_unittests', |
+ '../tools/gn/gn.gyp:gn', |
+ '../tools/gn/gn.gyp:gn_unittests', |
+ '../tools/perf/clear_system_cache/clear_system_cache.gyp:clear_system_cache', |
+ '../ui/message_center/message_center.gyp:message_center_unittests', |
+ '../ui/views/examples/examples.gyp:views_examples_with_content_exe', |
+ ], |
+ }], |
+ ['media_use_ffmpeg==1 and OS!="android"', { |
+ 'dependencies': [ |
+ '../media/media.gyp:ffmpeg_regression_tests', |
+ ], |
+ }], |
+ ['OS=="android" or OS=="linux"', { |
+ 'dependencies': [ |
+ '../net/net.gyp:disk_cache_memory_test', |
+ ], |
+ }], |
+ ['chromeos==1', { |
+ 'dependencies': [ |
+ '../chromeos/chromeos.gyp:chromeos_unittests', |
+ '../ui/chromeos/ui_chromeos.gyp:ui_chromeos_unittests', |
+ '../ui/arc/arc.gyp:ui_arc_unittests', |
+ ] |
+ }], |
+ ['chromeos==1 or OS=="win" or OS=="mac"', { |
+ 'dependencies': [ |
+ '../rlz/rlz.gyp:rlz_id', |
+ '../rlz/rlz.gyp:rlz_lib', |
+ '../rlz/rlz.gyp:rlz_unittests', |
+ ], |
+ }], |
+ ['OS=="linux" or OS=="android" or os_bsd==1', { |
+ 'dependencies': [ |
+ '../breakpad/breakpad.gyp:breakpad_unittests', |
+ '../breakpad/breakpad.gyp:core-2-minidump', |
+ '../breakpad/breakpad.gyp:dump_syms#host', |
+ '../breakpad/breakpad.gyp:generate_test_dump', |
+ '../breakpad/breakpad.gyp:minidump-2-core', |
+ ], |
+ }], |
+ ['OS=="linux" or os_bsd==1', { |
+ 'dependencies': [ |
+ '../breakpad/breakpad.gyp:microdump_stackwalk', |
+ '../breakpad/breakpad.gyp:minidump_dump', |
+ '../breakpad/breakpad.gyp:minidump_stackwalk', |
+ '../breakpad/breakpad.gyp:symupload', |
+ '../third_party/codesighs/codesighs.gyp:nm2tsv', |
+ ], |
+ }], |
+ ['OS=="linux"', { |
+ 'dependencies': [ |
+ '../dbus/dbus.gyp:dbus_test_server', |
+ '../dbus/dbus.gyp:dbus_unittests', |
+ '../media/cast/cast.gyp:cast_testing_tools', |
+ '../media/cast/cast.gyp:tap_proxy', |
+ '../net/net.gyp:disk_cache_memory_test', |
+ '../net/net.gyp:epoll_quic_client', |
+ '../net/net.gyp:epoll_quic_server', |
+ '../net/net.gyp:hpack_example_generator', |
+ '../net/net.gyp:hpack_fuzz_mutator', |
+ '../net/net.gyp:hpack_fuzz_wrapper', |
+ '../net/net.gyp:net_perftests', |
+ '../net/net.gyp:quic_client', |
+ '../net/net.gyp:quic_server', |
+ '../sandbox/sandbox.gyp:chrome_sandbox', |
+ '../sandbox/sandbox.gyp:sandbox_linux_unittests', |
+ '../third_party/sqlite/sqlite.gyp:sqlite_shell', |
+ ], |
+ }], |
+ ['OS=="mac"', { |
+ 'dependencies': [ |
+ '../breakpad/breakpad.gyp:crash_inspector', |
+ '../breakpad/breakpad.gyp:dump_syms', |
+ '../breakpad/breakpad.gyp:symupload', |
+ '../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code', |
+ '../third_party/molokocacao/molokocacao.gyp:molokocacao', |
+ |
+ # TODO(GYP): remove these when the corresponding root targets work. |
+ #"//cc/blink", |
+ #"//components/ui/zoom", |
+ #"//content", |
+ #"//content/test:test_support", |
+ #"//device/battery", |
+ #"//device/bluetooth", |
+ #"//device/usb", |
+ #"//device/vibration", |
+ #"//media/blink", |
+ #"//pdf", |
+ #"//storage/browser", |
+ #"//third_party/brotli", |
+ #"//third_party/flac", |
+ #"//third_party/hunspell", |
+ #//third_party/iccjpeg", |
+ #"//third_party/libphonenumber", |
+ #"//third_party/ots", |
+ #"//third_party/qcms", |
+ #"//third_party/smhasher:murmurhash3", |
+ #"//third_party/webrtc/system_wrappers", |
+ #"//ui/native_theme", |
+ #"//ui/snapshot", |
+ #"//ui/surface", |
+ ], |
+ 'dependencies!': [ |
+ #"//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) |
+ #"//components:components_unittests", # TODO(GYP) |
+ #"//extensions:extensions_browsertests", # TODO(GYP) |
+ #"//extensions:extensions_unittests", # TODO(GYP) |
+ #"//net:net_unittests", # TODO(GYP) |
+ #"//third_party/usrsctp", # TODO(GYP) |
+ #"//ui/app_list:app_list_unittests", # TODO(GYP) |
+ #"//ui/gfx:gfx_unittests", # TODO(GYP) |
+ ], |
+ }], |
+ ['OS=="win"', { |
+ 'dependencies': [ |
+ '../base/base.gyp:pe_image_test', |
+ '../chrome/chrome.gyp:installer_util_unittests', |
+ '../chrome/chrome.gyp:install_static_unittests', |
+ '../chrome/chrome.gyp:setup', |
+ '../chrome/chrome.gyp:setup_unittests', |
+ '../chrome/installer/mini_installer.gyp:mini_installer', |
+ '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests', |
+ '../chrome_elf/chrome_elf.gyp:dll_hash_main', |
+ '../components/components.gyp:wifi_test', |
+ '../net/net.gyp:quic_client', |
+ '../net/net.gyp:quic_server', |
+ '../rlz/rlz.gyp:rlz', |
+ '../sandbox/sandbox.gyp:pocdll', |
+ '../sandbox/sandbox.gyp:sandbox_poc', |
+ '../sandbox/sandbox.gyp:sbox_integration_tests', |
+ '../sandbox/sandbox.gyp:sbox_unittests', |
+ '../sandbox/sandbox.gyp:sbox_validation_tests', |
+ '../testing/gtest.gyp:gtest_main', |
+ '../third_party/codesighs/codesighs.gyp:msdump2symdb', |
+ '../third_party/codesighs/codesighs.gyp:msmap2tsv', |
+ '../third_party/pdfium/samples/samples.gyp:pdfium_diff', |
+ ], |
+ 'conditions': [ |
+ ['component!="shared_library" or target_arch!="ia32"', { |
+ 'dependencies': [ |
+ '../chrome/installer/mini_installer.gyp:next_version_mini_installer', |
+ ], |
+ }], |
+ ], |
+ }], |
+ ['chromecast==1', { |
+ 'dependencies': [ |
+ '../chromecast/chromecast.gyp:cast_shell', |
+ ], |
+ }], |
+ ['use_openh264==1', { |
+ 'dependencies': [ |
+ '../third_party/openh264/openh264.gyp:openh264_common', |
+ '../third_party/openh264/openh264.gyp:openh264_processing', |
+ '../third_party/openh264/openh264.gyp:openh264_encoder', |
+ ], |
+ }], |
+ ], |
+ }, |
+ { |
+ 'target_name': 'gyp_remaining', |
+ 'type': 'none', |
+ 'conditions': [ |
+ ['test_isolation_mode!="noop"', { |
+ 'dependencies': [ |
+ '../base/base.gyp:base_unittests_run', |
+ '../cc/cc_tests.gyp:cc_unittests_run', |
+ '../chrome/chrome.gyp:browser_tests_run', |
+ '../chrome/chrome.gyp:chrome_app_unittests_run', |
+ '../chrome/chrome.gyp:chrome_run', |
+ '../chrome/chrome.gyp:interactive_ui_tests_run', |
+ '../chrome/chrome.gyp:sync_integration_tests_run', |
+ '../chrome/chrome.gyp:unit_tests_run', |
+ '../device/device_tests.gyp:device_unittests_run', |
+ '../components/components_tests.gyp:components_browsertests_run', |
+ '../components/components_tests.gyp:components_unittests_run', |
+ '../content/content_shell_and_tests.gyp:content_browsertests_run', |
+ '../content/content_shell_and_tests.gyp:content_unittests_run', |
+ '../courgette/courgette.gyp:courgette_unittests_run', |
+ '../crypto/crypto.gyp:crypto_unittests_run', |
+ '../extensions/extensions_tests.gyp:extensions_browsertests_run', |
+ '../extensions/extensions_tests.gyp:extensions_unittests_run', |
+ '../google_apis/gcm/gcm.gyp:gcm_unit_tests_run', |
+ '../google_apis/google_apis.gyp:google_apis_unittests_run', |
+ '../gpu/gpu.gyp:gpu_unittests_run', |
+ '../media/blink/media_blink.gyp:media_blink_unittests_run', |
+ '../media/cast/cast.gyp:cast_unittests_run', |
+ '../media/media.gyp:media_unittests_run', |
+ '../media/midi/midi.gyp:midi_unittests_run', |
+ '../mojo/mojo_edk_tests.gyp:mojo_public_bindings_unittests_run', |
+ '../mojo/mojo_edk_tests.gyp:mojo_public_system_unittests_run', |
+ '../net/net.gyp:net_unittests_run', |
+ '../ppapi/ppapi_internal.gyp:ppapi_unittests_run', |
+ '../printing/printing.gyp:printing_unittests_run', |
+ '../remoting/remoting.gyp:remoting_unittests_run', |
+ '../skia/skia_tests.gyp:skia_unittests_run', |
+ '../sql/sql.gyp:sql_unittests_run', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_heap_unittests_run', |
+ '../third_party/WebKit/Source/platform/blink_platform_tests.gyp:blink_platform_unittests_run', |
+ '../third_party/WebKit/Source/web/web_tests.gyp:webkit_unit_tests_run', |
+ '../third_party/WebKit/Source/wtf/wtf_tests.gyp:wtf_unittests_run', |
+ '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_unittests_run', |
+ '../tools/battor_agent/battor_agent.gyp:battor_agent_unittests_run', |
+ '../tools/gn/gn.gyp:gn_unittests_run', |
+ '../ui/accessibility/accessibility.gyp:accessibility_unittests_run', |
+ '../ui/compositor/compositor.gyp:compositor_unittests_run', |
+ '../ui/display/display.gyp:display_unittests_run', |
+ '../ui/events/events_unittests.gyp:events_unittests_run', |
+ '../ui/gfx/gfx_tests.gyp:gfx_unittests_run', |
+ '../ui/message_center/message_center.gyp:message_center_unittests_run', |
+ '../url/url.gyp:url_unittests_run', |
+ ], |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ 'dependencies': [ |
+ '../sandbox/sandbox.gyp:sandbox_linux_unittests_run', |
+ ], |
+ }], |
+ ['OS=="mac"', { |
+ 'dependencies': [ |
+ '../sandbox/sandbox.gyp:sandbox_mac_unittests_run', |
+ ], |
+ }], |
+ ['OS=="win"', { |
+ 'dependencies': [ |
+ '../chrome/chrome.gyp:installer_util_unittests_run', |
+ '../chrome/chrome.gyp:setup_unittests_run', |
+ '../chrome_elf/chrome_elf.gyp:chrome_elf_unittests_run', |
+ '../sandbox/sandbox.gyp:sbox_integration_tests_run', |
+ '../sandbox/sandbox.gyp:sbox_unittests_run', |
+ '../sandbox/sandbox.gyp:sbox_validation_tests_run', |
+ ], |
+ }], |
+ ['OS!="android"', { |
+ 'dependencies': [ |
+ '../ipc/ipc.gyp:ipc_tests_run', |
+ '../ui/base/ui_base_tests.gyp:ui_base_unittests_run', |
+ '../ui/gl/gl_tests.gyp:gl_unittests_run', |
+ '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection_unittests_run', |
+ ], |
+ }], |
+ ['OS!="android" and OS!="ios" and chromecast==0', { |
+ 'dependencies': [ |
+ '../mojo/mojo_edk_tests.gyp:mojo_js_unittests_run', |
+ '../mojo/mojo_edk_tests.gyp:mojo_js_integration_tests_run', |
+ '../mojo/mojo_edk_tests.gyp:mojo_system_unittests_run', |
+ '../services/shell/shell.gyp:mojo_shell_unittests_run', |
+ ], |
+ }], |
+ ['use_ash==1', { |
+ 'dependencies': [ |
+ '../ash/ash.gyp:ash_unittests_run', |
+ ], |
+ }], |
+ ['enable_app_list==1', { |
+ 'dependencies': [ |
+ '../ui/app_list/app_list.gyp:app_list_unittests_run', |
+ ], |
+ }], |
+ ['use_aura==1', { |
+ 'dependencies': [ |
+ '../ui/app_list/presenter/app_list_presenter.gyp:app_list_presenter_unittests_run', |
+ ], |
+ }], |
+ ['use_aura==1', { |
+ 'dependencies': [ |
+ '../ui/aura/aura.gyp:aura_unittests_run', |
+ '../ui/wm/wm.gyp:wm_unittests_run', |
+ ], |
+ }], |
+ ['enable_webrtc==1 or OS!="android"', { |
+ 'dependencies': [ |
+ '../jingle/jingle.gyp:jingle_unittests_run', |
+ ], |
+ }], |
+ ['disable_nacl==0 and disable_nacl_untrusted==0', { |
+ 'dependencies': [ |
+ '../components/nacl.gyp:nacl_loader_unittests_run', |
+ ] |
+ }], |
+ ['toolkit_views==1', { |
+ 'dependencies': [ |
+ '../ui/views/views.gyp:views_unittests_run', |
+ ], |
+ }], |
+ ], |
+ }], |
+ ['chromeos==1', { |
+ 'dependencies': [ |
+ '../media/media.gyp:jpeg_decode_accelerator_unittest', |
+ ], |
+ }], |
+ ['chromeos==1 or OS=="mac"', { |
+ 'dependencies': [ |
+ '../media/media.gyp:video_encode_accelerator_unittest', |
+ ], |
+ }], |
+ ['chromeos==1 and target_arch != "arm"', { |
+ 'dependencies': [ |
+ '../media/media.gyp:vaapi_jpeg_decoder_unittest', |
+ ], |
+ }], |
+ ['chromeos==1 or OS=="win" or OS=="android"', { |
+ 'dependencies': [ |
+ '../media/media.gyp:video_decode_accelerator_unittest', |
+ ], |
+ }], |
+ ['OS=="linux" or OS=="win"', { |
+ 'dependencies': [ |
+ # TODO(GYP): Figure out which of these run on android/mac/win/ios/etc. |
+ '../remoting/remoting.gyp:ar_sample_test_driver', |
+ |
+ # TODO(GYP): in progress - see tfarina. |
+ '../third_party/webrtc/tools/tools.gyp:frame_analyzer', |
+ '../third_party/webrtc/tools/tools.gyp:rgba_to_i420_converter', |
+ ], |
+ }], |
+ ['OS=="win"', { |
+ 'dependencies': [ |
+ # TODO(GYP): All of these targets still need to be converted. |
+ '../chrome/chrome.gyp:gcapi_dll', |
+ '../chrome/chrome.gyp:gcapi_test', |
+ '../chrome/chrome.gyp:pack_policy_templates', |
+ |
+ # This is a safe browsing utility only necessary for developers. |
+ # For now, we can skip this and anybody that needs this can add it |
+ # to the GN build. |
+ '../chrome/chrome.gyp:sb_sigutil', |
+ |
+ '../components/test_runner/test_runner.gyp:layout_test_helper', |
+ '../content/content_shell_and_tests.gyp:content_shell_crash_service', |
+ '../gpu/gpu.gyp:angle_end2end_tests', |
+ '../gpu/gpu.gyp:angle_perftests', |
+ '../ppapi/ppapi_internal.gyp:ppapi_perftests', |
+ '../remoting/remoting.gyp:ar_sample_test_driver', |
+ '../remoting/remoting.gyp:remoting_breakpad_tester', |
+ '../remoting/remoting.gyp:remoting_console', |
+ '../remoting/remoting.gyp:remoting_desktop', |
+ '../tools/win/static_initializers/static_initializers.gyp:static_initializers', |
+ ], |
+ }], |
+ ['OS=="win" and target_arch=="ia32"', { |
+ 'dependencies': [ |
+ # TODO(GYP): All of these targets need to be ported over. |
+ '../base/base.gyp:base_win64', |
+ '../base/base.gyp:base_i18n_nacl_win64', |
+ '../chrome/chrome.gyp:launcher_support64', |
+ '../components/components.gyp:breakpad_win64', |
+ '../courgette/courgette.gyp:courgette64', |
+ '../crypto/crypto.gyp:crypto_nacl_win64', |
+ '../ipc/ipc.gyp:ipc_win64', |
+ '../sandbox/sandbox.gyp:sandbox_win64', |
+ ], |
+ }], |
+ ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { |
+ 'dependencies': [ |
+ # TODO(GYP): All of these targets need to be ported over. |
+ '../components/components.gyp:policy_win64', |
+ ] |
+ }], |
+ ['OS=="android"', { |
+ 'dependencies': [ |
+ '../components/components.gyp:cronet_perf_test_apk', |
+ '../url/url.gyp:url_unittests', |
+ ], |
+ }], |
+ ['OS=="android" and chromecast==0', { |
+ 'dependencies': [ |
+ '../android_webview/android_webview.gyp:android_webview_apk', |
+ '../android_webview/android_webview.gyp:android_webview_test_apk', |
+ '../android_webview/android_webview.gyp:android_webview_unittests', |
+ '../android_webview/android_webview.gyp:android_webview_unittests_apk', |
+ ], |
+ }], |
+ ['OS=="android" and chromecast==0 and use_webview_internal_framework==0', { |
+ 'dependencies': [ |
+ '../android_webview/android_webview.gyp:system_webview_apk', |
+ ], |
+ }], |
+ ['OS=="android" and target_arch != "x64"', { |
+ 'dependencies': [ |
+ '../third_party/android_platform/relocation_packer.gyp:android_relocation_packer_unittests#host' |
+ ], |
+ }], |
+ ], |
+ }, |
+ ] |
+} |