From 315e4cfd4b1a120c3e2b28812afc5dbdc292bebe Mon Sep 17 00:00:00 2001 From: brettw Date: Wed, 14 Sep 2016 13:20:48 -0700 Subject: [PATCH] Remove GYP files. This removes all .gyp files not called "compiled_resources" in the main Chromium repository. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2332843004 Cr-Commit-Position: refs/heads/master@{#418654} --- android_webview/android_webview.gyp | 526 ---- android_webview/android_webview_shell.gyp | 78 - android_webview/android_webview_tests.gypi | 281 --- .../apk/system_webview_apk_common.gypi | 67 - .../apk/system_webview_glue_common.gypi | 41 - android_webview/apk/system_webview_paks.gypi | 76 - android_webview/libwebviewchromium.gypi | 16 - android_webview/native/webview_native.gyp | 188 -- android_webview/snapshot_copying.gypi | 28 - base/allocator/allocator.gyp | 458 ---- base/android/jni_generator/jni_generator.gyp | 72 - .../dynamic_annotations.gyp | 50 - base/third_party/libevent/libevent.gyp | 64 - .../libevent/libevent_nacl_nonsfi.gyp | 47 - .../trace_event/etw_manifest/etw_manifest.gyp | 41 - base/trace_event/trace_event.gypi | 107 - chromeos/chromeos_tools.gypi | 19 - chromeos/ime/input_method.gyp | 40 - components/physical_web.gypi | 30 - content/content_browser.gypi | 2123 ----------------- courgette/courgette.gyp | 251 -- device/battery/battery.gyp | 173 -- device/bluetooth/bluetooth.gyp | 517 ---- device/bluetooth/bluetooth_strings.gyp | 25 - device/core/core.gyp | 58 - device/device_tests.gyp | 290 --- device/gamepad/gamepad.gyp | 83 - device/geolocation/geolocation.gyp | 139 -- device/hid/hid.gyp | 103 - .../media_transfer_protocol.gyp | 58 - device/nfc/nfc.gyp | 61 - .../power_save_blocker/power_save_blocker.gyp | 65 - device/sensors/sensors.gyp | 39 - device/serial/serial.gyp | 144 -- device/udev_linux/udev.gyp | 39 - device/usb/usb.gyp | 218 -- device/vibration/vibration.gyp | 88 - device/vr/vr.gyp | 40 - .../javascript_dialog_extensions_client.gypi | 24 - extensions/components/native_app_window.gypi | 27 - gin/fingerprint/fingerprint_v8_snapshot.gypi | 47 - gin/gin.gyp | 198 -- google_apis/determine_use_official_keys.gypi | 37 - google_apis/gcm/gcm.gyp | 208 -- google_apis/google_apis.gyp | 228 -- google_update/google_update.gyp | 36 - .../common/physical_web/physical_web.gyp | 39 - ios/chrome/ios_chrome.gyp | 909 ------- ios/chrome/ios_chrome_resources.gyp | 266 --- ios/chrome/ios_chrome_resources_bundle.gypi | 16 - ios/chrome/ios_chrome_tests.gyp | 176 -- ios/chrome/ios_share_extension_resources.gyp | 90 - ios/chrome/ios_today_extension_resources.gyp | 90 - .../ios_today_extension_resources_bundle.gypi | 13 - .../strings/generate_localizable_strings.gyp | 26 - ios/consumer/ios_consumer_base.gyp | 25 - ios/crnet/crnet.gyp | 172 -- ios/crnet/crnet_consumer/crnet_consumer.gyp | 67 - ios/crnet/crnet_pack.gyp | 68 - ios/crnet/test/crnet_test.gyp | 37 - ios/ios.gyp | 35 - ios/net/ios_net.gyp | 65 - ios/net/ios_net_unittests.gyp | 37 - ios/provider/ios_provider_chrome.gyp | 74 - ios/provider/ios_provider_web.gyp | 26 - ios/testing/earl_grey/earl_grey_support.gyp | 26 - ios/testing/ios_testing.gyp | 54 - .../blink/blink_html_tokenizer.gyp | 28 - ios/third_party/earl_grey/earl_grey.gyp | 326 --- ios/third_party/fishhook/fishhook.gyp | 22 - ios/third_party/gcdwebserver/gcdwebserver.gyp | 72 - ios/third_party/ochamcrest/ochamcrest.gyp | 254 -- ios/web/ios_web.gyp | 574 ----- ios/web/ios_web_inttests.gyp | 98 - ios/web/ios_web_resources.gyp | 36 - ios/web/ios_web_shell.gyp | 18 - ios/web/ios_web_shell_exe.gypi | 63 - ios/web/ios_web_shell_tests.gyp | 133 -- ios/web/ios_web_unittests.gyp | 98 - ios/web/js_compile.gypi | 56 - ios/web/js_compile_bundle.gypi | 57 - ios/web/js_compile_checked.gypi | 78 - jingle/jingle.gyp | 241 -- jingle/jingle_nacl.gyp | 42 - .../native_client_sdk_untrusted.gyp | 44 - net/net.gyp | 1708 ------------- net/net_common.gypi | 360 --- net/net_nacl.gyp | 45 - net/tools/tld_cleanup/tld_cleanup.gyp | 23 - pdf/pdf.gyp | 72 - printing/printing.gyp | 363 --- sandbox/linux/sandbox_linux.gypi | 416 ---- sandbox/linux/sandbox_linux_nacl_nonsfi.gyp | 87 - sandbox/linux/sandbox_linux_test_sources.gypi | 93 - sandbox/mac/sandbox_mac.gypi | 104 - sandbox/sandbox.gyp | 35 - sandbox/win/sandbox_win.gypi | 419 ---- skia/skia_chrome.gypi | 97 - skia/skia_common.gypi | 186 -- skia/skia_library.gypi | 314 --- storage/storage_browser.gyp | 226 -- storage/storage_common.gyp | 51 - testing/android/appurify_support.gyp | 22 - testing/android/junit/junit_test.gyp | 44 - testing/android/native_test.gyp | 74 - testing/android/on_device_instrumentation.gyp | 80 - testing/chromoting/dependencies.gypi | 24 - testing/chromoting/integration_tests.gyp | 83 - testing/gmock.gyp | 68 - testing/gtest.gyp | 175 -- testing/gtest.gypi | 41 - testing/gtest_nacl.gyp | 83 - testing/iossim/iossim.gyp | 106 - testing/perf/perf_test.gyp | 18 - third_party/adobe/flash/flash_player.gyp | 80 - .../android_crazy_linker/crazy_linker.gyp | 56 - .../android_data_chart/android_data_chart.gyp | 19 - third_party/android_media/android_media.gyp | 25 - third_party/android_opengl/etc1/etc1.gyp | 17 - .../android_platform/relocation_packer.gyp | 90 - .../android_protobuf/android_protobuf.gyp | 147 -- .../android_swipe_refresh.gyp | 19 - third_party/apache-portable-runtime/apr.gyp | 114 - .../apple_sample_code/apple_sample_code.gyp | 21 - third_party/ashmem/ashmem.gyp | 16 - third_party/boringssl/boringssl.gyp | 203 -- third_party/boringssl/boringssl.gypi | 545 ----- third_party/boringssl/boringssl_nacl.gyp | 46 - third_party/boringssl/boringssl_tests.gyp | 29 - third_party/boringssl/boringssl_tests.gypi | 714 ------ third_party/brotli/bro.gypi | 46 - third_party/brotli/brotli.gyp | 102 - third_party/bspatch/bspatch.gyp | 27 - .../cacheinvalidation/cacheinvalidation.gyp | 239 -- third_party/ced/ced.gyp | 64 - third_party/ced/ced.gypi | 31 - third_party/ced/ced_nacl.gyp | 41 - third_party/class-dump/class-dump.gyp | 195 -- third_party/cld_2/cld_2.gyp | 121 - third_party/codesighs/codesighs.gyp | 61 - .../custom_tabs_client/custom_tabs_client.gyp | 65 - third_party/decklink/decklink.gyp | 20 - .../dom_distiller_js/dom_distiller_js.gyp | 22 - third_party/elfutils/elfutils.gyp | 165 -- third_party/errorprone/errorprone.gyp | 132 - third_party/expat/expat.gyp | 79 - third_party/expat/expat_nacl.gyp | 47 - third_party/fips181/fips181.gyp | 33 - third_party/flatbuffers/flatbuffers.gyp | 102 - third_party/flatbuffers/flatc.gypi | 70 - third_party/fontconfig/fontconfig.gyp | 71 - third_party/freetype-android/freetype.gyp | 73 - third_party/freetype2/freetype2.gyp | 90 - third_party/gif_player/gif_player.gyp | 17 - third_party/google_input_tools/inputview.gyp | 37 - .../google_toolbox_for_mac.gyp | 125 - third_party/haha/haha.gyp | 16 - third_party/harfbuzz-ng/harfbuzz.gyp | 211 -- third_party/hunspell/hunspell.gyp | 93 - third_party/iaccessible2/iaccessible2.gyp | 38 - third_party/iccjpeg/iccjpeg.gyp | 24 - .../instrumented_libraries.gyp | 883 ------- .../standard_instrumented_package_target.gypi | 71 - third_party/isimpledom/isimpledom.gyp | 42 - third_party/jsoncpp/jsoncpp.gyp | 21 - third_party/jsoncpp/jsoncpp.gypi | 39 - third_party/jsoncpp/jsoncpp_nacl.gyp | 31 - third_party/jsr-305/jsr-305.gyp | 19 - third_party/junit/junit.gyp | 36 - third_party/kasko/kasko.gyp | 85 - third_party/khronos/khronos.gyp | 18 - third_party/leakcanary/leakcanary.gyp | 18 - third_party/leveldatabase/leveldatabase.gyp | 394 --- third_party/libXNVCtrl/libXNVCtrl.gyp | 18 - third_party/libjingle/libjingle.gyp | 129 - third_party/libjingle/libjingle_common.gypi | 17 - third_party/libjingle/libjingle_nacl.gyp | 291 --- third_party/libjpeg/libjpeg.gyp | 109 - third_party/liblouis/liblouis_nacl.gyp | 194 -- third_party/libphonenumber/libphonenumber.gyp | 164 -- third_party/libpng/libpng.gyp | 111 - third_party/libsync/libsync.gyp | 28 - third_party/libusb/libusb.gyp | 138 -- third_party/libwebm/libwebm.gyp | 32 - third_party/libwebp/libwebp.gyp | 271 --- third_party/libxml/libxml.gyp | 279 --- third_party/libxslt/libxslt.gyp | 132 - third_party/lzma_sdk/lzma_sdk.gyp | 108 - third_party/mach_override/mach_override.gyp | 77 - third_party/mesa/mesa.gyp | 795 ------ third_party/mesa/mesa_gensrc.gypi | 604 ----- third_party/minigbm/minigbm.gyp | 65 - third_party/mockito/mockito.gyp | 50 - third_party/modp_b64/modp_b64.gyp | 48 - third_party/modp_b64/modp_b64_nacl.gyp | 27 - third_party/molokocacao/molokocacao.gyp | 27 - third_party/mozilla/mozilla.gyp | 45 - third_party/mt19937ar/mt19937ar.gyp | 19 - third_party/netty-tcnative/netty-tcnative.gyp | 106 - third_party/netty4/netty.gyp | 16 - third_party/ocmock/ocmock.gyp | 85 - third_party/openh264/openh264_args.gypi | 12 - third_party/ots/ots-common.gypi | 75 - third_party/ots/ots.gyp | 40 - third_party/protobuf/protobuf.gyp | 563 ----- third_party/protobuf/protobuf_lite.gypi | 111 - third_party/protobuf/protobuf_nacl.gyp | 25 - third_party/qcms/qcms.gyp | 106 - third_party/re2/re2.gyp | 84 - third_party/robolectric/robolectric.gyp | 58 - third_party/sfntly/sfntly.gyp | 142 -- third_party/smhasher/smhasher.gyp | 36 - third_party/snappy/snappy.gyp | 104 - third_party/sqlite/sqlite.gyp | 273 --- .../sudden_motion_sensor.gyp | 19 - third_party/ub-uiautomator/ub-uiautomator.gyp | 19 - third_party/usrsctp/usrsctp.gyp | 147 -- third_party/usrsctp/usrsctp_nacl.gyp | 109 - .../wayland-protocols/wayland-protocols.gyp | 188 -- third_party/wayland/wayland.gyp | 122 - third_party/wds/wds.gyp | 127 - third_party/widevine/cdm/widevine_cdm.gyp | 269 --- third_party/woff2/woff2.gyp | 38 - third_party/yasm/yasm.gyp | 589 ----- third_party/yasm/yasm_compile.gypi | 119 - third_party/zlib/google/zip.gyp | 41 - third_party/zlib/zlib.gyp | 148 -- url/ipc/url_ipc.gyp | 42 - url/url.gyp | 292 --- url/url_nacl.gyp | 37 - url/url_srcs.gypi | 44 - 231 files changed, 31735 deletions(-) delete mode 100644 android_webview/android_webview.gyp delete mode 100644 android_webview/android_webview_shell.gyp delete mode 100644 android_webview/android_webview_tests.gypi delete mode 100644 android_webview/apk/system_webview_apk_common.gypi delete mode 100644 android_webview/apk/system_webview_glue_common.gypi delete mode 100644 android_webview/apk/system_webview_paks.gypi delete mode 100644 android_webview/libwebviewchromium.gypi delete mode 100644 android_webview/native/webview_native.gyp delete mode 100644 android_webview/snapshot_copying.gypi delete mode 100644 base/allocator/allocator.gyp delete mode 100644 base/android/jni_generator/jni_generator.gyp delete mode 100644 base/third_party/dynamic_annotations/dynamic_annotations.gyp delete mode 100644 base/third_party/libevent/libevent.gyp delete mode 100644 base/third_party/libevent/libevent_nacl_nonsfi.gyp delete mode 100644 base/trace_event/etw_manifest/etw_manifest.gyp delete mode 100644 base/trace_event/trace_event.gypi delete mode 100644 chromeos/chromeos_tools.gypi delete mode 100644 chromeos/ime/input_method.gyp delete mode 100644 components/physical_web.gypi delete mode 100644 content/content_browser.gypi delete mode 100644 courgette/courgette.gyp delete mode 100644 device/battery/battery.gyp delete mode 100644 device/bluetooth/bluetooth.gyp delete mode 100644 device/bluetooth/bluetooth_strings.gyp delete mode 100644 device/core/core.gyp delete mode 100644 device/device_tests.gyp delete mode 100644 device/gamepad/gamepad.gyp delete mode 100644 device/geolocation/geolocation.gyp delete mode 100644 device/hid/hid.gyp delete mode 100644 device/media_transfer_protocol/media_transfer_protocol.gyp delete mode 100644 device/nfc/nfc.gyp delete mode 100644 device/power_save_blocker/power_save_blocker.gyp delete mode 100644 device/sensors/sensors.gyp delete mode 100644 device/serial/serial.gyp delete mode 100644 device/udev_linux/udev.gyp delete mode 100644 device/usb/usb.gyp delete mode 100644 device/vibration/vibration.gyp delete mode 100644 device/vr/vr.gyp delete mode 100644 extensions/components/javascript_dialog_extensions_client.gypi delete mode 100644 extensions/components/native_app_window.gypi delete mode 100644 gin/fingerprint/fingerprint_v8_snapshot.gypi delete mode 100644 gin/gin.gyp delete mode 100644 google_apis/determine_use_official_keys.gypi delete mode 100644 google_apis/gcm/gcm.gyp delete mode 100644 google_apis/google_apis.gyp delete mode 100644 google_update/google_update.gyp delete mode 100644 ios/chrome/common/physical_web/physical_web.gyp delete mode 100644 ios/chrome/ios_chrome.gyp delete mode 100644 ios/chrome/ios_chrome_resources.gyp delete mode 100644 ios/chrome/ios_chrome_resources_bundle.gypi delete mode 100644 ios/chrome/ios_chrome_tests.gyp delete mode 100644 ios/chrome/ios_share_extension_resources.gyp delete mode 100644 ios/chrome/ios_today_extension_resources.gyp delete mode 100644 ios/chrome/ios_today_extension_resources_bundle.gypi delete mode 100644 ios/chrome/tools/strings/generate_localizable_strings.gyp delete mode 100644 ios/consumer/ios_consumer_base.gyp delete mode 100644 ios/crnet/crnet.gyp delete mode 100644 ios/crnet/crnet_consumer/crnet_consumer.gyp delete mode 100644 ios/crnet/crnet_pack.gyp delete mode 100644 ios/crnet/test/crnet_test.gyp delete mode 100644 ios/ios.gyp delete mode 100644 ios/net/ios_net.gyp delete mode 100644 ios/net/ios_net_unittests.gyp delete mode 100644 ios/provider/ios_provider_chrome.gyp delete mode 100644 ios/provider/ios_provider_web.gyp delete mode 100644 ios/testing/earl_grey/earl_grey_support.gyp delete mode 100644 ios/testing/ios_testing.gyp delete mode 100644 ios/third_party/blink/blink_html_tokenizer.gyp delete mode 100644 ios/third_party/earl_grey/earl_grey.gyp delete mode 100644 ios/third_party/fishhook/fishhook.gyp delete mode 100644 ios/third_party/gcdwebserver/gcdwebserver.gyp delete mode 100644 ios/third_party/ochamcrest/ochamcrest.gyp delete mode 100644 ios/web/ios_web.gyp delete mode 100644 ios/web/ios_web_inttests.gyp delete mode 100644 ios/web/ios_web_resources.gyp delete mode 100644 ios/web/ios_web_shell.gyp delete mode 100644 ios/web/ios_web_shell_exe.gypi delete mode 100644 ios/web/ios_web_shell_tests.gyp delete mode 100644 ios/web/ios_web_unittests.gyp delete mode 100644 ios/web/js_compile.gypi delete mode 100644 ios/web/js_compile_bundle.gypi delete mode 100644 ios/web/js_compile_checked.gypi delete mode 100644 jingle/jingle.gyp delete mode 100644 jingle/jingle_nacl.gyp delete mode 100644 native_client_sdk/native_client_sdk_untrusted.gyp delete mode 100644 net/net.gyp delete mode 100644 net/net_common.gypi delete mode 100644 net/net_nacl.gyp delete mode 100644 net/tools/tld_cleanup/tld_cleanup.gyp delete mode 100644 pdf/pdf.gyp delete mode 100644 printing/printing.gyp delete mode 100644 sandbox/linux/sandbox_linux.gypi delete mode 100644 sandbox/linux/sandbox_linux_nacl_nonsfi.gyp delete mode 100644 sandbox/linux/sandbox_linux_test_sources.gypi delete mode 100644 sandbox/mac/sandbox_mac.gypi delete mode 100644 sandbox/sandbox.gyp delete mode 100644 sandbox/win/sandbox_win.gypi delete mode 100644 skia/skia_chrome.gypi delete mode 100644 skia/skia_common.gypi delete mode 100644 skia/skia_library.gypi delete mode 100644 storage/storage_browser.gyp delete mode 100644 storage/storage_common.gyp delete mode 100644 testing/android/appurify_support.gyp delete mode 100644 testing/android/junit/junit_test.gyp delete mode 100644 testing/android/native_test.gyp delete mode 100644 testing/android/on_device_instrumentation.gyp delete mode 100644 testing/chromoting/dependencies.gypi delete mode 100644 testing/chromoting/integration_tests.gyp delete mode 100644 testing/gmock.gyp delete mode 100644 testing/gtest.gyp delete mode 100644 testing/gtest.gypi delete mode 100644 testing/gtest_nacl.gyp delete mode 100644 testing/iossim/iossim.gyp delete mode 100644 testing/perf/perf_test.gyp delete mode 100644 third_party/adobe/flash/flash_player.gyp delete mode 100644 third_party/android_crazy_linker/crazy_linker.gyp delete mode 100644 third_party/android_data_chart/android_data_chart.gyp delete mode 100644 third_party/android_media/android_media.gyp delete mode 100644 third_party/android_opengl/etc1/etc1.gyp delete mode 100644 third_party/android_platform/relocation_packer.gyp delete mode 100644 third_party/android_protobuf/android_protobuf.gyp delete mode 100644 third_party/android_swipe_refresh/android_swipe_refresh.gyp delete mode 100644 third_party/apache-portable-runtime/apr.gyp delete mode 100644 third_party/apple_sample_code/apple_sample_code.gyp delete mode 100644 third_party/ashmem/ashmem.gyp delete mode 100644 third_party/boringssl/boringssl.gyp delete mode 100644 third_party/boringssl/boringssl.gypi delete mode 100644 third_party/boringssl/boringssl_nacl.gyp delete mode 100644 third_party/boringssl/boringssl_tests.gyp delete mode 100644 third_party/boringssl/boringssl_tests.gypi delete mode 100644 third_party/brotli/bro.gypi delete mode 100644 third_party/brotli/brotli.gyp delete mode 100644 third_party/bspatch/bspatch.gyp delete mode 100644 third_party/cacheinvalidation/cacheinvalidation.gyp delete mode 100644 third_party/ced/ced.gyp delete mode 100644 third_party/ced/ced.gypi delete mode 100644 third_party/ced/ced_nacl.gyp delete mode 100644 third_party/class-dump/class-dump.gyp delete mode 100644 third_party/cld_2/cld_2.gyp delete mode 100644 third_party/codesighs/codesighs.gyp delete mode 100644 third_party/custom_tabs_client/custom_tabs_client.gyp delete mode 100644 third_party/decklink/decklink.gyp delete mode 100644 third_party/dom_distiller_js/dom_distiller_js.gyp delete mode 100644 third_party/elfutils/elfutils.gyp delete mode 100644 third_party/errorprone/errorprone.gyp delete mode 100644 third_party/expat/expat.gyp delete mode 100644 third_party/expat/expat_nacl.gyp delete mode 100644 third_party/fips181/fips181.gyp delete mode 100644 third_party/flatbuffers/flatbuffers.gyp delete mode 100644 third_party/flatbuffers/flatc.gypi delete mode 100644 third_party/fontconfig/fontconfig.gyp delete mode 100644 third_party/freetype-android/freetype.gyp delete mode 100644 third_party/freetype2/freetype2.gyp delete mode 100644 third_party/gif_player/gif_player.gyp delete mode 100644 third_party/google_input_tools/inputview.gyp delete mode 100644 third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp delete mode 100644 third_party/haha/haha.gyp delete mode 100644 third_party/harfbuzz-ng/harfbuzz.gyp delete mode 100644 third_party/hunspell/hunspell.gyp delete mode 100644 third_party/iaccessible2/iaccessible2.gyp delete mode 100644 third_party/iccjpeg/iccjpeg.gyp delete mode 100644 third_party/instrumented_libraries/instrumented_libraries.gyp delete mode 100644 third_party/instrumented_libraries/standard_instrumented_package_target.gypi delete mode 100644 third_party/isimpledom/isimpledom.gyp delete mode 100644 third_party/jsoncpp/jsoncpp.gyp delete mode 100644 third_party/jsoncpp/jsoncpp.gypi delete mode 100644 third_party/jsoncpp/jsoncpp_nacl.gyp delete mode 100644 third_party/jsr-305/jsr-305.gyp delete mode 100644 third_party/junit/junit.gyp delete mode 100644 third_party/kasko/kasko.gyp delete mode 100644 third_party/khronos/khronos.gyp delete mode 100644 third_party/leakcanary/leakcanary.gyp delete mode 100644 third_party/leveldatabase/leveldatabase.gyp delete mode 100644 third_party/libXNVCtrl/libXNVCtrl.gyp delete mode 100644 third_party/libjingle/libjingle.gyp delete mode 100644 third_party/libjingle/libjingle_common.gypi delete mode 100644 third_party/libjingle/libjingle_nacl.gyp delete mode 100644 third_party/libjpeg/libjpeg.gyp delete mode 100644 third_party/liblouis/liblouis_nacl.gyp delete mode 100644 third_party/libphonenumber/libphonenumber.gyp delete mode 100644 third_party/libpng/libpng.gyp delete mode 100644 third_party/libsync/libsync.gyp delete mode 100644 third_party/libusb/libusb.gyp delete mode 100644 third_party/libwebm/libwebm.gyp delete mode 100644 third_party/libwebp/libwebp.gyp delete mode 100644 third_party/libxml/libxml.gyp delete mode 100644 third_party/libxslt/libxslt.gyp delete mode 100644 third_party/lzma_sdk/lzma_sdk.gyp delete mode 100644 third_party/mach_override/mach_override.gyp delete mode 100644 third_party/mesa/mesa.gyp delete mode 100644 third_party/mesa/mesa_gensrc.gypi delete mode 100644 third_party/minigbm/minigbm.gyp delete mode 100644 third_party/mockito/mockito.gyp delete mode 100644 third_party/modp_b64/modp_b64.gyp delete mode 100644 third_party/modp_b64/modp_b64_nacl.gyp delete mode 100644 third_party/molokocacao/molokocacao.gyp delete mode 100644 third_party/mozilla/mozilla.gyp delete mode 100644 third_party/mt19937ar/mt19937ar.gyp delete mode 100644 third_party/netty-tcnative/netty-tcnative.gyp delete mode 100644 third_party/netty4/netty.gyp delete mode 100644 third_party/ocmock/ocmock.gyp delete mode 100644 third_party/openh264/openh264_args.gypi delete mode 100644 third_party/ots/ots-common.gypi delete mode 100644 third_party/ots/ots.gyp delete mode 100644 third_party/protobuf/protobuf.gyp delete mode 100644 third_party/protobuf/protobuf_lite.gypi delete mode 100644 third_party/protobuf/protobuf_nacl.gyp delete mode 100644 third_party/qcms/qcms.gyp delete mode 100644 third_party/re2/re2.gyp delete mode 100644 third_party/robolectric/robolectric.gyp delete mode 100644 third_party/sfntly/sfntly.gyp delete mode 100644 third_party/smhasher/smhasher.gyp delete mode 100644 third_party/snappy/snappy.gyp delete mode 100644 third_party/sqlite/sqlite.gyp delete mode 100644 third_party/sudden_motion_sensor/sudden_motion_sensor.gyp delete mode 100644 third_party/ub-uiautomator/ub-uiautomator.gyp delete mode 100644 third_party/usrsctp/usrsctp.gyp delete mode 100644 third_party/usrsctp/usrsctp_nacl.gyp delete mode 100644 third_party/wayland-protocols/wayland-protocols.gyp delete mode 100644 third_party/wayland/wayland.gyp delete mode 100644 third_party/wds/wds.gyp delete mode 100644 third_party/widevine/cdm/widevine_cdm.gyp delete mode 100644 third_party/woff2/woff2.gyp delete mode 100644 third_party/yasm/yasm.gyp delete mode 100644 third_party/yasm/yasm_compile.gypi delete mode 100644 third_party/zlib/google/zip.gyp delete mode 100644 third_party/zlib/zlib.gyp delete mode 100644 url/ipc/url_ipc.gyp delete mode 100644 url/url.gyp delete mode 100644 url/url_nacl.gyp delete mode 100644 url/url_srcs.gypi diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp deleted file mode 100644 index 6f10ec127471b..0000000000000 --- a/android_webview/android_webview.gyp +++ /dev/null @@ -1,526 +0,0 @@ -# Copyright 2009 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. -{ - 'variables': { - 'chromium_code': 1, - 'system_webview_package_name%': 'com.android.webview', - }, - 'targets': [ - { - 'target_name': 'android_webview_pak', - 'type': 'none', - 'dependencies': [ - '<(DEPTH)/components/components_resources.gyp:components_resources', - '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources', - '<(DEPTH)/net/net.gyp:net_resources', - '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources', - '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', - ], - 'variables': { - 'conditions': [ - ['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', { - 'arch_suffix':'32' - }], - ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', { - 'arch_suffix':'64' - }], - ], - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/android_webview', - }, - 'actions': [ - # GN version: //android_webview:generate_aw_resources - { - 'action_name': 'generate_aw_resources', - 'variables': { - 'grit_grd_file': 'ui/aw_resources.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, - # GN version: //android_webview:repack_pack - { - 'action_name': 'repack_android_webview_pack', - 'variables': { - 'pak_inputs': [ - '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_image_resources_100_percent.pak', - '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak', - '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak', - '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak', - '<(grit_out_dir)/aw_resources.pak', - ], - 'pak_output': '<(webview_chromium_pak_path)', - }, - 'includes': [ '../build/repack_action.gypi' ], - }, - # GN version: //android_webview:generate_aw_strings - { - 'action_name': 'generate_aw_strings', - 'variables': { - 'grit_grd_file': 'ui/aw_strings.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, - # GN version: //android_webview:generate_components_strings - { - 'action_name': 'generate_components_strings', - 'variables': { - # components_strings contains strings from all components. WebView - # will never display most of them, so we try to limit the included - # strings - 'grit_whitelist': 'ui/grit_components_whitelist.txt', - 'grit_grd_file': '../components/components_strings.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, - # GN Version: //android_webview:repack_locales - { - 'action_name': 'android_webview_repack_locales', - 'variables': { - 'repack_locales': 'tools/webview_repack_locales.py', - }, - 'inputs': [ - '<(repack_locales)', - '(android_product_extension)'], - 'snapshot_copy_files': '<(snapshot_copy_files)', - 'additional_input_paths': [ - '<(asset_location)/webviewchromium.pak', - '<(asset_location)/asset_file.html', - '<(asset_location)/cookie_test.html', - '<(asset_location)/asset_icon.png', - '<(asset_location)/full_screen_video.js', - '<(asset_location)/full_screen_video_test.html', - '<(asset_location)/full_screen_video_inside_div_test.html', - '<(asset_location)/multiple_videos_test.html', - '<(asset_location)/platform-media-codec-test.html', - '<(asset_location)/video.3gp', - '<(asset_location)/video.webm', - '<(asset_location)/visual_state_during_fullscreen_test.html', - '<(asset_location)/visual_state_waits_for_js_test.html', - '<(asset_location)/visual_state_waits_for_js_detached_test.html', - '<(asset_location)/visual_state_on_page_commit_visible_test.html', - '<@(snapshot_additional_input_paths)', - ], - 'conditions': [ - ['icu_use_data_file_flag==1', { - 'additional_input_paths': [ - '<(asset_location)/icudtl.dat', - ], - }], - ], - 'includes': [ 'snapshot_copying.gypi' ], - }, - 'copies': [ - { - 'destination': '<(asset_location)', - 'files': [ - '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', - '<(java_in_dir)/assets/asset_file.html', - '<(java_in_dir)/assets/asset_icon.png', - '<(java_in_dir)/assets/cookie_test.html', - '<(java_in_dir)/assets/full_screen_video.js', - '<(java_in_dir)/assets/full_screen_video_test.html', - '<(java_in_dir)/assets/full_screen_video_inside_div_test.html', - '<(java_in_dir)/assets/multiple_videos_test.html', - '<(java_in_dir)/assets/platform-media-codec-test.html', - '<(java_in_dir)/assets/video.3gp', - '<(java_in_dir)/assets/video.webm', - '<(java_in_dir)/assets/visual_state_during_fullscreen_test.html', - '<(java_in_dir)/assets/visual_state_waits_for_js_test.html', - '<(java_in_dir)/assets/visual_state_waits_for_js_detached_test.html', - '<(java_in_dir)/assets/visual_state_on_page_commit_visible_test.html', - '<@(snapshot_copy_files)', - ], - 'conditions': [ - ['icu_use_data_file_flag==1', { - 'files': [ - '<(PRODUCT_DIR)/icudtl.dat', - ], - }], - ], - }, - ], - 'includes': [ - '../build/java_apk.gypi', - '../build/util/version.gypi', - ], - }, - { - # android_webview_apk creates a .jar as a side effect. Any java - # targets that need that .jar in their classpath should depend on this - # target. For more details see the content_shell_apk_java target. - 'target_name': 'android_webview_apk_java', - 'type': 'none', - 'dependencies': [ - 'android_webview_apk', - ], - 'includes': [ '../build/apk_fake_jar.gypi' ], - }, - # GN: //android_webview/test:android_webview_test_apk - { - 'target_name': 'android_webview_test_apk', - 'type': 'none', - 'dependencies': [ - '../base/base.gyp:base_java_test_support', - '../components/components.gyp:policy_java_test_support', - '../content/content_shell_and_tests.gyp:content_java_test_support', - '../net/net.gyp:net_java_test_support', - '../testing/android/on_device_instrumentation.gyp:broker_java', - '../testing/android/on_device_instrumentation.gyp:require_driver_apk', - 'android_webview_apk_java', - ], - 'variables': { - 'apk_name': 'AndroidWebViewTest', - 'java_in_dir': '../android_webview/javatests', - 'is_test_apk': 1, - 'test_type': 'instrumentation', - 'isolate_file': 'android_webview_test_data.isolate', - }, - 'includes': [ - '../build/java_apk.gypi', - '../build/android/test_runner.gypi', - ], - }, - # GN: //android_webview/test:android_webview_unittests - { - 'target_name': 'android_webview_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../base/base.gyp:test_support_base', - '../content/content_shell_and_tests.gyp:test_support_content', - '../net/net.gyp:net_test_support', - '../testing/android/native_test.gyp:native_test_native_code', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - '../ui/base/ui_base.gyp:ui_base_jni_headers', - '../ui/gl/gl.gyp:gl', - '../ui/gl/init/gl_init.gyp:gl_init', - '../ui/gl/gl.gyp:gl_test_support', - 'android_webview_common', - 'android_webview_unittests_jni', - ], - 'include_dirs': [ - '..', - '../skia/config', - '<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests', - ], - 'sources': [ - 'browser/aw_form_database_service_unittest.cc', - 'browser/aw_permission_manager_unittest.cc', - 'browser/aw_static_cookie_policy_unittest.cc', - 'browser/browser_view_renderer_unittest.cc', - 'browser/net/android_stream_reader_url_request_job_unittest.cc', - 'browser/net/aw_cookie_store_wrapper_unittest.cc', - 'browser/net/input_stream_reader_unittest.cc', - 'browser/test/fake_window.cc', - 'browser/test/fake_window.h', - 'browser/test/rendering_test.cc', - 'browser/test/rendering_test.h', - 'lib/main/webview_tests.cc', - 'native/aw_contents_client_bridge_unittest.cc', - 'native/aw_media_url_interceptor_unittest.cc', - 'native/input_stream_unittest.cc', - 'native/permission/media_access_permission_request_unittest.cc', - 'native/permission/permission_request_handler_unittest.cc', - 'native/state_serializer_unittest.cc', - ], - }, - # GN: //android_webview/test:android_webview_unittest_java - { - 'target_name': 'android_webview_unittest_java', - 'type': 'none', - 'dependencies': [ - '../base/base.gyp:base_java_test_support', - '../content/content_shell_and_tests.gyp:content_java_test_support', - 'android_webview_java', - ], - 'variables': { - 'java_in_dir': '../android_webview/unittestjava', - }, - 'includes': [ '../build/java.gypi' ], - }, - # GN: //android_webview/test:android_webview_unittests_jni - { - 'target_name': 'android_webview_unittests_jni', - 'type': 'none', - 'sources': [ - '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java', - '../android_webview/unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsClientBridge.java', - ], - 'variables': { - 'jni_gen_package': 'android_webview_unittests', - }, - 'includes': [ '../build/jni_generator.gypi' ], - }, - # GN: //android_webview/test:android_webview_unittests_apk - { - 'target_name': 'android_webview_unittests_apk', - 'type': 'none', - 'dependencies': [ - 'android_webview_unittest_java', - 'android_webview_unittests', - ], - 'variables': { - 'test_suite_name': 'android_webview_unittests', - 'additional_input_paths': [ - '<(PRODUCT_DIR)/android_webview_unittests_apk/assets/asset_file.ogg', - ], - }, - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)/android_webview_unittests_apk/assets', - 'files': [ - 'test/unittest/assets/asset_file.ogg', - ], - }, - ], - 'includes': [ '../build/apk_test.gypi' ], - }, - # GN: //android_webview/test:libdrawgl - { - 'target_name': 'libdrawgl', - 'type': 'shared_library', - # Do not depend on any other component here, since this target - # builds a separate shared library! - 'include_dirs': [ - '..', - ], - 'variables': { - # This library uses native JNI exports; tell gyp so that the required - # symbols will be kept. - 'use_native_jni_exports': 1, - }, - 'sources': [ - '../android_webview/test/shell/src/draw_gl/draw_gl.cc', - ], - }, - # GN: //android_webview/test:libstandalonelibwebviewchromium - { - 'target_name': 'libstandalonelibwebviewchromium', - 'includes': [ - 'libwebviewchromium.gypi', - ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', - { - 'targets': [ - { - 'target_name': 'android_webview_test_apk_run', - 'type': 'none', - 'dependencies': [ - 'android_webview_test_apk', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'android_webview_test_apk.isolate', - ], - }, - { - 'target_name': 'android_webview_unittests_apk_run', - 'type': 'none', - 'dependencies': [ - 'android_webview_unittests_apk', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'android_webview_unittests_apk.isolate', - ], - }, - ] - } - ], - ] -} diff --git a/android_webview/apk/system_webview_apk_common.gypi b/android_webview/apk/system_webview_apk_common.gypi deleted file mode 100644 index b3966523b657b..0000000000000 --- a/android_webview/apk/system_webview_apk_common.gypi +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2014 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. -# -# When making changes remember that this is shared with the internal .apk -# build rules. -{ - 'type': 'none', - 'dependencies': [ - '<(DEPTH)/android_webview/android_webview.gyp:libwebviewchromium', - ], - 'variables': { - 'native_lib_target': 'libwebviewchromium', - 'native_lib_version_name': '<(version_full)', - 'shared_resources': 1, - 'extensions_to_not_compress': '.lpak,.pak,.bin,.dat', - 'asset_location': '<(INTERMEDIATE_DIR)/assets/', - 'snapshot_copy_files': '<(snapshot_copy_files)', - 'jinja_inputs': ['<(android_manifest_template_path)'], - 'jinja_output': '<(INTERMEDIATE_DIR)/AndroidManifest.xml', - 'jinja_variables': [ '<@(android_manifest_template_vars)' ], - 'android_manifest_template_vars': [ ], - 'android_manifest_template_path': '<(DEPTH)/android_webview/apk/java/AndroidManifest.xml', - 'android_manifest_path': '<(jinja_output)', - 'proguard_enabled': 'true', - 'proguard_flags_paths': ['<(DEPTH)/android_webview/apk/java/proguard.flags'], - # TODO: crbug.com/405035 Find a better solution for WebView .pak files. - 'additional_input_paths': [ - '<(asset_location)/webviewchromium.pak', - '<(asset_location)/webview_licenses.notice', - '<@(snapshot_additional_input_paths)', - ], - 'includes': [ - '../../build/util/version.gypi', - '../snapshot_copying.gypi', - ], - 'conditions': [ - ['icu_use_data_file_flag==1', { - 'additional_input_paths': [ - '<(asset_location)/icudtl.dat', - ], - }], - ], - }, - 'copies': [ - { - 'destination': '<(asset_location)', - 'files': [ - '<(webview_licenses_path)', - '<(webview_chromium_pak_path)', - '<@(snapshot_copy_files)', - ], - 'conditions': [ - ['icu_use_data_file_flag==1', { - 'files': [ - '<(PRODUCT_DIR)/icudtl.dat', - ], - }], - ], - }, - ], - 'includes': [ - 'system_webview_paks.gypi', - '../../build/java_apk.gypi', - '../../build/android/jinja_template.gypi', - ], -} diff --git a/android_webview/apk/system_webview_glue_common.gypi b/android_webview/apk/system_webview_glue_common.gypi deleted file mode 100644 index 829fe4eb2f4af..0000000000000 --- a/android_webview/apk/system_webview_glue_common.gypi +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 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 is shared between system_webview_glue_java and system_webview_glue_next_java -{ - 'type': 'none', - 'dependencies': [ - '<(DEPTH)/android_webview/android_webview.gyp:android_webview_java', - '<(DEPTH)/android_webview/android_webview.gyp:android_webview_pak', - ], - 'variables': { - 'resource_rewriter_package': 'com.android.webview.chromium', - 'resource_rewriter_dir': '<(intermediate_dir)/resource_rewriter', - 'resource_rewriter_path': '<(resource_rewriter_dir)/com/android/webview/chromium/ResourceRewriter.java', - 'additional_input_paths': ['<(resource_rewriter_path)'], - 'generated_src_dirs': ['<(resource_rewriter_dir)'], - }, - 'actions': [ - # Generate ResourceRewriter.java - { - 'action_name': 'generate_resource_rewriter', - 'message': 'generate ResourceRewriter for <(_target_name)', - 'inputs':[ - '<(DEPTH)/build/android/gyp/util/build_utils.py', - '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py', - '>@(dependencies_res_zip_paths)', - ], - 'outputs': [ - '<(resource_rewriter_path)', - ], - 'action': [ - 'python', '<(DEPTH)/build/android/gyp/generate_resource_rewriter.py', - '--package-name', '<(resource_rewriter_package)', - '--dep-packages', '>(additional_res_packages)', - '--output-dir', '<(resource_rewriter_dir)', - ], - }, - ], - 'includes': [ '../../build/java.gypi' ], -} diff --git a/android_webview/apk/system_webview_paks.gypi b/android_webview/apk/system_webview_paks.gypi deleted file mode 100644 index 931c5af11df73..0000000000000 --- a/android_webview/apk/system_webview_paks.gypi +++ /dev/null @@ -1,76 +0,0 @@ -# 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 the name of webviewchromium.pak and the set of locales that -# should be packed inside the System WebView apk, these files also are used in -# downstream. -# TODO: consider unifying this list with the one in chrome_android_paks.gypi -# once Chrome includes all the locales that the WebView needs. -{ - 'variables': { - 'webview_licenses_path': '<(PRODUCT_DIR)/android_webview_assets/webview_licenses.notice', - 'webview_chromium_pak_path': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak', - 'webview_locales_input_paks_folder': '<(PRODUCT_DIR)/android_webview_assets/locales/', - # The list of locale are only supported by WebView. - 'webview_locales_input_individual_paks': [ - '<(webview_locales_input_paks_folder)/bn.pak', - '<(webview_locales_input_paks_folder)/et.pak', - '<(webview_locales_input_paks_folder)/gu.pak', - '<(webview_locales_input_paks_folder)/kn.pak', - '<(webview_locales_input_paks_folder)/ml.pak', - '<(webview_locales_input_paks_folder)/mr.pak', - '<(webview_locales_input_paks_folder)/ms.pak', - '<(webview_locales_input_paks_folder)/ta.pak', - '<(webview_locales_input_paks_folder)/te.pak', - ], - # The list of locale are supported by chrome too. - 'webview_locales_input_common_paks': [ - '<(webview_locales_input_paks_folder)/am.pak', - '<(webview_locales_input_paks_folder)/ar.pak', - '<(webview_locales_input_paks_folder)/bg.pak', - '<(webview_locales_input_paks_folder)/ca.pak', - '<(webview_locales_input_paks_folder)/cs.pak', - '<(webview_locales_input_paks_folder)/da.pak', - '<(webview_locales_input_paks_folder)/de.pak', - '<(webview_locales_input_paks_folder)/el.pak', - '<(webview_locales_input_paks_folder)/en-GB.pak', - '<(webview_locales_input_paks_folder)/en-US.pak', - '<(webview_locales_input_paks_folder)/es.pak', - '<(webview_locales_input_paks_folder)/es-419.pak', - '<(webview_locales_input_paks_folder)/fa.pak', - '<(webview_locales_input_paks_folder)/fi.pak', - '<(webview_locales_input_paks_folder)/fil.pak', - '<(webview_locales_input_paks_folder)/fr.pak', - '<(webview_locales_input_paks_folder)/he.pak', - '<(webview_locales_input_paks_folder)/hi.pak', - '<(webview_locales_input_paks_folder)/hr.pak', - '<(webview_locales_input_paks_folder)/hu.pak', - '<(webview_locales_input_paks_folder)/id.pak', - '<(webview_locales_input_paks_folder)/it.pak', - '<(webview_locales_input_paks_folder)/ja.pak', - '<(webview_locales_input_paks_folder)/ko.pak', - '<(webview_locales_input_paks_folder)/lt.pak', - '<(webview_locales_input_paks_folder)/lv.pak', - '<(webview_locales_input_paks_folder)/nb.pak', - '<(webview_locales_input_paks_folder)/nl.pak', - '<(webview_locales_input_paks_folder)/pl.pak', - '<(webview_locales_input_paks_folder)/pt-BR.pak', - '<(webview_locales_input_paks_folder)/pt-PT.pak', - '<(webview_locales_input_paks_folder)/ro.pak', - '<(webview_locales_input_paks_folder)/ru.pak', - '<(webview_locales_input_paks_folder)/sk.pak', - '<(webview_locales_input_paks_folder)/sl.pak', - '<(webview_locales_input_paks_folder)/sr.pak', - '<(webview_locales_input_paks_folder)/sv.pak', - '<(webview_locales_input_paks_folder)/sw.pak', - '<(webview_locales_input_paks_folder)/th.pak', - '<(webview_locales_input_paks_folder)/tr.pak', - '<(webview_locales_input_paks_folder)/uk.pak', - '<(webview_locales_input_paks_folder)/vi.pak', - '<(webview_locales_input_paks_folder)/zh-CN.pak', - '<(webview_locales_input_paks_folder)/zh-TW.pak', - ], - }, -} - diff --git a/android_webview/libwebviewchromium.gypi b/android_webview/libwebviewchromium.gypi deleted file mode 100644 index d266cbbde3d59..0000000000000 --- a/android_webview/libwebviewchromium.gypi +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2014 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. -{ - 'type': 'shared_library', - 'android_unmangled_name': 1, - 'dependencies': [ - 'android_webview_common', - ], - 'variables': { - 'use_native_jni_exports': 1, - }, - 'sources': [ - 'lib/main/webview_entry_point.cc', - ], -} diff --git a/android_webview/native/webview_native.gyp b/android_webview/native/webview_native.gyp deleted file mode 100644 index 36198c538b3fd..0000000000000 --- a/android_webview/native/webview_native.gyp +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright (c) 2012 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. -{ - 'variables': { - 'chromium_code': 1, - 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', - }, - 'targets': [ - { - # GN version: //android_webview/native:native - 'target_name': 'webview_native', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base_static', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../cc/cc.gyp:cc', - '../../components/components.gyp:autofill_content_browser', - '../../components/components.gyp:web_contents_delegate_android', - '../../components/components_strings.gyp:components_strings', - '../../content/content.gyp:content_common', - '../../media/media.gyp:player_android', - '../../net/net.gyp:net', - '../../skia/skia.gyp:skia', - '../../storage/storage_browser.gyp:storage', - '../../storage/storage_common.gyp:storage_common', - '../../ui/base/ui_base.gyp:ui_base', - '../../ui/gfx/gfx.gyp:gfx', - '../../ui/gfx/gfx.gyp:gfx_geometry', - '../../third_party/boringssl/boringssl.gyp:boringssl', - 'android_webview_native_jni', - ], - 'include_dirs': [ - '../..', - '../../skia/config', - '../../third_party/protobuf/src', - '<(protoc_out_dir)', - ], - 'sources': [ - 'android_protocol_handler.cc', - 'android_protocol_handler.h', - 'android_webview_jni_registrar.cc', - 'android_webview_jni_registrar.h', - 'aw_autofill_client.cc', - 'aw_autofill_client.h', - 'aw_browser_dependency_factory.cc', - 'aw_browser_dependency_factory.h', - 'aw_contents.cc', - 'aw_contents.h', - 'aw_contents_background_thread_client.cc', - 'aw_contents_background_thread_client.h', - 'aw_contents_client_bridge.cc', - 'aw_contents_client_bridge.h', - 'aw_contents_io_thread_client_impl.cc', - 'aw_contents_io_thread_client_impl.h', - 'aw_contents_lifecycle_notifier.cc', - 'aw_contents_lifecycle_notifier.h', - 'aw_contents_statics.cc', - 'aw_contents_statics.h', - 'aw_debug.cc', - 'aw_debug.h', - 'aw_devtools_server.cc', - 'aw_devtools_server.h', - 'aw_form_database.cc', - 'aw_form_database.h', - 'aw_gl_functor.cc', - 'aw_gl_functor.h', - 'aw_http_auth_handler.cc', - 'aw_http_auth_handler.h', - 'aw_locale_manager_impl.cc', - 'aw_locale_manager_impl.h', - 'aw_media_url_interceptor.cc', - 'aw_media_url_interceptor.h', - 'aw_message_port_service_impl.cc', - 'aw_message_port_service_impl.h', - 'aw_metrics_switch.cc', - 'aw_metrics_switch.h', - 'aw_pdf_exporter.cc', - 'aw_pdf_exporter.h', - 'aw_picture.cc', - 'aw_picture.h', - 'aw_quota_manager_bridge_impl.cc', - 'aw_quota_manager_bridge_impl.h', - 'aw_resource.cc', - 'aw_settings.cc', - 'aw_settings.h', - 'aw_web_contents_delegate.cc', - 'aw_web_contents_delegate.h', - 'aw_web_contents_view_delegate.cc', - 'aw_web_contents_view_delegate.h', - 'aw_web_preferences_populater_impl.cc', - 'aw_web_preferences_populater_impl.h', - 'aw_web_resource_response_impl.cc', - 'aw_web_resource_response_impl.h', - 'cookie_manager.cc', - 'cookie_manager.h', - 'input_stream_impl.cc', - 'input_stream_impl.h', - 'java_browser_view_renderer_helper.cc', - 'java_browser_view_renderer_helper.h', - 'net_init_native_callback.cc', - 'permission/aw_permission_request.cc', - 'permission/aw_permission_request.h', - 'permission/aw_permission_request_delegate.cc', - 'permission/aw_permission_request_delegate.h', - 'permission/media_access_permission_request.cc', - 'permission/media_access_permission_request.h', - 'permission/permission_request_handler.cc', - 'permission/permission_request_handler.h', - 'permission/permission_request_handler_client.cc', - 'permission/permission_request_handler_client.h', - 'permission/simple_permission_request.cc', - 'permission/simple_permission_request.h', - 'state_serializer.cc', - 'state_serializer.h', - 'token_binding_manager_bridge.cc', - 'token_binding_manager_bridge.h', - ], - 'conditions': [ - ['video_hole==1', { - 'dependencies': [ - '../../components/components.gyp:external_video_surface', - ], - }], - ], - }, - { - # GN version: //android_webview/native:cancellation_signal_android_jar_jni_headers' - 'target_name': 'cancellation_signal_android_jar_jni_headers', - 'type': 'none', - 'variables': { - 'jni_gen_package': 'android_webview', - 'input_java_class': 'android/os/CancellationSignal.class', - }, - 'includes': [ '../../build/jar_file_jni_generator.gypi' ], - }, - { - # GN version: //android_webview/native:native_jni - 'target_name': 'android_webview_native_jni', - 'type': 'none', - 'sources': [ - '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java', - '../java/src/org/chromium/android_webview/AwAutofillClient.java', - '../java/src/org/chromium/android_webview/AwContents.java', - '../java/src/org/chromium/android_webview/AwContentsBackgroundThreadClient.java', - '../java/src/org/chromium/android_webview/AwContentsClientBridge.java', - '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java', - '../java/src/org/chromium/android_webview/AwContentsLifecycleNotifier.java', - '../java/src/org/chromium/android_webview/AwContentsStatics.java', - '../java/src/org/chromium/android_webview/AwCookieManager.java', - '../java/src/org/chromium/android_webview/AwDebug.java', - '../java/src/org/chromium/android_webview/AwDevToolsServer.java', - '../java/src/org/chromium/android_webview/AwFormDatabase.java', - '../java/src/org/chromium/android_webview/AwGLFunctor.java', - '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java', - '../java/src/org/chromium/android_webview/AwMessagePortService.java', - '../java/src/org/chromium/android_webview/AwMetricsServiceClient.java', - '../java/src/org/chromium/android_webview/AwPdfExporter.java', - '../java/src/org/chromium/android_webview/AwPicture.java', - '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java', - '../java/src/org/chromium/android_webview/AwResource.java', - '../java/src/org/chromium/android_webview/AwSettings.java', - '../java/src/org/chromium/android_webview/AwTokenBindingManager.java', - '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java', - '../java/src/org/chromium/android_webview/AwWebResourceResponse.java', - '../java/src/org/chromium/android_webview/InputStreamUtil.java', - '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java', - '../java/src/org/chromium/android_webview/permission/AwPermissionRequest.java', - ], - 'variables': { - 'jni_gen_package': 'android_webview', - }, - 'includes': [ '../../build/jni_generator.gypi' ], - 'dependencies': [ - 'cancellation_signal_android_jar_jni_headers', - ], - }, - # GN version: //android_webview/native:aw_permission_request_resource' - { - 'target_name': 'android_webview_aw_permission_request_resource', - 'type': 'none', - 'variables': { - 'source_file': 'permission/aw_permission_request.h', - }, - 'includes': [ '../../build/android/java_cpp_enum.gypi' ], - }, - ], -} diff --git a/android_webview/snapshot_copying.gypi b/android_webview/snapshot_copying.gypi deleted file mode 100644 index 01c6285a8e49a..0000000000000 --- a/android_webview/snapshot_copying.gypi +++ /dev/null @@ -1,28 +0,0 @@ -{ - 'variables': { - 'snapshot_additional_input_paths': [], - 'snapshot_copy_files': [], - 'conditions': [ - ['target_arch=="arm" or target_arch=="ia32" or target_arch=="mipsel"', { - 'snapshot_additional_input_paths': [ - '<(asset_location)/natives_blob_32.bin', - '<(asset_location)/snapshot_blob_32.bin', - ], - 'snapshot_copy_files': [ - '<(PRODUCT_DIR)/natives_blob_32.bin', - '<(PRODUCT_DIR)/snapshot_blob_32.bin', - ], - }], - ['target_arch=="arm64" or target_arch=="x64" or target_arch=="mips64el"', { - 'snapshot_additional_input_paths': [ - '<(asset_location)/natives_blob_64.bin', - '<(asset_location)/snapshot_blob_64.bin', - ], - 'snapshot_copy_files': [ - '<(PRODUCT_DIR)/natives_blob_64.bin', - '<(PRODUCT_DIR)/snapshot_blob_64.bin', - ], - }], - ], - }, -} diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp deleted file mode 100644 index a493baec721e9..0000000000000 --- a/base/allocator/allocator.gyp +++ /dev/null @@ -1,458 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'target_defaults': { - 'variables': { - # This code gets run a lot and debugged rarely, so it should be fast - # by default. See http://crbug.com/388949. - 'debug_optimize': '2', - 'win_debug_Optimization': '0', - # Run time checks are incompatible with any level of optimizations. - 'win_debug_RuntimeChecks': '0', - }, - }, - 'variables': { - 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', - 'use_vtable_verify%': 0, - # Provide a way to force disable debugallocation in Debug builds - # e.g. for profiling (it's more rare to profile Debug builds, - # but people sometimes need to do that). - 'disable_debugallocation%': 0, - }, - 'targets': [ - # The only targets that should depend on allocator are 'base' and - # executables that don't depend, directly or indirectly, on base (a few). - # All the other targets get a transitive dependency on this target via base. - { - 'target_name': 'allocator', - 'variables': { - 'conditions': [ - ['use_allocator!="none" or (OS=="win" and win_use_allocator_shim==1)', { - 'allocator_target_type%': 'static_library', - }, { - 'allocator_target_type%': 'none', - }], - ], - }, - 'type': '<(allocator_target_type)', - 'toolsets': ['host', 'target'], - 'conditions': [ - ['OS=="win" and win_use_allocator_shim==1', { - 'msvs_settings': { - # TODO(sgk): merge this with build/common.gypi settings - 'VCLibrarianTool': { - 'AdditionalOptions': ['/ignore:4006,4221'], - }, - 'VCLinkerTool': { - 'AdditionalOptions': ['/ignore:4006'], - }, - }, - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'allocator_shim_win.cc', - 'allocator_shim_win.h', - 'winheap_stubs_win.cc', - 'winheap_stubs_win.h', - ], - 'configurations': { - 'Debug_Base': { - 'msvs_settings': { - 'VCCLCompilerTool': { - 'RuntimeLibrary': '0', - }, - }, - }, - }, - }], # OS=="win" - ['use_allocator=="tcmalloc"', { - # Disable the heap checker in tcmalloc. - 'defines': [ - 'NO_HEAP_CHECK', - ], - 'dependencies': [ - '../third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - ], - # The order of this include_dirs matters, as tc-malloc has its own - # base/ mini-fork. Do not factor these out of this conditions section. - 'include_dirs': [ - '.', - '<(tcmalloc_dir)/src/base', - '<(tcmalloc_dir)/src', - '../..', - ], - 'sources': [ - # Generated for our configuration from tcmalloc's build - # and checked in. - '<(tcmalloc_dir)/src/config.h', - '<(tcmalloc_dir)/src/config_android.h', - '<(tcmalloc_dir)/src/config_linux.h', - '<(tcmalloc_dir)/src/config_win.h', - - # all tcmalloc native and forked files - '<(tcmalloc_dir)/src/addressmap-inl.h', - '<(tcmalloc_dir)/src/base/abort.cc', - '<(tcmalloc_dir)/src/base/abort.h', - '<(tcmalloc_dir)/src/base/arm_instruction_set_select.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-arm-generic.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-arm-v6plus.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-windows.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-x86.cc', - '<(tcmalloc_dir)/src/base/atomicops-internals-x86.h', - '<(tcmalloc_dir)/src/base/atomicops.h', - '<(tcmalloc_dir)/src/base/commandlineflags.h', - '<(tcmalloc_dir)/src/base/cycleclock.h', - # We don't list dynamic_annotations.c since its copy is already - # present in the dynamic_annotations target. - '<(tcmalloc_dir)/src/base/dynamic_annotations.h', - '<(tcmalloc_dir)/src/base/elf_mem_image.cc', - '<(tcmalloc_dir)/src/base/elf_mem_image.h', - '<(tcmalloc_dir)/src/base/elfcore.h', - '<(tcmalloc_dir)/src/base/googleinit.h', - '<(tcmalloc_dir)/src/base/linux_syscall_support.h', - '<(tcmalloc_dir)/src/base/linuxthreads.cc', - '<(tcmalloc_dir)/src/base/linuxthreads.h', - '<(tcmalloc_dir)/src/base/logging.cc', - '<(tcmalloc_dir)/src/base/logging.h', - '<(tcmalloc_dir)/src/base/low_level_alloc.cc', - '<(tcmalloc_dir)/src/base/low_level_alloc.h', - '<(tcmalloc_dir)/src/base/simple_mutex.h', - '<(tcmalloc_dir)/src/base/spinlock.cc', - '<(tcmalloc_dir)/src/base/spinlock.h', - '<(tcmalloc_dir)/src/base/spinlock_internal.cc', - '<(tcmalloc_dir)/src/base/spinlock_internal.h', - '<(tcmalloc_dir)/src/base/spinlock_linux-inl.h', - '<(tcmalloc_dir)/src/base/spinlock_posix-inl.h', - '<(tcmalloc_dir)/src/base/spinlock_win32-inl.h', - '<(tcmalloc_dir)/src/base/stl_allocator.h', - '<(tcmalloc_dir)/src/base/synchronization_profiling.h', - '<(tcmalloc_dir)/src/base/sysinfo.cc', - '<(tcmalloc_dir)/src/base/sysinfo.h', - '<(tcmalloc_dir)/src/base/thread_annotations.h', - '<(tcmalloc_dir)/src/base/thread_lister.c', - '<(tcmalloc_dir)/src/base/thread_lister.h', - '<(tcmalloc_dir)/src/base/vdso_support.cc', - '<(tcmalloc_dir)/src/base/vdso_support.h', - '<(tcmalloc_dir)/src/central_freelist.cc', - '<(tcmalloc_dir)/src/central_freelist.h', - '<(tcmalloc_dir)/src/common.cc', - '<(tcmalloc_dir)/src/common.h', - '<(tcmalloc_dir)/src/debugallocation.cc', - '<(tcmalloc_dir)/src/free_list.cc', - '<(tcmalloc_dir)/src/free_list.h', - '<(tcmalloc_dir)/src/getpc.h', - '<(tcmalloc_dir)/src/gperftools/heap-checker.h', - '<(tcmalloc_dir)/src/gperftools/heap-profiler.h', - '<(tcmalloc_dir)/src/gperftools/malloc_extension.h', - '<(tcmalloc_dir)/src/gperftools/malloc_extension_c.h', - '<(tcmalloc_dir)/src/gperftools/malloc_hook.h', - '<(tcmalloc_dir)/src/gperftools/malloc_hook_c.h', - '<(tcmalloc_dir)/src/gperftools/profiler.h', - '<(tcmalloc_dir)/src/gperftools/stacktrace.h', - '<(tcmalloc_dir)/src/gperftools/tcmalloc.h', - '<(tcmalloc_dir)/src/heap-checker-bcad.cc', - '<(tcmalloc_dir)/src/heap-checker.cc', - '<(tcmalloc_dir)/src/heap-profile-table.cc', - '<(tcmalloc_dir)/src/heap-profile-table.h', - '<(tcmalloc_dir)/src/heap-profiler.cc', - '<(tcmalloc_dir)/src/internal_logging.cc', - '<(tcmalloc_dir)/src/internal_logging.h', - '<(tcmalloc_dir)/src/libc_override.h', - '<(tcmalloc_dir)/src/libc_override_gcc_and_weak.h', - '<(tcmalloc_dir)/src/libc_override_glibc.h', - '<(tcmalloc_dir)/src/libc_override_osx.h', - '<(tcmalloc_dir)/src/libc_override_redefine.h', - '<(tcmalloc_dir)/src/linked_list.h', - '<(tcmalloc_dir)/src/malloc_extension.cc', - '<(tcmalloc_dir)/src/malloc_hook-inl.h', - '<(tcmalloc_dir)/src/malloc_hook.cc', - '<(tcmalloc_dir)/src/malloc_hook_mmap_freebsd.h', - '<(tcmalloc_dir)/src/malloc_hook_mmap_linux.h', - '<(tcmalloc_dir)/src/maybe_threads.cc', - '<(tcmalloc_dir)/src/maybe_threads.h', - '<(tcmalloc_dir)/src/memfs_malloc.cc', - '<(tcmalloc_dir)/src/memory_region_map.cc', - '<(tcmalloc_dir)/src/memory_region_map.h', - '<(tcmalloc_dir)/src/packed-cache-inl.h', - '<(tcmalloc_dir)/src/page_heap.cc', - '<(tcmalloc_dir)/src/page_heap.h', - '<(tcmalloc_dir)/src/page_heap_allocator.h', - '<(tcmalloc_dir)/src/pagemap.h', - '<(tcmalloc_dir)/src/profile-handler.cc', - '<(tcmalloc_dir)/src/profile-handler.h', - '<(tcmalloc_dir)/src/profiledata.cc', - '<(tcmalloc_dir)/src/profiledata.h', - '<(tcmalloc_dir)/src/profiler.cc', - '<(tcmalloc_dir)/src/raw_printer.cc', - '<(tcmalloc_dir)/src/raw_printer.h', - '<(tcmalloc_dir)/src/sampler.cc', - '<(tcmalloc_dir)/src/sampler.h', - '<(tcmalloc_dir)/src/span.cc', - '<(tcmalloc_dir)/src/span.h', - '<(tcmalloc_dir)/src/stack_trace_table.cc', - '<(tcmalloc_dir)/src/stack_trace_table.h', - '<(tcmalloc_dir)/src/stacktrace.cc', - '<(tcmalloc_dir)/src/stacktrace_arm-inl.h', - '<(tcmalloc_dir)/src/stacktrace_config.h', - '<(tcmalloc_dir)/src/stacktrace_generic-inl.h', - '<(tcmalloc_dir)/src/stacktrace_libunwind-inl.h', - '<(tcmalloc_dir)/src/stacktrace_powerpc-inl.h', - '<(tcmalloc_dir)/src/stacktrace_win32-inl.h', - '<(tcmalloc_dir)/src/stacktrace_with_context.cc', - '<(tcmalloc_dir)/src/stacktrace_x86-inl.h', - '<(tcmalloc_dir)/src/static_vars.cc', - '<(tcmalloc_dir)/src/static_vars.h', - '<(tcmalloc_dir)/src/symbolize.cc', - '<(tcmalloc_dir)/src/symbolize.h', - '<(tcmalloc_dir)/src/system-alloc.cc', - '<(tcmalloc_dir)/src/system-alloc.h', - '<(tcmalloc_dir)/src/tcmalloc.cc', - '<(tcmalloc_dir)/src/tcmalloc_guard.h', - '<(tcmalloc_dir)/src/thread_cache.cc', - '<(tcmalloc_dir)/src/thread_cache.h', - - 'debugallocation_shim.cc', - ], - # sources! means that these are not compiled directly. - 'sources!': [ - # We simply don't use these, but list them above so that IDE - # users can view the full available source for reference, etc. - '<(tcmalloc_dir)/src/addressmap-inl.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-linuxppc.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-macosx.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-x86-msvc.h', - '<(tcmalloc_dir)/src/base/atomicops-internals-x86.h', - '<(tcmalloc_dir)/src/base/atomicops.h', - '<(tcmalloc_dir)/src/base/commandlineflags.h', - '<(tcmalloc_dir)/src/base/cycleclock.h', - '<(tcmalloc_dir)/src/base/elf_mem_image.h', - '<(tcmalloc_dir)/src/base/elfcore.h', - '<(tcmalloc_dir)/src/base/googleinit.h', - '<(tcmalloc_dir)/src/base/linux_syscall_support.h', - '<(tcmalloc_dir)/src/base/simple_mutex.h', - '<(tcmalloc_dir)/src/base/spinlock_linux-inl.h', - '<(tcmalloc_dir)/src/base/spinlock_posix-inl.h', - '<(tcmalloc_dir)/src/base/spinlock_win32-inl.h', - '<(tcmalloc_dir)/src/base/stl_allocator.h', - '<(tcmalloc_dir)/src/base/thread_annotations.h', - '<(tcmalloc_dir)/src/getpc.h', - '<(tcmalloc_dir)/src/gperftools/heap-checker.h', - '<(tcmalloc_dir)/src/gperftools/heap-profiler.h', - '<(tcmalloc_dir)/src/gperftools/malloc_extension.h', - '<(tcmalloc_dir)/src/gperftools/malloc_extension_c.h', - '<(tcmalloc_dir)/src/gperftools/malloc_hook.h', - '<(tcmalloc_dir)/src/gperftools/malloc_hook_c.h', - '<(tcmalloc_dir)/src/gperftools/profiler.h', - '<(tcmalloc_dir)/src/gperftools/stacktrace.h', - '<(tcmalloc_dir)/src/gperftools/tcmalloc.h', - '<(tcmalloc_dir)/src/heap-checker-bcad.cc', - '<(tcmalloc_dir)/src/heap-checker.cc', - '<(tcmalloc_dir)/src/libc_override.h', - '<(tcmalloc_dir)/src/libc_override_gcc_and_weak.h', - '<(tcmalloc_dir)/src/libc_override_glibc.h', - '<(tcmalloc_dir)/src/libc_override_osx.h', - '<(tcmalloc_dir)/src/libc_override_redefine.h', - '<(tcmalloc_dir)/src/malloc_hook_mmap_freebsd.h', - '<(tcmalloc_dir)/src/malloc_hook_mmap_linux.h', - '<(tcmalloc_dir)/src/memfs_malloc.cc', - '<(tcmalloc_dir)/src/packed-cache-inl.h', - '<(tcmalloc_dir)/src/page_heap_allocator.h', - '<(tcmalloc_dir)/src/pagemap.h', - '<(tcmalloc_dir)/src/stacktrace_arm-inl.h', - '<(tcmalloc_dir)/src/stacktrace_config.h', - '<(tcmalloc_dir)/src/stacktrace_generic-inl.h', - '<(tcmalloc_dir)/src/stacktrace_libunwind-inl.h', - '<(tcmalloc_dir)/src/stacktrace_powerpc-inl.h', - '<(tcmalloc_dir)/src/stacktrace_win32-inl.h', - '<(tcmalloc_dir)/src/stacktrace_with_context.cc', - '<(tcmalloc_dir)/src/stacktrace_x86-inl.h', - '<(tcmalloc_dir)/src/tcmalloc_guard.h', - - # Included by debugallocation_shim.cc. - '<(tcmalloc_dir)/src/debugallocation.cc', - '<(tcmalloc_dir)/src/tcmalloc.cc', - ], - 'variables': { - 'clang_warning_flags': [ - # tcmalloc initializes some fields in the wrong order. - '-Wno-reorder', - # tcmalloc contains some unused local template specializations. - '-Wno-unused-function', - # tcmalloc uses COMPILE_ASSERT without static_assert but with - # typedefs. - '-Wno-unused-local-typedefs', - # for magic2_ in debugallocation.cc (only built in Debug builds) - # typedefs. - '-Wno-unused-private-field', - ], - }, - 'conditions': [ - ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', { - 'sources!': [ - '<(tcmalloc_dir)/src/system-alloc.h', - ], - # We enable all warnings by default, but upstream disables a few. - # Keep "-Wno-*" flags in sync with upstream by comparing against: - # http://code.google.com/p/google-perftools/source/browse/trunk/Makefile.am - 'cflags': [ - '-Wno-sign-compare', - '-Wno-unused-result', - ], - 'link_settings': { - 'ldflags': [ - # Don't let linker rip this symbol out, otherwise the heap&cpu - # profilers will not initialize properly on startup. - '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', - # Do the same for heap leak checker. - '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi', - '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl', - '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv', - ], - }, - # Compiling tcmalloc with -fvisibility=default is only necessary when - # not using the allocator shim, which provides the correct visibility - # annotations for those symbols which need to be exported (see - # //base/allocator/allocator_shim_override_glibc_weak_symbols.h and - # //base/allocator/allocator_shim_internals.h for the definition of - # SHIM_ALWAYS_EXPORT). - 'conditions': [ - ['use_experimental_allocator_shim==0', { - 'cflags!': [ - '-fvisibility=hidden', - ], - }], - ], - }], - ['profiling!=1', { - 'sources!': [ - # cpuprofiler - '<(tcmalloc_dir)/src/base/thread_lister.c', - '<(tcmalloc_dir)/src/base/thread_lister.h', - '<(tcmalloc_dir)/src/profile-handler.cc', - '<(tcmalloc_dir)/src/profile-handler.h', - '<(tcmalloc_dir)/src/profiledata.cc', - '<(tcmalloc_dir)/src/profiledata.h', - '<(tcmalloc_dir)/src/profiler.cc', - ], - }], - ['use_experimental_allocator_shim==1', { - 'defines': [ - 'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC', - ], - }] - ], - 'configurations': { - 'Debug_Base': { - 'conditions': [ - ['disable_debugallocation==0', { - 'defines': [ - # Use debugallocation for Debug builds to catch problems - # early and cleanly, http://crbug.com/30715 . - 'TCMALLOC_FOR_DEBUGALLOCATION', - ], - }], - ], - }, - }, - }], # use_allocator=="tcmalloc - # For CrOS builds with vtable verification. According to the author of - # crrev.com/10854031 this is used in conjuction with some other CrOS - # build flag, to enable verification of any allocator that uses virtual - # function calls. - ['use_vtable_verify==1', { - 'cflags': [ - '-fvtable-verify=preinit', - ], - }], - ['order_profiling != 0', { - 'target_conditions' : [ - ['_toolset=="target"', { - 'cflags!': [ '-finstrument-functions' ], - }], - ], - }], - ], # conditions of 'allocator' target. - }, # 'allocator' target. - { - # GN: //base/allocator:features - # When referenced from a target that might be compiled in the host - # toolchain, always refer to 'allocator_features#target'. - 'target_name': 'allocator_features', - 'includes': [ '../../build/buildflag_header.gypi' ], - 'variables': { - 'buildflag_header_path': 'base/allocator/features.h', - 'buildflag_flags': [ - 'USE_EXPERIMENTAL_ALLOCATOR_SHIM=<(use_experimental_allocator_shim)', - ], - 'conditions': [ - ['<(use_experimental_allocator_shim) or <(win_use_allocator_shim)', - {'buildflag_flags': [ 'ENABLE_WIN_ALLOCATOR_SHIM_TESTS=1' ],}, - {'buildflag_flags': [ 'ENABLE_WIN_ALLOCATOR_SHIM_TESTS=0' ],} - ], - ], - }, - }, # 'allocator_features' target. - ], # targets. - 'conditions': [ - ['use_experimental_allocator_shim==1', { - 'targets': [ - { - # GN: //base/allocator:unified_allocator_shim - 'target_name': 'unified_allocator_shim', - 'toolsets': ['host', 'target'], - 'type': 'static_library', - 'defines': [ 'BASE_IMPLEMENTATION' ], - 'sources': [ - 'allocator_shim.cc', - 'allocator_shim.h', - 'allocator_shim_internals.h', - 'allocator_shim_override_cpp_symbols.h', - 'allocator_shim_override_libc_symbols.h', - ], - 'include_dirs': [ - '../..', - ], - 'conditions': [ - ['OS=="linux" and use_allocator=="tcmalloc"', { - 'sources': [ - 'allocator_shim_default_dispatch_to_tcmalloc.cc', - 'allocator_shim_override_glibc_weak_symbols.h', - ], - }], - ['use_allocator=="none" and (OS=="linux" or (OS=="android" and _toolset == "host" and host_os == "linux"))', { - 'sources': [ - 'allocator_shim_default_dispatch_to_glibc.cc', - ], - }], - ['OS=="android" and _toolset == "target"', { - 'sources': [ - 'allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc', - 'allocator_shim_override_linker_wrapped_symbols.h', - ], - # On Android all references to malloc & friends symbols are - # rewritten, at link time, and routed to the shim. - # See //base/allocator/README.md. - 'all_dependent_settings': { - 'ldflags': [ - '-Wl,-wrap,calloc', - '-Wl,-wrap,free', - '-Wl,-wrap,malloc', - '-Wl,-wrap,memalign', - '-Wl,-wrap,posix_memalign', - '-Wl,-wrap,pvalloc', - '-Wl,-wrap,realloc', - '-Wl,-wrap,valloc', - ], - }, - }], - ] - }, # 'unified_allocator_shim' target. - ], - }] - ], -} diff --git a/base/android/jni_generator/jni_generator.gyp b/base/android/jni_generator/jni_generator.gyp deleted file mode 100644 index ce936a0ec4cbd..0000000000000 --- a/base/android/jni_generator/jni_generator.gyp +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - # GYP: //base/android/jni_generator:jni_generator_tests - { - 'target_name': 'jni_generator_py_tests', - 'type': 'none', - 'variables': { - 'stamp': '<(INTERMEDIATE_DIR)/jni_generator_py_tests.stamp', - }, - 'actions': [ - { - 'action_name': 'run_jni_generator_py_tests', - 'inputs': [ - 'jni_generator.py', - 'jni_generator_tests.py', - 'java/src/org/chromium/example/jni_generator/SampleForTests.java', - 'golden_sample_for_tests_jni.h', - ], - 'outputs': [ - '<(stamp)', - ], - 'action': [ - 'python', 'jni_generator_tests.py', - '--stamp=<(stamp)', - ], - }, - ], - }, - # GYP: //base/android/jni_generator:jni_sample_header - { - 'target_name': 'jni_sample_header', - 'type': 'none', - 'sources': [ - 'java/src/org/chromium/example/jni_generator/SampleForTests.java', - ], - 'variables': { - 'jni_gen_package': 'example', - }, - 'includes': [ '../../../build/jni_generator.gypi' ], - }, - # GYP: //base/android/jni_generator:jni_sample_java - { - 'target_name': 'jni_sample_java', - 'type': 'none', - 'variables': { - 'java_in_dir': '../../../base/android/jni_generator/java', - }, - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base_java', - ], - 'includes': [ '../../../build/java.gypi' ], - }, - # GYP: //base/android/jni_generator:jni_generator_tests - { - 'target_name': 'jni_generator_tests', - 'type': 'executable', - 'dependencies': [ - '../../base.gyp:test_support_base', - 'jni_generator_py_tests', - 'jni_sample_header', - 'jni_sample_java', - ], - 'sources': [ - 'sample_for_tests.cc', - ], - }, - ], -} diff --git a/base/third_party/dynamic_annotations/dynamic_annotations.gyp b/base/third_party/dynamic_annotations/dynamic_annotations.gyp deleted file mode 100644 index 8d2e9ec96c5f5..0000000000000 --- a/base/third_party/dynamic_annotations/dynamic_annotations.gyp +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'targets': [ - { - 'target_name': 'dynamic_annotations', - 'type': 'static_library', - 'toolsets': ['host', 'target'], - 'include_dirs': [ - '../../../', - ], - 'sources': [ - '../valgrind/valgrind.h', - 'dynamic_annotations.c', - 'dynamic_annotations.h', - ], - 'includes': [ - '../../../build/android/increase_size_for_speed.gypi', - ], - }, - ], - 'conditions': [ - ['OS == "win" and target_arch=="ia32"', { - 'targets': [ - { - 'target_name': 'dynamic_annotations_win64', - 'type': 'static_library', - # We can't use dynamic_annotations target for win64 build since it is - # a 32-bit library. - # TODO(gregoryd): merge with dynamic_annotations when - # the win32/64 targets are merged. - 'include_dirs': [ - '../../../', - ], - 'sources': [ - 'dynamic_annotations.c', - 'dynamic_annotations.h', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, - ], - }], - ], -} diff --git a/base/third_party/libevent/libevent.gyp b/base/third_party/libevent/libevent.gyp deleted file mode 100644 index 581aa892a803e..0000000000000 --- a/base/third_party/libevent/libevent.gyp +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'libevent', - 'product_name': 'event', - 'type': 'static_library', - 'toolsets': ['host', 'target'], - 'sources': [ - 'buffer.c', - 'evbuffer.c', - 'evdns.c', - 'event.c', - 'event_tagging.c', - 'evrpc.c', - 'evutil.c', - 'http.c', - 'log.c', - 'poll.c', - 'select.c', - 'signal.c', - 'strlcpy.c', - ], - 'defines': [ - 'HAVE_CONFIG_H', - ], - 'include_dirs': [ - '../../..', - ], - 'conditions': [ - # libevent has platform-specific implementation files. Since its - # native build uses autoconf, platform-specific config.h files are - # provided and live in platform-specific directories. - [ 'OS == "linux" or (OS == "android" and _toolset == "host")', { - 'sources': [ 'epoll.c' ], - 'include_dirs': [ 'linux' ], - 'link_settings': { - 'libraries': [ - # We need rt for clock_gettime(). - # TODO(port) Maybe on FreeBSD as well? - '-lrt', - ], - }, - }], - [ 'OS == "android" and _toolset == "target"', { - # On android, clock_gettime() is in libc.so, so no need to link librt. - 'sources': [ 'epoll.c' ], - 'include_dirs': [ 'android' ], - }], - [ 'OS == "mac" or OS == "ios" or os_bsd==1', { - 'sources': [ 'kqueue.c' ], - 'include_dirs': [ 'mac' ] - }], - [ 'OS == "solaris"', { - 'sources': [ 'devpoll.c', 'evport.c' ], - 'include_dirs': [ 'solaris' ] - }], - ], - }, - ], -} diff --git a/base/third_party/libevent/libevent_nacl_nonsfi.gyp b/base/third_party/libevent/libevent_nacl_nonsfi.gyp deleted file mode 100644 index 91e2557b765da..0000000000000 --- a/base/third_party/libevent/libevent_nacl_nonsfi.gyp +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - '../../../build/common_untrusted.gypi', - ], - 'conditions': [ - ['disable_nacl==0 and disable_nacl_untrusted==0', { - 'targets': [ - { - 'target_name': 'event_nacl_nonsfi', - 'type': 'none', - 'sources': [ - 'buffer.c', - 'evbuffer.c', - 'event.c', - 'evutil.c', - 'log.c', - 'poll.c', - 'strlcpy.c', - 'nacl_nonsfi/config.h', - 'nacl_nonsfi/event-config.h', - 'nacl_nonsfi/random.c', - 'nacl_nonsfi/signal_stub.c', - ], - 'defines': [ - 'HAVE_CONFIG_H', - ], - 'include_dirs': [ - 'nacl_nonsfi', - ], - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'libevent_nacl_nonsfi.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_irt': 0, - 'build_pnacl_newlib': 0, - 'build_nonsfi_helper': 1, - }, - }, - ], - }], - ], -} diff --git a/base/trace_event/etw_manifest/etw_manifest.gyp b/base/trace_event/etw_manifest/etw_manifest.gyp deleted file mode 100644 index b2f0eb8ea11aa..0000000000000 --- a/base/trace_event/etw_manifest/etw_manifest.gyp +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 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. -{ - 'targets': [ - { - # GN version: //base/trace_event/etw_manifest/BUILD.gn - 'target_name': 'etw_manifest', - 'type': 'none', - 'toolsets': ['host', 'target'], - 'hard_dependency': 1, - 'conditions': [ - ['OS=="win"', { - 'sources': [ - 'chrome_events_win.man', - ], - 'variables': { - 'man_output_dir': '<(SHARED_INTERMEDIATE_DIR)/base/trace_event/etw_manifest', - }, - 'rules': [{ - # Rule to run the message compiler. - 'rule_name': 'message_compiler', - 'extension': 'man', - 'outputs': [ - '<(man_output_dir)/chrome_events_win.h', - '<(man_output_dir)/chrome_events_win.rc', - ], - 'action': [ - 'mc.exe', - '-h', '<(man_output_dir)', - '-r', '<(man_output_dir)/.', - '-um', - '<(RULE_INPUT_PATH)', - ], - 'message': 'Running message compiler on <(RULE_INPUT_PATH)', - }], - }], - ], - } - ] -} diff --git a/base/trace_event/trace_event.gypi b/base/trace_event/trace_event.gypi deleted file mode 100644 index f915780de5f90..0000000000000 --- a/base/trace_event/trace_event.gypi +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 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. -{ - 'variables': { - 'trace_event_sources' : [ - 'trace_event/blame_context.cc', - 'trace_event/blame_context.h', - 'trace_event/common/trace_event_common.h', - 'trace_event/heap_profiler.h', - 'trace_event/heap_profiler_allocation_context.cc', - 'trace_event/heap_profiler_allocation_context.h', - 'trace_event/heap_profiler_allocation_context_tracker.cc', - 'trace_event/heap_profiler_allocation_context_tracker.h', - 'trace_event/heap_profiler_allocation_register.cc', - 'trace_event/heap_profiler_allocation_register_posix.cc', - 'trace_event/heap_profiler_allocation_register_win.cc', - 'trace_event/heap_profiler_allocation_register.h', - 'trace_event/heap_profiler_heap_dump_writer.cc', - 'trace_event/heap_profiler_heap_dump_writer.h', - 'trace_event/heap_profiler_stack_frame_deduplicator.cc', - 'trace_event/heap_profiler_stack_frame_deduplicator.h', - 'trace_event/heap_profiler_type_name_deduplicator.cc', - 'trace_event/heap_profiler_type_name_deduplicator.h', - 'trace_event/java_heap_dump_provider_android.cc', - 'trace_event/java_heap_dump_provider_android.h', - 'trace_event/memory_allocator_dump.cc', - 'trace_event/memory_allocator_dump.h', - 'trace_event/memory_allocator_dump_guid.cc', - 'trace_event/memory_allocator_dump_guid.h', - 'trace_event/memory_dump_manager.cc', - 'trace_event/memory_dump_manager.h', - 'trace_event/memory_dump_provider.h', - 'trace_event/memory_dump_request_args.cc', - 'trace_event/memory_dump_request_args.h', - 'trace_event/memory_dump_session_state.cc', - 'trace_event/memory_dump_session_state.h', - 'trace_event/memory_infra_background_whitelist.cc', - 'trace_event/memory_infra_background_whitelist.h', - 'trace_event/process_memory_dump.cc', - 'trace_event/process_memory_dump.h', - 'trace_event/process_memory_maps.cc', - 'trace_event/process_memory_maps.h', - 'trace_event/process_memory_totals.cc', - 'trace_event/process_memory_totals.h', - 'trace_event/trace_buffer.cc', - 'trace_event/trace_buffer.h', - 'trace_event/trace_config.cc', - 'trace_event/trace_config.h', - 'trace_event/trace_event.h', - 'trace_event/trace_event_android.cc', - 'trace_event/trace_event_argument.cc', - 'trace_event/trace_event_argument.h', - 'trace_event/trace_event_etw_export_win.cc', - 'trace_event/trace_event_etw_export_win.h', - 'trace_event/trace_event_impl.cc', - 'trace_event/trace_event_impl.h', - 'trace_event/trace_event_memory_overhead.cc', - 'trace_event/trace_event_memory_overhead.h', - 'trace_event/trace_event_synthetic_delay.cc', - 'trace_event/trace_event_synthetic_delay.h', - 'trace_event/trace_event_system_stats_monitor.cc', - 'trace_event/trace_event_system_stats_monitor.h', - 'trace_event/trace_log.cc', - 'trace_event/trace_log.h', - 'trace_event/trace_log_constants.cc', - 'trace_event/trace_sampling_thread.cc', - 'trace_event/trace_sampling_thread.h', - 'trace_event/tracing_agent.cc', - 'trace_event/tracing_agent.h', - 'trace_event/winheap_dump_provider_win.cc', - 'trace_event/winheap_dump_provider_win.h', - ], - 'trace_event_test_sources' : [ - 'trace_event/blame_context_unittest.cc', - 'trace_event/heap_profiler_allocation_context_tracker_unittest.cc', - 'trace_event/heap_profiler_allocation_register_unittest.cc', - 'trace_event/heap_profiler_heap_dump_writer_unittest.cc', - 'trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc', - 'trace_event/heap_profiler_type_name_deduplicator_unittest.cc', - 'trace_event/java_heap_dump_provider_android_unittest.cc', - 'trace_event/memory_allocator_dump_unittest.cc', - 'trace_event/memory_dump_manager_unittest.cc', - 'trace_event/process_memory_dump_unittest.cc', - 'trace_event/trace_config_memory_test_util.h', - 'trace_event/trace_config_unittest.cc', - 'trace_event/trace_event_argument_unittest.cc', - 'trace_event/trace_event_synthetic_delay_unittest.cc', - 'trace_event/trace_event_system_stats_monitor_unittest.cc', - 'trace_event/trace_event_unittest.cc', - 'trace_event/winheap_dump_provider_win_unittest.cc', - ], - 'conditions': [ - ['OS == "linux" or OS=="android" or OS=="mac" or OS=="ios"', { - 'trace_event_sources': [ - 'trace_event/malloc_dump_provider.cc', - 'trace_event/malloc_dump_provider.h', - ], - }], - ['OS == "android"', { - 'trace_event_test_sources' : [ - 'trace_event/trace_event_android_unittest.cc', - ], - }], - ], - }, -} diff --git a/chromeos/chromeos_tools.gypi b/chromeos/chromeos_tools.gypi deleted file mode 100644 index b634240b85db4..0000000000000 --- a/chromeos/chromeos_tools.gypi +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2013 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. - -{ - 'targets' : [ - { - 'target_name': 'onc_validator', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'chromeos.gyp:chromeos', - ], - 'sources': [ - 'tools/onc_validator/onc_validator.cc', - ], - }, - ], -} diff --git a/chromeos/ime/input_method.gyp b/chromeos/ime/input_method.gyp deleted file mode 100644 index 1da130ef28920..0000000000000 --- a/chromeos/ime/input_method.gyp +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'input_method_out_dir': - '<(SHARED_INTERMEDIATE_DIR)/chromeos/ime', - }, - 'targets': [ - { - 'target_name': 'gencode', - 'type': 'none', - 'actions': [ - { - 'inputs': [ - 'input_methods.txt', - 'gen_input_methods.py', - ], - 'outputs': [ - '<(input_method_out_dir)/input_methods.h', - ], - 'action_name': 'gen_input_methods', - 'action': [ - 'python', - 'gen_input_methods.py', - 'input_methods.txt', - '<(input_method_out_dir)/input_methods.h', - ], - 'message': 'Generating input_methods.h', - }, - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)', - ], - }, - }, - ] -} diff --git a/components/physical_web.gypi b/components/physical_web.gypi deleted file mode 100644 index eb9e971c1952a..0000000000000 --- a/components/physical_web.gypi +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2016 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. - -{ - 'targets': [ - { - # GN version: //components/physical_web/data_source - 'target_name': 'physical_web_data_source', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - ], - 'sources': [ - # Note: sources list duplicated in GN build. - 'physical_web/data_source/physical_web_data_source.h', - ], - }, - { - # GN version: //components/physical_web/webui - 'target_name': 'physical_web_ui', - 'type': 'static_library', - 'sources': [ - # Note: sources list duplicated in GN build. - 'physical_web/webui/physical_web_ui_constants.cc', - 'physical_web/webui/physical_web_ui_constants.h', - ], - }, - ], -} diff --git a/content/content_browser.gypi b/content/content_browser.gypi deleted file mode 100644 index 360e007ebd232..0000000000000 --- a/content/content_browser.gypi +++ /dev/null @@ -1,2123 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'dependencies': [ - '../base/base.gyp:base_static', - '../cc/cc.gyp:cc', - '../cc/cc.gyp:cc_surfaces', - '../components/components.gyp:display_compositor', - '../components/components.gyp:memory_coordinator_browser', - '../components/leveldb/leveldb.gyp:leveldb_lib', - '../components/link_header_util/link_header_util.gyp:link_header_util', - '../components/mime_util/mime_util.gyp:mime_util', - '../components/url_formatter/url_formatter.gyp:url_formatter', - '../crypto/crypto.gyp:crypto', - '../device/battery/battery.gyp:device_battery', - '../device/battery/battery.gyp:device_battery_mojo_bindings', - '../device/bluetooth/bluetooth.gyp:device_bluetooth', - '../device/gamepad/gamepad.gyp:device_gamepad', - '../device/usb/usb.gyp:device_usb', - '../device/power_save_blocker/power_save_blocker.gyp:device_power_save_blocker', - '../device/vibration/vibration.gyp:device_vibration', - '../device/vibration/vibration.gyp:device_vibration_mojo_bindings', - '../gin/gin.gyp:gin', - '../google_apis/google_apis.gyp:google_apis', - '../gpu/gpu.gyp:gpu', - '../gpu/gpu.gyp:gpu_ipc_client', - '../gpu/gpu.gyp:gpu_ipc_common', - '../media/mojo/interfaces/mojo_bindings.gyp:image_capture_mojo_bindings', - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - '../mojo/mojo_public.gyp:mojo_js_bindings', - '../mojo/mojo_public.gyp:mojo_message_pump_lib', - '../net/net.gyp:http_server', - '../net/net.gyp:net', - '../net/net.gyp:net_extras', - '../sandbox/sandbox.gyp:sandbox', - '../services/shell/shell.gyp:shell_lib', - '../services/shell/shell.gyp:shell_runner_common_lib', - '../services/shell/shell.gyp:shell_runner_host_lib', - '../services/shell/shell_public.gyp:shell_public', - '../services/tracing/tracing.gyp:tracing_lib', - '../services/tracing/tracing.gyp:tracing_public', - '../services/user/user.gyp:user_service_lib', - '../services/user/user.gyp:user_service_public_lib', - '../skia/skia.gyp:skia', - '../skia/skia.gyp:skia_mojo', - '../sql/sql.gyp:sql', - '../storage/storage_browser.gyp:storage', - '../storage/storage_common.gyp:storage_common', - '../third_party/angle/src/angle.gyp:commit_id', - '../third_party/kasko/kasko.gyp:kasko_features', - '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', - '../third_party/libyuv/libyuv.gyp:libyuv', - '../third_party/re2/re2.gyp:re2', - '../third_party/zlib/google/zip.gyp:zip', - '../third_party/zlib/zlib.gyp:zlib', - '../third_party/WebKit/public/blink.gyp:mojo_bindings', - '../third_party/WebKit/public/blink_headers.gyp:blink_headers', - '../ui/accessibility/accessibility.gyp:accessibility', - '../ui/accessibility/accessibility.gyp:ax_gen', - '../ui/base/ui_base.gyp:ui_base', - '../ui/base/ime/ui_base_ime.gyp:ui_base_ime', - '../ui/display/display.gyp:display', - '../ui/events/blink/events_blink.gyp:events_blink', - '../ui/events/events.gyp:events', - '../ui/events/events.gyp:events_base', - '../ui/events/events.gyp:gesture_detection', - '../ui/gfx/gfx.gyp:gfx', - '../ui/gfx/gfx.gyp:gfx_geometry', - '../ui/gfx/gfx.gyp:gfx_range', - '../ui/gfx/gfx.gyp:mojo_geometry_bindings', - '../ui/resources/ui_resources.gyp:ui_resources', - '../ui/snapshot/snapshot.gyp:snapshot', - '../ui/surface/surface.gyp:surface', - '../ui/touch_selection/ui_touch_selection.gyp:ui_touch_selection', - '../url/ipc/url_ipc.gyp:url_ipc', - 'app/resources/content_resources.gyp:content_resources', - 'app/strings/content_strings.gyp:content_strings', - 'browser/background_sync/background_sync_proto.gyp:background_sync_proto', - 'browser/cache_storage/cache_storage_proto.gyp:cache_storage_proto', - 'browser/devtools/devtools_resources.gyp:devtools_resources', - 'browser/devtools/devtools.gyp:devtools_protocol_handler', - 'browser/notifications/notification_proto.gyp:notification_proto', - 'browser/service_worker/service_worker_proto.gyp:service_worker_proto', - 'browser/speech/proto/speech_proto.gyp:speech_proto', - 'content_common_mojo_bindings.gyp:content_common_mojo_bindings', - ], - 'export_dependent_settings': [ - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - '../ui/accessibility/accessibility.gyp:ax_gen', - # The public content API headers directly include Blink API headers, so we - # have to export the blink header settings so that relative paths in these - # headers resolve correctly. - '../third_party/WebKit/public/blink_headers.gyp:blink_headers', - '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', - # The public render_widget_host.h needs to re-export skia defines. - '../skia/skia.gyp:skia', - 'content_common_mojo_bindings.gyp:content_common_mojo_bindings', - ], - 'include_dirs': [ - '..', - '<(INTERMEDIATE_DIR)', - ], - 'variables': { - 'public_browser_sources': [ - 'public/browser/android/browser_media_player_manager_register.cc', - 'public/browser/android/browser_media_player_manager_register.h', - 'public/browser/android/compositor.h', - 'public/browser/android/compositor_client.h', - 'public/browser/android/content_protocol_handler.h', - 'public/browser/android/content_view_core.h', - 'public/browser/android/content_view_layer_renderer.h', - 'public/browser/android/devtools_auth.h', - 'public/browser/android/external_video_surface_container.h', - 'public/browser/android/interface_provider_android.h', - 'public/browser/android/interface_registry_android.h', - 'public/browser/android/synchronous_compositor.cc', - 'public/browser/android/synchronous_compositor.h', - 'public/browser/android/synchronous_compositor_client.h', - 'public/browser/appcache_service.h', - 'public/browser/ax_event_notification_details.cc', - 'public/browser/ax_event_notification_details.h', - 'public/browser/background_sync_controller.h', - 'public/browser/background_sync_parameters.cc', - 'public/browser/background_sync_parameters.h', - 'public/browser/background_tracing_config.cc', - 'public/browser/background_tracing_config.h', - 'public/browser/background_tracing_manager.h', - 'public/browser/blob_handle.h', - 'public/browser/bluetooth_chooser.cc', - 'public/browser/bluetooth_chooser.h', - 'public/browser/browser_accessibility_state.h', - 'public/browser/browser_associated_interface.h', - 'public/browser/browser_child_process_host.h', - 'public/browser/browser_child_process_host_delegate.cc', - 'public/browser/browser_child_process_host_delegate.h', - 'public/browser/browser_child_process_host_iterator.cc', - 'public/browser/browser_child_process_host_iterator.h', - 'public/browser/browser_child_process_observer.cc', - 'public/browser/browser_child_process_observer.h', - 'public/browser/browser_context.h', - 'public/browser/browser_ipc_logging.h', - 'public/browser/browser_main_parts.cc', - 'public/browser/browser_main_parts.h', - 'public/browser/browser_main_runner.h', - 'public/browser/browser_message_filter.cc', - 'public/browser/browser_message_filter.h', - 'public/browser/browser_plugin_guest_delegate.cc', - 'public/browser/browser_plugin_guest_delegate.h', - 'public/browser/browser_plugin_guest_manager.cc', - 'public/browser/browser_plugin_guest_manager.h', - 'public/browser/browser_ppapi_host.h', - 'public/browser/browser_thread.h', - 'public/browser/browser_thread_delegate.h', - 'public/browser/browser_url_handler.h', - 'public/browser/cache_storage_context.h', - 'public/browser/cache_storage_usage_info.h', - 'public/browser/cert_store.h', - 'public/browser/certificate_request_result_type.h', - 'public/browser/child_process_data.h', - 'public/browser/child_process_security_policy.h', - 'public/browser/client_certificate_delegate.h', - 'public/browser/color_chooser.h', - 'public/browser/content_browser_client.cc', - 'public/browser/content_browser_client.h', - 'public/browser/context_factory.h', - 'public/browser/cookie_store_factory.h', - 'public/browser/desktop_media_id.cc', - 'public/browser/desktop_media_id.h', - 'public/browser/desktop_notification_delegate.h', - 'public/browser/devtools_agent_host.h', - 'public/browser/devtools_agent_host_client.h', - 'public/browser/devtools_external_agent_proxy.h', - 'public/browser/devtools_external_agent_proxy_delegate.h', - 'public/browser/devtools_frontend_host.h', - 'public/browser/devtools_manager_delegate.h', - 'public/browser/devtools_socket_factory.h', - 'public/browser/dom_storage_context.h', - 'public/browser/download_danger_type.h', - 'public/browser/download_interrupt_reason_values.h', - 'public/browser/download_interrupt_reasons.h', - 'public/browser/download_item.h', - 'public/browser/download_manager.h', - 'public/browser/download_manager_delegate.cc', - 'public/browser/download_manager_delegate.h', - 'public/browser/download_save_info.cc', - 'public/browser/download_save_info.h', - 'public/browser/download_url_parameters.cc', - 'public/browser/download_url_parameters.h', - 'public/browser/favicon_status.cc', - 'public/browser/favicon_status.h', - 'public/browser/file_descriptor_info.h', - 'public/browser/focused_node_details.h', - 'public/browser/font_list_async.h', - 'public/browser/global_request_id.h', - 'public/browser/gpu_data_manager.h', - 'public/browser/gpu_data_manager_observer.h', - 'public/browser/gpu_service_registry.cc', - 'public/browser/gpu_service_registry.h', - 'public/browser/gpu_utils.cc', - 'public/browser/gpu_utils.h', - 'public/browser/histogram_fetcher.h', - 'public/browser/host_zoom_map.h', - 'public/browser/indexed_db_context.h', - 'public/browser/indexed_db_info.h', - 'public/browser/interstitial_page.h', - 'public/browser/interstitial_page_delegate.cc', - 'public/browser/interstitial_page_delegate.h', - 'public/browser/invalidate_type.h', - 'public/browser/javascript_dialog_manager.cc', - 'public/browser/javascript_dialog_manager.h', - 'public/browser/load_notification_details.h', - 'public/browser/local_storage_usage_info.h', - 'public/browser/media_capture_devices.h', - 'public/browser/media_device_id.cc', - 'public/browser/media_device_id.h', - 'public/browser/memory_pressure_controller.cc', - 'public/browser/memory_pressure_controller.h', - 'public/browser/message_port_delegate.h', - 'public/browser/message_port_provider.h', - 'public/browser/native_web_keyboard_event.h', - 'public/browser/navigation_controller.cc', - 'public/browser/navigation_controller.h', - 'public/browser/navigation_data.h', - 'public/browser/navigation_details.cc', - 'public/browser/navigation_details.h', - 'public/browser/navigation_entry.h', - 'public/browser/navigation_handle.cc', - 'public/browser/navigation_handle.h', - 'public/browser/navigation_throttle.cc', - 'public/browser/navigation_throttle.h', - 'public/browser/navigation_type.h', - 'public/browser/notification_database_data.h', - 'public/browser/notification_details.h', - 'public/browser/notification_event_dispatcher.h', - 'public/browser/notification_observer.h', - 'public/browser/notification_registrar.cc', - 'public/browser/notification_registrar.h', - 'public/browser/notification_service.h', - 'public/browser/notification_source.h', - 'public/browser/notification_types.h', - 'public/browser/overscroll_configuration.h', - 'public/browser/page_navigator.cc', - 'public/browser/page_navigator.h', - 'public/browser/pepper_flash_settings_helper.h', - 'public/browser/pepper_vpn_provider_resource_host_proxy.h', - 'public/browser/permission_manager.h', - 'public/browser/permission_type.h', - 'public/browser/platform_notification_context.h', - 'public/browser/platform_notification_service.h', - 'public/browser/plugin_data_remover.h', - 'public/browser/plugin_service.h', - 'public/browser/plugin_service_filter.h', - 'public/browser/presentation_screen_availability_listener.h', - 'public/browser/presentation_service_delegate.h', - 'public/browser/presentation_session.cc', - 'public/browser/presentation_session.h', - 'public/browser/presentation_session_message.cc', - 'public/browser/presentation_session_message.h', - 'public/browser/profiler_controller.h', - 'public/browser/profiler_subscriber.h', - 'public/browser/push_messaging_service.cc', - 'public/browser/push_messaging_service.h', - 'public/browser/quota_permission_context.h', - 'public/browser/readback_types.h', - 'public/browser/reload_type.h', - 'public/browser/render_frame_host.h', - 'public/browser/render_process_host.h', - 'public/browser/render_process_host_factory.h', - 'public/browser/render_process_host_observer.h', - 'public/browser/render_view_host.h', - 'public/browser/render_widget_host.h', - 'public/browser/render_widget_host_view.h', - 'public/browser/render_widget_host_view_frame_subscriber.h', - 'public/browser/render_widget_host_view_mac_delegate.h', - 'public/browser/resource_context.h', - 'public/browser/resource_controller.h', - 'public/browser/resource_dispatcher_host.cc', - 'public/browser/resource_dispatcher_host.h', - 'public/browser/resource_dispatcher_host_delegate.cc', - 'public/browser/resource_dispatcher_host_delegate.h', - 'public/browser/resource_dispatcher_host_login_delegate.h', - 'public/browser/resource_hints.h', - 'public/browser/resource_request_details.cc', - 'public/browser/resource_request_details.h', - 'public/browser/resource_request_info.h', - 'public/browser/resource_throttle.h', - 'public/browser/restore_type.h', - 'public/browser/save_page_type.h', - 'public/browser/screen_orientation_delegate.h', - 'public/browser/screen_orientation_dispatcher_host.h', - 'public/browser/screen_orientation_provider.cc', - 'public/browser/screen_orientation_provider.h', - 'public/browser/security_style_explanation.h', - 'public/browser/security_style_explanations.cc', - 'public/browser/security_style_explanations.h', - 'public/browser/service_worker_context.h', - 'public/browser/service_worker_usage_info.cc', - 'public/browser/service_worker_usage_info.h', - 'public/browser/session_storage_namespace.h', - 'public/browser/session_storage_usage_info.h', - 'public/browser/site_instance.h', - 'public/browser/speech_recognition_event_listener.h', - 'public/browser/speech_recognition_manager.h', - 'public/browser/speech_recognition_manager_delegate.h', - 'public/browser/speech_recognition_session_config.cc', - 'public/browser/speech_recognition_session_config.h', - 'public/browser/speech_recognition_session_context.cc', - 'public/browser/speech_recognition_session_context.h', - 'public/browser/speech_recognition_session_preamble.cc', - 'public/browser/speech_recognition_session_preamble.h', - 'public/browser/ssl_host_state_delegate.h', - 'public/browser/storage_partition.h', - 'public/browser/stream_handle.h', - 'public/browser/stream_info.cc', - 'public/browser/stream_info.h', - 'public/browser/trace_uploader.h', - 'public/browser/tracing_controller.h', - 'public/browser/tracing_delegate.cc', - 'public/browser/tracing_delegate.h', - 'public/browser/url_data_source.cc', - 'public/browser/url_data_source.h', - 'public/browser/user_metrics.h', - 'public/browser/utility_process_host.h', - 'public/browser/utility_process_mojo_client.h', - 'public/browser/vpn_service_proxy.h', - 'public/browser/web_contents.cc', - 'public/browser/web_contents.h', - 'public/browser/web_contents_delegate.cc', - 'public/browser/web_contents_delegate.h', - 'public/browser/web_contents_media_capture_id.cc', - 'public/browser/web_contents_media_capture_id.h', - 'public/browser/web_contents_observer.cc', - 'public/browser/web_contents_observer.h', - 'public/browser/web_contents_user_data.h', - 'public/browser/web_contents_view_delegate.cc', - 'public/browser/web_contents_view_delegate.h', - 'public/browser/web_drag_dest_delegate.h', - 'public/browser/web_ui.h', - 'public/browser/web_ui_controller.cc', - 'public/browser/web_ui_controller.h', - 'public/browser/web_ui_controller_factory.h', - 'public/browser/web_ui_data_source.h', - 'public/browser/web_ui_message_handler.h', - 'public/browser/worker_service.h', - 'public/browser/worker_service_observer.h', - 'public/browser/zoom_level_delegate.h', - 'public/browser/zygote_handle_linux.h', - 'public/browser/zygote_host_linux.h', - ], - 'private_browser_sources': [ - # These files are generated by GRIT. - '<(SHARED_INTERMEDIATE_DIR)/blink/grit/devtools_resources.h', - '<(SHARED_INTERMEDIATE_DIR)/blink/grit/devtools_resources_map.cc', - '<(SHARED_INTERMEDIATE_DIR)/blink/grit/devtools_resources_map.h', - # These files are generated by devtools_protocol_handler_generator.py. - '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.cc', - '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.h', - '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/grit/tracing_resources.h', - '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/webui_resources_map.cc', - 'browser/accessibility/accessibility_mode_helper.cc', - 'browser/accessibility/accessibility_mode_helper.h', - 'browser/accessibility/accessibility_tree_formatter.cc', - 'browser/accessibility/accessibility_tree_formatter.h', - 'browser/accessibility/accessibility_tree_formatter_blink.cc', - 'browser/accessibility/accessibility_tree_formatter_blink.h', - 'browser/accessibility/accessibility_tree_formatter_mac.mm', - 'browser/accessibility/accessibility_tree_formatter_stub.cc', - 'browser/accessibility/accessibility_tree_formatter_utils_win.cc', - 'browser/accessibility/accessibility_tree_formatter_utils_win.h', - 'browser/accessibility/accessibility_tree_formatter_win.cc', - 'browser/accessibility/accessibility_ui.cc', - 'browser/accessibility/accessibility_ui.h', - 'browser/accessibility/ax_tree_id_registry.cc', - 'browser/accessibility/ax_tree_id_registry.h', - 'browser/accessibility/browser_accessibility.cc', - 'browser/accessibility/browser_accessibility.h', - 'browser/accessibility/browser_accessibility_cocoa.h', - 'browser/accessibility/browser_accessibility_cocoa.mm', - 'browser/accessibility/browser_accessibility_event.cc', - 'browser/accessibility/browser_accessibility_event.h', - 'browser/accessibility/browser_accessibility_event_win.cc', - 'browser/accessibility/browser_accessibility_event_win.h', - 'browser/accessibility/browser_accessibility_mac.h', - 'browser/accessibility/browser_accessibility_mac.mm', - 'browser/accessibility/browser_accessibility_manager.cc', - 'browser/accessibility/browser_accessibility_manager.h', - 'browser/accessibility/browser_accessibility_manager_mac.h', - 'browser/accessibility/browser_accessibility_manager_mac.mm', - 'browser/accessibility/browser_accessibility_manager_win.cc', - 'browser/accessibility/browser_accessibility_manager_win.h', - 'browser/accessibility/browser_accessibility_state_impl.cc', - 'browser/accessibility/browser_accessibility_state_impl.h', - 'browser/accessibility/browser_accessibility_state_impl_mac.mm', - 'browser/accessibility/browser_accessibility_state_impl_win.cc', - 'browser/accessibility/browser_accessibility_win.cc', - 'browser/accessibility/browser_accessibility_win.h', - 'browser/accessibility/one_shot_accessibility_tree_search.cc', - 'browser/accessibility/one_shot_accessibility_tree_search.h', - 'browser/android/background_sync_network_observer_android.cc', - 'browser/android/background_sync_network_observer_android.h', - 'browser/android/browser_jni_registrar.cc', - 'browser/android/browser_jni_registrar.h', - 'browser/android/browser_startup_controller.cc', - 'browser/android/browser_startup_controller.h', - 'browser/android/browser_surface_texture_manager.cc', - 'browser/android/browser_surface_texture_manager.h', - 'browser/android/child_process_launcher_android.cc', - 'browser/android/child_process_launcher_android.h', - 'browser/android/content_protocol_handler_impl.cc', - 'browser/android/content_protocol_handler_impl.h', - 'browser/android/content_startup_flags.cc', - 'browser/android/content_startup_flags.h', - 'browser/android/content_video_view.cc', - 'browser/android/content_video_view.h', - 'browser/android/devtools_auth.cc', - 'browser/android/interface_provider_android_impl.cc', - 'browser/android/interface_provider_android_impl.h', - 'browser/android/interface_registry_android_impl.cc', - 'browser/android/interface_registry_android_impl.h', - 'browser/android/url_request_content_job.cc', - 'browser/android/url_request_content_job.h', - 'browser/appcache/appcache.cc', - 'browser/appcache/appcache.h', - 'browser/appcache/appcache_backend_impl.cc', - 'browser/appcache/appcache_backend_impl.h', - 'browser/appcache/appcache_database.cc', - 'browser/appcache/appcache_database.h', - 'browser/appcache/appcache_disk_cache.cc', - 'browser/appcache/appcache_disk_cache.h', - 'browser/appcache/appcache_dispatcher_host.cc', - 'browser/appcache/appcache_dispatcher_host.h', - 'browser/appcache/appcache_entry.h', - 'browser/appcache/appcache_executable_handler.h', - 'browser/appcache/appcache_frontend_proxy.cc', - 'browser/appcache/appcache_frontend_proxy.h', - 'browser/appcache/appcache_group.cc', - 'browser/appcache/appcache_group.h', - 'browser/appcache/appcache_histograms.cc', - 'browser/appcache/appcache_histograms.h', - 'browser/appcache/appcache_host.cc', - 'browser/appcache/appcache_host.h', - 'browser/appcache/appcache_interceptor.cc', - 'browser/appcache/appcache_interceptor.h', - 'browser/appcache/appcache_internals_ui.cc', - 'browser/appcache/appcache_internals_ui.h', - 'browser/appcache/appcache_manifest_parser.cc', - 'browser/appcache/appcache_manifest_parser.h', - 'browser/appcache/appcache_policy.h', - 'browser/appcache/appcache_quota_client.cc', - 'browser/appcache/appcache_quota_client.h', - 'browser/appcache/appcache_request_handler.cc', - 'browser/appcache/appcache_request_handler.h', - 'browser/appcache/appcache_response.cc', - 'browser/appcache/appcache_response.h', - 'browser/appcache/appcache_service_impl.cc', - 'browser/appcache/appcache_service_impl.h', - 'browser/appcache/appcache_storage.cc', - 'browser/appcache/appcache_storage.h', - 'browser/appcache/appcache_storage_impl.cc', - 'browser/appcache/appcache_storage_impl.h', - 'browser/appcache/appcache_update_job.cc', - 'browser/appcache/appcache_update_job.h', - 'browser/appcache/appcache_url_request_job.cc', - 'browser/appcache/appcache_url_request_job.h', - 'browser/appcache/appcache_working_set.cc', - 'browser/appcache/appcache_working_set.h', - 'browser/appcache/chrome_appcache_service.cc', - 'browser/appcache/chrome_appcache_service.h', - 'browser/background_sync/background_sync_context.cc', - 'browser/background_sync/background_sync_context.h', - 'browser/background_sync/background_sync_manager.cc', - 'browser/background_sync/background_sync_manager.h', - 'browser/background_sync/background_sync_metrics.cc', - 'browser/background_sync/background_sync_metrics.h', - 'browser/background_sync/background_sync_network_observer.cc', - 'browser/background_sync/background_sync_network_observer.h', - 'browser/background_sync/background_sync_registration.cc', - 'browser/background_sync/background_sync_registration.h', - 'browser/background_sync/background_sync_registration_options.cc', - 'browser/background_sync/background_sync_registration_options.h', - 'browser/background_sync/background_sync_service_impl.cc', - 'browser/background_sync/background_sync_service_impl.h', - 'browser/background_sync/background_sync_status.h', - 'browser/bad_message.cc', - 'browser/bad_message.h', - 'browser/blob_storage/blob_dispatcher_host.cc', - 'browser/blob_storage/blob_dispatcher_host.h', - 'browser/blob_storage/chrome_blob_storage_context.cc', - 'browser/blob_storage/chrome_blob_storage_context.h', - 'browser/bluetooth/bluetooth_allowed_devices_map.cc', - 'browser/bluetooth/bluetooth_allowed_devices_map.h', - 'browser/bluetooth/bluetooth_blacklist.cc', - 'browser/bluetooth/bluetooth_blacklist.h', - 'browser/bluetooth/bluetooth_device_chooser_controller.cc', - 'browser/bluetooth/bluetooth_device_chooser_controller.h', - 'browser/bluetooth/bluetooth_metrics.cc', - 'browser/bluetooth/bluetooth_metrics.h', - 'browser/bluetooth/cache_query_result.h', - 'browser/bluetooth/frame_connected_bluetooth_devices.cc', - 'browser/bluetooth/frame_connected_bluetooth_devices.h', - 'browser/bluetooth/web_bluetooth_service_impl.cc', - 'browser/bluetooth/web_bluetooth_service_impl.h', - 'browser/bootstrap_sandbox_manager_mac.cc', - 'browser/bootstrap_sandbox_manager_mac.h', - 'browser/broadcast_channel/broadcast_channel_provider.cc', - 'browser/broadcast_channel/broadcast_channel_provider.h', - 'browser/browser_child_process_host_impl.cc', - 'browser/browser_child_process_host_impl.h', - 'browser/browser_context.cc', - 'browser/browser_ipc_logging.cc', - 'browser/browser_main.cc', - 'browser/browser_main.h', - 'browser/browser_main_loop.cc', - 'browser/browser_main_loop.h', - 'browser/browser_main_runner.cc', - 'browser/browser_plugin/browser_plugin_embedder.cc', - 'browser/browser_plugin/browser_plugin_embedder.h', - 'browser/browser_plugin/browser_plugin_guest.cc', - 'browser/browser_plugin/browser_plugin_guest.h', - 'browser/browser_plugin/browser_plugin_message_filter.cc', - 'browser/browser_plugin/browser_plugin_message_filter.h', - 'browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h', - 'browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm', - 'browser/browser_process_sub_thread.cc', - 'browser/browser_process_sub_thread.h', - 'browser/browser_shutdown_profile_dumper.cc', - 'browser/browser_shutdown_profile_dumper.h', - 'browser/browser_thread_impl.cc', - 'browser/browser_thread_impl.h', - 'browser/browser_url_handler_impl.cc', - 'browser/browser_url_handler_impl.h', - 'browser/browsing_data/clear_site_data_throttle.cc', - 'browser/browsing_data/clear_site_data_throttle.h', - 'browser/browsing_instance.cc', - 'browser/browsing_instance.h', - 'browser/byte_stream.cc', - 'browser/byte_stream.h', - 'browser/cache_storage/cache_storage.cc', - 'browser/cache_storage/cache_storage.h', - 'browser/cache_storage/cache_storage_blob_to_disk_cache.cc', - 'browser/cache_storage/cache_storage_blob_to_disk_cache.h', - 'browser/cache_storage/cache_storage_cache.cc', - 'browser/cache_storage/cache_storage_cache.h', - 'browser/cache_storage/cache_storage_cache_handle.cc', - 'browser/cache_storage/cache_storage_cache_handle.h', - 'browser/cache_storage/cache_storage_context_impl.cc', - 'browser/cache_storage/cache_storage_context_impl.h', - 'browser/cache_storage/cache_storage_dispatcher_host.cc', - 'browser/cache_storage/cache_storage_dispatcher_host.h', - 'browser/cache_storage/cache_storage_histogram_macros.h', - 'browser/cache_storage/cache_storage_manager.cc', - 'browser/cache_storage/cache_storage_manager.h', - 'browser/cache_storage/cache_storage_operation.cc', - 'browser/cache_storage/cache_storage_operation.h', - 'browser/cache_storage/cache_storage_quota_client.cc', - 'browser/cache_storage/cache_storage_quota_client.h', - 'browser/cache_storage/cache_storage_scheduler.cc', - 'browser/cache_storage/cache_storage_scheduler.h', - 'browser/cache_storage/cache_storage_scheduler_client.h', - 'browser/cert_store_impl.cc', - 'browser/cert_store_impl.h', - 'browser/child_process_launcher.cc', - 'browser/child_process_launcher.h', - 'browser/child_process_security_policy_impl.cc', - 'browser/child_process_security_policy_impl.h', - 'browser/cocoa/system_hotkey_helper_mac.h', - 'browser/cocoa/system_hotkey_helper_mac.mm', - 'browser/cocoa/system_hotkey_map.h', - 'browser/cocoa/system_hotkey_map.mm', - # NOTE: These files are here instead of in compositor_browser_sources - # because the latter is not built on Android, whereas these files are - # needed on all platforms. - 'browser/compositor/surface_utils.cc', - 'browser/compositor/surface_utils.h', - 'browser/device_sensors/ambient_light_mac.cc', - 'browser/device_sensors/ambient_light_mac.h', - 'browser/device_sensors/data_fetcher_shared_memory.h', - 'browser/device_sensors/data_fetcher_shared_memory_android.cc', - 'browser/device_sensors/data_fetcher_shared_memory_base.cc', - 'browser/device_sensors/data_fetcher_shared_memory_base.h', - 'browser/device_sensors/data_fetcher_shared_memory_chromeos.cc', - 'browser/device_sensors/data_fetcher_shared_memory_default.cc', - 'browser/device_sensors/data_fetcher_shared_memory_mac.cc', - 'browser/device_sensors/data_fetcher_shared_memory_win.cc', - 'browser/device_sensors/device_sensor_host.cc', - 'browser/device_sensors/device_sensor_host.h', - 'browser/device_sensors/device_sensor_service.cc', - 'browser/device_sensors/device_sensor_service.h', - 'browser/device_sensors/device_sensors_consts.h', - 'browser/device_sensors/sensor_manager_android.cc', - 'browser/device_sensors/sensor_manager_android.h', - 'browser/device_sensors/sensor_manager_chromeos.cc', - 'browser/device_sensors/sensor_manager_chromeos.h', - 'browser/devtools/browser_devtools_agent_host.cc', - 'browser/devtools/browser_devtools_agent_host.h', - 'browser/devtools/devtools_agent_host_impl.cc', - 'browser/devtools/devtools_agent_host_impl.h', - 'browser/devtools/devtools_frame_trace_recorder.cc', - 'browser/devtools/devtools_frame_trace_recorder.h', - 'browser/devtools/devtools_frontend_host_impl.cc', - 'browser/devtools/devtools_frontend_host_impl.h', - 'browser/devtools/devtools_io_context.cc', - 'browser/devtools/devtools_io_context.h', - 'browser/devtools/devtools_manager.cc', - 'browser/devtools/devtools_manager.h', - 'browser/devtools/devtools_protocol_handler.cc', - 'browser/devtools/devtools_protocol_handler.h', - 'browser/devtools/forwarding_agent_host.cc', - 'browser/devtools/forwarding_agent_host.h', - 'browser/devtools/page_navigation_throttle.cc', - 'browser/devtools/page_navigation_throttle.h', - 'browser/devtools/protocol/browser_handler.cc', - 'browser/devtools/protocol/browser_handler.h', - 'browser/devtools/protocol/color_picker.cc', - 'browser/devtools/protocol/color_picker.h', - 'browser/devtools/protocol/devtools_protocol_client.cc', - 'browser/devtools/protocol/devtools_protocol_client.h', - 'browser/devtools/protocol/devtools_protocol_delegate.h', - 'browser/devtools/protocol/dom_handler.cc', - 'browser/devtools/protocol/dom_handler.h', - 'browser/devtools/protocol/emulation_handler.cc', - 'browser/devtools/protocol/emulation_handler.h', - 'browser/devtools/protocol/input_handler.cc', - 'browser/devtools/protocol/input_handler.h', - 'browser/devtools/protocol/inspector_handler.cc', - 'browser/devtools/protocol/inspector_handler.h', - 'browser/devtools/protocol/io_handler.cc', - 'browser/devtools/protocol/io_handler.h', - 'browser/devtools/protocol/memory_handler.cc', - 'browser/devtools/protocol/memory_handler.h', - 'browser/devtools/protocol/network_handler.cc', - 'browser/devtools/protocol/network_handler.h', - 'browser/devtools/protocol/page_handler.cc', - 'browser/devtools/protocol/page_handler.h', - 'browser/devtools/protocol/schema_handler.cc', - 'browser/devtools/protocol/schema_handler.h', - 'browser/devtools/protocol/security_handler.cc', - 'browser/devtools/protocol/security_handler.h', - 'browser/devtools/protocol/service_worker_handler.cc', - 'browser/devtools/protocol/service_worker_handler.h', - 'browser/devtools/protocol/storage_handler.cc', - 'browser/devtools/protocol/storage_handler.h', - 'browser/devtools/protocol/system_info_handler.cc', - 'browser/devtools/protocol/system_info_handler.h', - 'browser/devtools/protocol/tethering_handler.cc', - 'browser/devtools/protocol/tethering_handler.h', - 'browser/devtools/protocol/tracing_handler.cc', - 'browser/devtools/protocol/tracing_handler.h', - 'browser/devtools/render_frame_devtools_agent_host.cc', - 'browser/devtools/render_frame_devtools_agent_host.h', - 'browser/devtools/service_worker_devtools_agent_host.cc', - 'browser/devtools/service_worker_devtools_agent_host.h', - 'browser/devtools/service_worker_devtools_manager.cc', - 'browser/devtools/service_worker_devtools_manager.h', - 'browser/devtools/shared_worker_devtools_agent_host.cc', - 'browser/devtools/shared_worker_devtools_agent_host.h', - 'browser/devtools/shared_worker_devtools_manager.cc', - 'browser/devtools/shared_worker_devtools_manager.h', - 'browser/devtools/worker_devtools_agent_host.cc', - 'browser/devtools/worker_devtools_agent_host.h', - 'browser/dom_storage/dom_storage_area.cc', - 'browser/dom_storage/dom_storage_area.h', - 'browser/dom_storage/dom_storage_context_impl.cc', - 'browser/dom_storage/dom_storage_context_impl.h', - 'browser/dom_storage/dom_storage_context_wrapper.cc', - 'browser/dom_storage/dom_storage_context_wrapper.h', - 'browser/dom_storage/dom_storage_database.cc', - 'browser/dom_storage/dom_storage_database.h', - 'browser/dom_storage/dom_storage_database_adapter.h', - 'browser/dom_storage/dom_storage_host.cc', - 'browser/dom_storage/dom_storage_host.h', - 'browser/dom_storage/dom_storage_message_filter.cc', - 'browser/dom_storage/dom_storage_message_filter.h', - 'browser/dom_storage/dom_storage_namespace.cc', - 'browser/dom_storage/dom_storage_namespace.h', - 'browser/dom_storage/dom_storage_session.cc', - 'browser/dom_storage/dom_storage_session.h', - 'browser/dom_storage/dom_storage_task_runner.cc', - 'browser/dom_storage/dom_storage_task_runner.h', - 'browser/dom_storage/local_storage_database_adapter.cc', - 'browser/dom_storage/local_storage_database_adapter.h', - 'browser/dom_storage/session_storage_database.cc', - 'browser/dom_storage/session_storage_database.h', - 'browser/dom_storage/session_storage_database_adapter.cc', - 'browser/dom_storage/session_storage_database_adapter.h', - 'browser/dom_storage/session_storage_namespace_impl.cc', - 'browser/dom_storage/session_storage_namespace_impl.h', - 'browser/download/base_file.cc', - 'browser/download/base_file.h', - 'browser/download/base_file_linux.cc', - 'browser/download/base_file_mac.cc', - 'browser/download/base_file_posix.cc', - 'browser/download/base_file_win.cc', - 'browser/download/download_create_info.cc', - 'browser/download/download_create_info.h', - 'browser/download/download_destination_observer.h', - 'browser/download/download_file.h', - 'browser/download/download_file_factory.cc', - 'browser/download/download_file_factory.h', - 'browser/download/download_file_impl.cc', - 'browser/download/download_file_impl.h', - 'browser/download/download_interrupt_reasons_impl.cc', - 'browser/download/download_interrupt_reasons_impl.h', - 'browser/download/download_item_factory.h', - 'browser/download/download_item_impl.cc', - 'browser/download/download_item_impl.h', - 'browser/download/download_item_impl_delegate.cc', - 'browser/download/download_item_impl_delegate.h', - 'browser/download/download_manager_impl.cc', - 'browser/download/download_manager_impl.h', - 'browser/download/download_net_log_parameters.cc', - 'browser/download/download_net_log_parameters.h', - 'browser/download/download_request_core.cc', - 'browser/download/download_request_core.h', - 'browser/download/download_request_handle.cc', - 'browser/download/download_request_handle.h', - 'browser/download/download_resource_handler.cc', - 'browser/download/download_resource_handler.h', - 'browser/download/download_stats.cc', - 'browser/download/download_stats.h', - 'browser/download/drag_download_file.cc', - 'browser/download/drag_download_file.h', - 'browser/download/drag_download_util.cc', - 'browser/download/drag_download_util.h', - 'browser/download/file_metadata_linux.cc', - 'browser/download/file_metadata_linux.h', - 'browser/download/file_metadata_mac.h', - 'browser/download/file_metadata_mac.mm', - 'browser/download/mhtml_generation_manager.cc', - 'browser/download/mhtml_generation_manager.h', - 'browser/download/rate_estimator.cc', - 'browser/download/rate_estimator.h', - 'browser/download/save_file.cc', - 'browser/download/save_file.h', - 'browser/download/save_file_manager.cc', - 'browser/download/save_file_manager.h', - 'browser/download/save_file_resource_handler.cc', - 'browser/download/save_file_resource_handler.h', - 'browser/download/save_item.cc', - 'browser/download/save_item.h', - 'browser/download/save_package.cc', - 'browser/download/save_package.h', - 'browser/download/save_types.cc', - 'browser/download/save_types.h', - 'browser/download/url_downloader.cc', - 'browser/download/url_downloader.h', - 'browser/fileapi/browser_file_system_helper.cc', - 'browser/fileapi/browser_file_system_helper.h', - 'browser/fileapi/fileapi_message_filter.cc', - 'browser/fileapi/fileapi_message_filter.h', - 'browser/fileapi/upload_file_system_file_element_reader.cc', - 'browser/fileapi/upload_file_system_file_element_reader.h', - 'browser/find_request_manager.cc', - 'browser/find_request_manager.h', - 'browser/font_list_async.cc', - 'browser/frame_host/cross_process_frame_connector.cc', - 'browser/frame_host/cross_process_frame_connector.h', - 'browser/frame_host/cross_site_transferring_request.cc', - 'browser/frame_host/cross_site_transferring_request.h', - 'browser/frame_host/debug_urls.cc', - 'browser/frame_host/debug_urls.h', - 'browser/frame_host/frame_navigation_entry.cc', - 'browser/frame_host/frame_navigation_entry.h', - 'browser/frame_host/frame_tree.cc', - 'browser/frame_host/frame_tree.h', - 'browser/frame_host/frame_tree_node.cc', - 'browser/frame_host/frame_tree_node.h', - 'browser/frame_host/frame_tree_node_blame_context.cc', - 'browser/frame_host/frame_tree_node_blame_context.h', - 'browser/frame_host/interstitial_page_impl.cc', - 'browser/frame_host/interstitial_page_impl.h', - 'browser/frame_host/interstitial_page_navigator_impl.cc', - 'browser/frame_host/interstitial_page_navigator_impl.h', - 'browser/frame_host/navigation_controller_android.cc', - 'browser/frame_host/navigation_controller_android.h', - 'browser/frame_host/navigation_controller_delegate.h', - 'browser/frame_host/navigation_controller_impl.cc', - 'browser/frame_host/navigation_controller_impl.h', - 'browser/frame_host/navigation_entry_impl.cc', - 'browser/frame_host/navigation_entry_impl.h', - 'browser/frame_host/navigation_entry_screenshot_manager.cc', - 'browser/frame_host/navigation_entry_screenshot_manager.h', - 'browser/frame_host/navigation_handle_impl.cc', - 'browser/frame_host/navigation_handle_impl.h', - 'browser/frame_host/navigation_request.cc', - 'browser/frame_host/navigation_request.h', - 'browser/frame_host/navigation_request_info.cc', - 'browser/frame_host/navigation_request_info.h', - 'browser/frame_host/navigator.cc', - 'browser/frame_host/navigator.h', - 'browser/frame_host/navigator_delegate.cc', - 'browser/frame_host/navigator_delegate.h', - 'browser/frame_host/navigator_impl.cc', - 'browser/frame_host/navigator_impl.h', - 'browser/frame_host/popup_menu_helper_mac.h', - 'browser/frame_host/popup_menu_helper_mac.mm', - 'browser/frame_host/render_frame_host_delegate.cc', - 'browser/frame_host/render_frame_host_delegate.h', - 'browser/frame_host/render_frame_host_factory.cc', - 'browser/frame_host/render_frame_host_factory.h', - 'browser/frame_host/render_frame_host_impl.cc', - 'browser/frame_host/render_frame_host_impl.h', - 'browser/frame_host/render_frame_host_manager.cc', - 'browser/frame_host/render_frame_host_manager.h', - 'browser/frame_host/render_frame_message_filter.cc', - 'browser/frame_host/render_frame_message_filter.h', - 'browser/frame_host/render_frame_proxy_host.cc', - 'browser/frame_host/render_frame_proxy_host.h', - 'browser/frame_host/render_widget_host_view_child_frame.cc', - 'browser/frame_host/render_widget_host_view_child_frame.h', - 'browser/frame_host/render_widget_host_view_guest.cc', - 'browser/frame_host/render_widget_host_view_guest.h', - 'browser/gamepad/gamepad_service.cc', - 'browser/gamepad/gamepad_service.h', - 'browser/gamepad/gamepad_shared_buffer_impl.cc', - 'browser/gamepad/gamepad_shared_buffer_impl.h', - 'browser/gpu/browser_gpu_channel_host_factory.cc', - 'browser/gpu/browser_gpu_channel_host_factory.h', - 'browser/gpu/browser_gpu_memory_buffer_manager.cc', - 'browser/gpu/browser_gpu_memory_buffer_manager.h', - 'browser/gpu/compositor_util.cc', - 'browser/gpu/compositor_util.h', - 'browser/gpu/gpu_data_manager_impl.cc', - 'browser/gpu/gpu_data_manager_impl.h', - 'browser/gpu/gpu_data_manager_impl_private.cc', - 'browser/gpu/gpu_data_manager_impl_private.h', - 'browser/gpu/gpu_internals_ui.cc', - 'browser/gpu/gpu_internals_ui.h', - 'browser/gpu/gpu_process_host.cc', - 'browser/gpu/gpu_process_host.h', - 'browser/gpu/gpu_process_host_ui_shim.cc', - 'browser/gpu/gpu_process_host_ui_shim.h', - 'browser/gpu/gpu_surface_tracker.cc', - 'browser/gpu/gpu_surface_tracker.h', - 'browser/gpu/shader_disk_cache.cc', - 'browser/gpu/shader_disk_cache.h', - 'browser/histogram_controller.cc', - 'browser/histogram_controller.h', - 'browser/histogram_internals_request_job.cc', - 'browser/histogram_internals_request_job.h', - 'browser/histogram_message_filter.cc', - 'browser/histogram_message_filter.h', - 'browser/histogram_subscriber.h', - 'browser/histogram_synchronizer.cc', - 'browser/histogram_synchronizer.h', - 'browser/host_zoom_level_context.cc', - 'browser/host_zoom_level_context.h', - 'browser/host_zoom_map_impl.cc', - 'browser/host_zoom_map_impl.h', - 'browser/indexed_db/indexed_db.h', - 'browser/indexed_db/indexed_db_active_blob_registry.cc', - 'browser/indexed_db/indexed_db_active_blob_registry.h', - 'browser/indexed_db/indexed_db_backing_store.cc', - 'browser/indexed_db/indexed_db_backing_store.h', - 'browser/indexed_db/indexed_db_blob_info.cc', - 'browser/indexed_db/indexed_db_blob_info.h', - 'browser/indexed_db/indexed_db_callbacks.cc', - 'browser/indexed_db/indexed_db_callbacks.h', - 'browser/indexed_db/indexed_db_class_factory.cc', - 'browser/indexed_db/indexed_db_class_factory.h', - 'browser/indexed_db/indexed_db_connection.cc', - 'browser/indexed_db/indexed_db_connection.h', - 'browser/indexed_db/indexed_db_context_impl.cc', - 'browser/indexed_db/indexed_db_context_impl.h', - 'browser/indexed_db/indexed_db_cursor.cc', - 'browser/indexed_db/indexed_db_cursor.h', - 'browser/indexed_db/indexed_db_data_loss_info.h', - 'browser/indexed_db/indexed_db_database.cc', - 'browser/indexed_db/indexed_db_database.h', - 'browser/indexed_db/indexed_db_database_callbacks.cc', - 'browser/indexed_db/indexed_db_database_callbacks.h', - 'browser/indexed_db/indexed_db_database_error.cc', - 'browser/indexed_db/indexed_db_database_error.h', - 'browser/indexed_db/indexed_db_dispatcher_host.cc', - 'browser/indexed_db/indexed_db_dispatcher_host.h', - 'browser/indexed_db/indexed_db_factory.h', - 'browser/indexed_db/indexed_db_factory_impl.cc', - 'browser/indexed_db/indexed_db_factory_impl.h', - 'browser/indexed_db/indexed_db_index_writer.cc', - 'browser/indexed_db/indexed_db_index_writer.h', - 'browser/indexed_db/indexed_db_internals_ui.cc', - 'browser/indexed_db/indexed_db_internals_ui.h', - 'browser/indexed_db/indexed_db_leveldb_coding.cc', - 'browser/indexed_db/indexed_db_leveldb_coding.h', - 'browser/indexed_db/indexed_db_metadata.cc', - 'browser/indexed_db/indexed_db_metadata.h', - 'browser/indexed_db/indexed_db_observation.cc', - 'browser/indexed_db/indexed_db_observation.h', - 'browser/indexed_db/indexed_db_observer.cc', - 'browser/indexed_db/indexed_db_observer.h', - 'browser/indexed_db/indexed_db_observer_changes.cc', - 'browser/indexed_db/indexed_db_observer_changes.h', - 'browser/indexed_db/indexed_db_pending_connection.cc', - 'browser/indexed_db/indexed_db_pending_connection.h', - 'browser/indexed_db/indexed_db_quota_client.cc', - 'browser/indexed_db/indexed_db_quota_client.h', - 'browser/indexed_db/indexed_db_return_value.h', - 'browser/indexed_db/indexed_db_transaction.cc', - 'browser/indexed_db/indexed_db_transaction.h', - 'browser/indexed_db/indexed_db_transaction_coordinator.cc', - 'browser/indexed_db/indexed_db_transaction_coordinator.h', - 'browser/indexed_db/indexed_db_value.cc', - 'browser/indexed_db/indexed_db_value.h', - 'browser/indexed_db/leveldb/leveldb_comparator.h', - 'browser/indexed_db/leveldb/leveldb_database.cc', - 'browser/indexed_db/leveldb/leveldb_database.h', - 'browser/indexed_db/leveldb/leveldb_env.cc', - 'browser/indexed_db/leveldb/leveldb_env.h', - 'browser/indexed_db/leveldb/leveldb_factory.h', - 'browser/indexed_db/leveldb/leveldb_iterator.h', - 'browser/indexed_db/leveldb/leveldb_iterator_impl.cc', - 'browser/indexed_db/leveldb/leveldb_iterator_impl.h', - 'browser/indexed_db/leveldb/leveldb_transaction.cc', - 'browser/indexed_db/leveldb/leveldb_transaction.h', - 'browser/indexed_db/leveldb/leveldb_write_batch.cc', - 'browser/indexed_db/leveldb/leveldb_write_batch.h', - 'browser/leveldb_wrapper_impl.cc', - 'browser/leveldb_wrapper_impl.h', - 'browser/loader/async_resource_handler.cc', - 'browser/loader/async_resource_handler.h', - 'browser/loader/async_revalidation_driver.cc', - 'browser/loader/async_revalidation_driver.h', - 'browser/loader/async_revalidation_manager.cc', - 'browser/loader/async_revalidation_manager.h', - 'browser/loader/cross_site_resource_handler.cc', - 'browser/loader/cross_site_resource_handler.h', - 'browser/loader/detachable_resource_handler.cc', - 'browser/loader/detachable_resource_handler.h', - 'browser/loader/global_routing_id.h', - 'browser/loader/layered_resource_handler.cc', - 'browser/loader/layered_resource_handler.h', - 'browser/loader/loader_delegate.h', - 'browser/loader/loader_io_thread_notifier.cc', - 'browser/loader/loader_io_thread_notifier.h', - 'browser/loader/mime_type_resource_handler.cc', - 'browser/loader/mime_type_resource_handler.h', - 'browser/loader/mojo_async_resource_handler.cc', - 'browser/loader/mojo_async_resource_handler.h', - 'browser/loader/navigation_resource_handler.cc', - 'browser/loader/navigation_resource_handler.h', - 'browser/loader/navigation_resource_throttle.cc', - 'browser/loader/navigation_resource_throttle.h', - 'browser/loader/navigation_url_loader.cc', - 'browser/loader/navigation_url_loader.h', - 'browser/loader/navigation_url_loader_delegate.h', - 'browser/loader/navigation_url_loader_factory.h', - 'browser/loader/navigation_url_loader_impl.cc', - 'browser/loader/navigation_url_loader_impl.h', - 'browser/loader/navigation_url_loader_impl_core.cc', - 'browser/loader/navigation_url_loader_impl_core.h', - 'browser/loader/netlog_observer.cc', - 'browser/loader/netlog_observer.h', - 'browser/loader/power_save_block_resource_throttle.cc', - 'browser/loader/power_save_block_resource_throttle.h', - 'browser/loader/redirect_to_file_resource_handler.cc', - 'browser/loader/redirect_to_file_resource_handler.h', - 'browser/loader/resource_buffer.cc', - 'browser/loader/resource_buffer.h', - 'browser/loader/resource_dispatcher_host_impl.cc', - 'browser/loader/resource_dispatcher_host_impl.h', - 'browser/loader/resource_handler.cc', - 'browser/loader/resource_handler.h', - 'browser/loader/resource_hints_impl.cc', - 'browser/loader/resource_loader.cc', - 'browser/loader/resource_loader.h', - 'browser/loader/resource_loader_delegate.h', - 'browser/loader/resource_message_delegate.cc', - 'browser/loader/resource_message_delegate.h', - 'browser/loader/resource_message_filter.cc', - 'browser/loader/resource_message_filter.h', - 'browser/loader/resource_request_info_impl.cc', - 'browser/loader/resource_request_info_impl.h', - 'browser/loader/resource_scheduler.cc', - 'browser/loader/resource_scheduler.h', - 'browser/loader/resource_scheduler_filter.cc', - 'browser/loader/resource_scheduler_filter.h', - 'browser/loader/stream_resource_handler.cc', - 'browser/loader/stream_resource_handler.h', - 'browser/loader/stream_writer.cc', - 'browser/loader/stream_writer.h', - 'browser/loader/sync_resource_handler.cc', - 'browser/loader/sync_resource_handler.h', - 'browser/loader/temporary_file_stream.cc', - 'browser/loader/temporary_file_stream.h', - 'browser/loader/throttling_resource_handler.cc', - 'browser/loader/throttling_resource_handler.h', - 'browser/loader/url_loader_factory_impl.cc', - 'browser/loader/url_loader_factory_impl.h', - 'browser/loader/upload_data_stream_builder.cc', - 'browser/loader/upload_data_stream_builder.h', - 'browser/loader_delegate_impl.cc', - 'browser/loader_delegate_impl.h', - 'browser/mach_broker_mac.h', - 'browser/mach_broker_mac.mm', - 'browser/manifest/manifest_manager_host.cc', - 'browser/manifest/manifest_manager_host.h', - 'browser/media/android/browser_demuxer_android.cc', - 'browser/media/android/browser_demuxer_android.h', - 'browser/media/android/browser_media_player_manager.cc', - 'browser/media/android/browser_media_player_manager.h', - 'browser/media/android/browser_media_session_manager.cc', - 'browser/media/android/browser_media_session_manager.h', - 'browser/media/android/browser_surface_view_manager.cc', - 'browser/media/android/browser_surface_view_manager.h', - 'browser/media/android/media_player_renderer.h', - 'browser/media/android/media_player_renderer.cc', - 'browser/media/android/media_resource_getter_impl.cc', - 'browser/media/android/media_resource_getter_impl.h', - 'browser/media/android/media_throttler.cc', - 'browser/media/android/media_throttler.h', - 'browser/media/android/media_web_contents_observer_android.cc', - 'browser/media/android/media_web_contents_observer_android.h', - 'browser/media/android/provision_fetcher_impl.cc', - 'browser/media/android/provision_fetcher_impl.h', - 'browser/media/android/url_provision_fetcher.cc', - 'browser/media/android/url_provision_fetcher.h', - 'browser/media/audible_metrics.cc', - 'browser/media/audible_metrics.h', - 'browser/media/audio_stream_monitor.cc', - 'browser/media/audio_stream_monitor.h', - 'browser/media/capture/audio_mirroring_manager.cc', - 'browser/media/capture/audio_mirroring_manager.h', - 'browser/media/capture/cursor_renderer.h', - 'browser/media/capture/cursor_renderer_aura.cc', - 'browser/media/capture/cursor_renderer_aura.h', - 'browser/media/capture/cursor_renderer_mac.h', - 'browser/media/capture/cursor_renderer_mac.mm', - 'browser/media/capture/desktop_capture_device_uma_types.cc', - 'browser/media/capture/desktop_capture_device_uma_types.h', - 'browser/media/capture/image_capture_impl.cc', - 'browser/media/capture/image_capture_impl.h', - 'browser/media/capture/web_contents_audio_input_stream.cc', - 'browser/media/capture/web_contents_audio_input_stream.h', - 'browser/media/capture/web_contents_audio_muter.cc', - 'browser/media/capture/web_contents_audio_muter.h', - 'browser/media/capture/web_contents_tracker.cc', - 'browser/media/capture/web_contents_tracker.h', - 'browser/media/capture/web_contents_video_capture_device.cc', - 'browser/media/capture/web_contents_video_capture_device.h', - 'browser/media/capture/window_activity_tracker.cc', - 'browser/media/capture/window_activity_tracker.h', - 'browser/media/capture/window_activity_tracker_aura.cc', - 'browser/media/capture/window_activity_tracker_aura.h', - 'browser/media/capture/window_activity_tracker_mac.h', - 'browser/media/capture/window_activity_tracker_mac.mm', - 'browser/media/cdm_service_impl.cc', - 'browser/media/cdm_service_impl.h', - 'browser/media/media_internals.cc', - 'browser/media/media_internals.h', - 'browser/media/media_internals_handler.cc', - 'browser/media/media_internals_handler.h', - 'browser/media/media_internals_proxy.cc', - 'browser/media/media_internals_proxy.h', - 'browser/media/media_internals_ui.cc', - 'browser/media/media_internals_ui.h', - 'browser/media/media_web_contents_observer.cc', - 'browser/media/media_web_contents_observer.h', - 'browser/media/midi_host.cc', - 'browser/media/midi_host.h', - 'browser/media/session/audio_focus_manager.cc', - 'browser/media/session/audio_focus_manager.h', - 'browser/media/session/media_session.cc', - 'browser/media/session/media_session.h', - 'browser/media/session/media_session_controller.cc', - 'browser/media/session/media_session_controller.h', - 'browser/media/session/media_session_controllers_manager.cc', - 'browser/media/session/media_session_controllers_manager.h', - 'browser/media/session/media_session_delegate.h', - 'browser/media/session/media_session_delegate_android.cc', - 'browser/media/session/media_session_delegate_android.h', - 'browser/media/session/media_session_delegate_default.cc', - 'browser/media/session/media_session_observer.h', - 'browser/media/session/media_session_uma_helper.cc', - 'browser/media/session/media_session_uma_helper.h', - 'browser/memory/memory_message_filter.cc', - 'browser/memory/memory_message_filter.h', - 'browser/memory/memory_pressure_controller_impl.cc', - 'browser/memory/memory_pressure_controller_impl.h', - 'browser/message_port_message_filter.cc', - 'browser/message_port_message_filter.h', - 'browser/message_port_provider.cc', - 'browser/message_port_service.cc', - 'browser/message_port_service.h', - 'browser/mime_registry_impl.cc', - 'browser/mime_registry_impl.h', - 'browser/mojo/interface_registrar_android.cc', - 'browser/mojo/interface_registrar_android.h', - 'browser/mojo/mojo_shell_context.cc', - 'browser/mojo/mojo_shell_context.h', - 'browser/net/browser_online_state_observer.cc', - 'browser/net/browser_online_state_observer.h', - 'browser/net/network_errors_listing_ui.cc', - 'browser/net/network_errors_listing_ui.h', - 'browser/net/quota_policy_cookie_store.cc', - 'browser/net/quota_policy_cookie_store.h', - 'browser/net/view_blob_internals_job_factory.cc', - 'browser/net/view_blob_internals_job_factory.h', - 'browser/net/view_http_cache_job_factory.cc', - 'browser/net/view_http_cache_job_factory.h', - 'browser/notification_service_impl.cc', - 'browser/notification_service_impl.h', - 'browser/notifications/blink_notification_service_impl.cc', - 'browser/notifications/blink_notification_service_impl.h', - 'browser/notifications/notification_database.cc', - 'browser/notifications/notification_database.h', - 'browser/notifications/notification_database_data_conversions.cc', - 'browser/notifications/notification_database_data_conversions.h', - 'browser/notifications/notification_event_dispatcher_impl.cc', - 'browser/notifications/notification_event_dispatcher_impl.h', - 'browser/notifications/notification_id_generator.cc', - 'browser/notifications/notification_id_generator.h', - 'browser/notifications/notification_message_filter.cc', - 'browser/notifications/notification_message_filter.h', - 'browser/notifications/page_notification_delegate.cc', - 'browser/notifications/page_notification_delegate.h', - 'browser/notifications/platform_notification_context_impl.cc', - 'browser/notifications/platform_notification_context_impl.h', - 'browser/notifications/type_converters.cc', - 'browser/notifications/type_converters.h', - 'browser/permissions/permission_service_context.cc', - 'browser/permissions/permission_service_context.h', - 'browser/permissions/permission_service_impl.cc', - 'browser/permissions/permission_service_impl.h', - 'browser/power_monitor_message_broadcaster.cc', - 'browser/power_monitor_message_broadcaster.h', - 'browser/power_usage_monitor_impl.cc', - 'browser/power_usage_monitor_impl.h', - 'browser/presentation/presentation_service_impl.cc', - 'browser/presentation/presentation_service_impl.h', - 'browser/presentation/presentation_type_converters.cc', - 'browser/presentation/presentation_type_converters.h', - 'browser/profiler_controller_impl.cc', - 'browser/profiler_controller_impl.h', - 'browser/profiler_message_filter.cc', - 'browser/profiler_message_filter.h', - 'browser/push_messaging/push_messaging_message_filter.cc', - 'browser/push_messaging/push_messaging_message_filter.h', - 'browser/push_messaging/push_messaging_router.cc', - 'browser/push_messaging/push_messaging_router.h', - 'browser/quota_dispatcher_host.cc', - 'browser/quota_dispatcher_host.h', - 'browser/renderer_host/clipboard_message_filter.cc', - 'browser/renderer_host/clipboard_message_filter.h', - 'browser/renderer_host/clipboard_message_filter_mac.mm', - 'browser/renderer_host/compositor_resize_lock_aura.cc', - 'browser/renderer_host/compositor_resize_lock_aura.h', - 'browser/renderer_host/database_message_filter.cc', - 'browser/renderer_host/database_message_filter.h', - 'browser/renderer_host/delegated_frame_evictor.cc', - 'browser/renderer_host/delegated_frame_evictor.h', - 'browser/renderer_host/dip_util.cc', - 'browser/renderer_host/dip_util.h', - 'browser/renderer_host/dwrite_font_proxy_message_filter_win.cc', - 'browser/renderer_host/dwrite_font_proxy_message_filter_win.h', - 'browser/renderer_host/event_with_latency_info.h', - 'browser/renderer_host/file_utilities_message_filter.cc', - 'browser/renderer_host/file_utilities_message_filter.h', - 'browser/renderer_host/font_utils_linux.cc', - 'browser/renderer_host/font_utils_linux.h', - 'browser/renderer_host/frame_metadata_util.cc', - 'browser/renderer_host/frame_metadata_util.h', - 'browser/renderer_host/gamepad_browser_message_filter.cc', - 'browser/renderer_host/gamepad_browser_message_filter.h', - 'browser/renderer_host/input/gesture_event_queue.cc', - 'browser/renderer_host/input/gesture_event_queue.h', - 'browser/renderer_host/input/input_ack_handler.h', - 'browser/renderer_host/input/input_router.h', - 'browser/renderer_host/input/input_router_client.h', - 'browser/renderer_host/input/input_router_config_helper.cc', - 'browser/renderer_host/input/input_router_config_helper.h', - 'browser/renderer_host/input/input_router_impl.cc', - 'browser/renderer_host/input/input_router_impl.h', - 'browser/renderer_host/input/motion_event_web.cc', - 'browser/renderer_host/input/motion_event_web.h', - 'browser/renderer_host/input/mouse_wheel_event_queue.cc', - 'browser/renderer_host/input/mouse_wheel_event_queue.h', - 'browser/renderer_host/input/mouse_wheel_rails_filter_mac.cc', - 'browser/renderer_host/input/mouse_wheel_rails_filter_mac.h', - 'browser/renderer_host/input/render_widget_host_latency_tracker.cc', - 'browser/renderer_host/input/render_widget_host_latency_tracker.h', - 'browser/renderer_host/input/stylus_text_selector.cc', - 'browser/renderer_host/input/stylus_text_selector.h', - 'browser/renderer_host/input/synthetic_gesture.cc', - 'browser/renderer_host/input/synthetic_gesture.h', - 'browser/renderer_host/input/synthetic_gesture_controller.cc', - 'browser/renderer_host/input/synthetic_gesture_controller.h', - 'browser/renderer_host/input/synthetic_gesture_target.h', - 'browser/renderer_host/input/synthetic_gesture_target_aura.cc', - 'browser/renderer_host/input/synthetic_gesture_target_aura.h', - 'browser/renderer_host/input/synthetic_gesture_target_base.cc', - 'browser/renderer_host/input/synthetic_gesture_target_base.h', - 'browser/renderer_host/input/synthetic_gesture_target_mac.h', - 'browser/renderer_host/input/synthetic_gesture_target_mac.mm', - 'browser/renderer_host/input/synthetic_mouse_pointer.cc', - 'browser/renderer_host/input/synthetic_mouse_pointer.h', - 'browser/renderer_host/input/synthetic_pinch_gesture.cc', - 'browser/renderer_host/input/synthetic_pinch_gesture.h', - 'browser/renderer_host/input/synthetic_pointer.cc', - 'browser/renderer_host/input/synthetic_pointer.h', - 'browser/renderer_host/input/synthetic_pointer_action.cc', - 'browser/renderer_host/input/synthetic_pointer_action.h', - 'browser/renderer_host/input/synthetic_smooth_drag_gesture.cc', - 'browser/renderer_host/input/synthetic_smooth_drag_gesture.h', - 'browser/renderer_host/input/synthetic_smooth_move_gesture.cc', - 'browser/renderer_host/input/synthetic_smooth_move_gesture.h', - 'browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc', - 'browser/renderer_host/input/synthetic_smooth_scroll_gesture.h', - 'browser/renderer_host/input/synthetic_tap_gesture.cc', - 'browser/renderer_host/input/synthetic_tap_gesture.h', - 'browser/renderer_host/input/synthetic_touch_pointer.cc', - 'browser/renderer_host/input/synthetic_touch_pointer.h', - 'browser/renderer_host/input/synthetic_touchpad_pinch_gesture.cc', - 'browser/renderer_host/input/synthetic_touchpad_pinch_gesture.h', - 'browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.cc', - 'browser/renderer_host/input/synthetic_touchscreen_pinch_gesture.h', - 'browser/renderer_host/input/tap_suppression_controller.cc', - 'browser/renderer_host/input/tap_suppression_controller.h', - 'browser/renderer_host/input/tap_suppression_controller_client.h', - 'browser/renderer_host/input/timeout_monitor.cc', - 'browser/renderer_host/input/timeout_monitor.h', - 'browser/renderer_host/input/touch_action_filter.cc', - 'browser/renderer_host/input/touch_action_filter.h', - 'browser/renderer_host/input/touch_emulator.cc', - 'browser/renderer_host/input/touch_emulator.h', - 'browser/renderer_host/input/touch_emulator_client.h', - 'browser/renderer_host/input/touch_event_queue.cc', - 'browser/renderer_host/input/touch_event_queue.h', - 'browser/renderer_host/input/touch_selection_controller_client_aura.cc', - 'browser/renderer_host/input/touch_selection_controller_client_aura.h', - 'browser/renderer_host/input/touchpad_tap_suppression_controller.cc', - 'browser/renderer_host/input/touchpad_tap_suppression_controller.h', - 'browser/renderer_host/input/touchscreen_tap_suppression_controller.cc', - 'browser/renderer_host/input/touchscreen_tap_suppression_controller.h', - 'browser/renderer_host/input/web_input_event_builders_android.cc', - 'browser/renderer_host/input/web_input_event_builders_android.h', - 'browser/renderer_host/input/web_input_event_builders_mac.h', - 'browser/renderer_host/input/web_input_event_builders_mac.mm', - 'browser/renderer_host/legacy_render_widget_host_win.cc', - 'browser/renderer_host/legacy_render_widget_host_win.h', - 'browser/renderer_host/media/audio_input_debug_writer.cc', - 'browser/renderer_host/media/audio_input_debug_writer.h', - 'browser/renderer_host/media/audio_input_device_manager.cc', - 'browser/renderer_host/media/audio_input_device_manager.h', - 'browser/renderer_host/media/audio_input_renderer_host.cc', - 'browser/renderer_host/media/audio_input_renderer_host.h', - 'browser/renderer_host/media/audio_input_sync_writer.cc', - 'browser/renderer_host/media/audio_input_sync_writer.h', - 'browser/renderer_host/media/audio_output_device_enumerator.cc', - 'browser/renderer_host/media/audio_output_device_enumerator.h', - 'browser/renderer_host/media/audio_renderer_host.cc', - 'browser/renderer_host/media/audio_renderer_host.h', - 'browser/renderer_host/media/audio_sync_reader.cc', - 'browser/renderer_host/media/audio_sync_reader.h', - 'browser/renderer_host/media/media_capture_devices_impl.cc', - 'browser/renderer_host/media/media_capture_devices_impl.h', - 'browser/renderer_host/media/media_stream_dispatcher_host.cc', - 'browser/renderer_host/media/media_stream_dispatcher_host.h', - 'browser/renderer_host/media/media_stream_manager.cc', - 'browser/renderer_host/media/media_stream_manager.h', - 'browser/renderer_host/media/media_stream_provider.h', - 'browser/renderer_host/media/media_stream_requester.h', - 'browser/renderer_host/media/media_stream_track_metrics_host.cc', - 'browser/renderer_host/media/media_stream_track_metrics_host.h', - 'browser/renderer_host/media/media_stream_ui_proxy.cc', - 'browser/renderer_host/media/media_stream_ui_proxy.h', - 'browser/renderer_host/media/video_capture_buffer_pool.cc', - 'browser/renderer_host/media/video_capture_buffer_pool.h', - 'browser/renderer_host/media/video_capture_controller.cc', - 'browser/renderer_host/media/video_capture_controller.h', - 'browser/renderer_host/media/video_capture_controller_event_handler.h', - 'browser/renderer_host/media/video_capture_device_client.cc', - 'browser/renderer_host/media/video_capture_device_client.h', - 'browser/renderer_host/media/video_capture_gpu_jpeg_decoder.cc', - 'browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h', - 'browser/renderer_host/media/video_capture_host.cc', - 'browser/renderer_host/media/video_capture_host.h', - 'browser/renderer_host/media/video_capture_manager.cc', - 'browser/renderer_host/media/video_capture_manager.h', - 'browser/renderer_host/native_web_keyboard_event_aura.cc', - 'browser/renderer_host/native_web_keyboard_event_mac.mm', - 'browser/renderer_host/offscreen_canvas_surface_impl.cc', - 'browser/renderer_host/offscreen_canvas_surface_impl.h', - 'browser/renderer_host/overscroll_configuration.cc', - 'browser/renderer_host/overscroll_controller.cc', - 'browser/renderer_host/overscroll_controller.h', - 'browser/renderer_host/overscroll_controller_delegate.h', - 'browser/renderer_host/render_message_filter.cc', - 'browser/renderer_host/render_message_filter.h', - 'browser/renderer_host/render_process_host_impl.cc', - 'browser/renderer_host/render_process_host_impl.h', - 'browser/renderer_host/render_sandbox_host_linux.cc', - 'browser/renderer_host/render_sandbox_host_linux.h', - 'browser/renderer_host/render_view_host_delegate.cc', - 'browser/renderer_host/render_view_host_delegate.h', - 'browser/renderer_host/render_view_host_delegate_view.h', - 'browser/renderer_host/render_view_host_factory.cc', - 'browser/renderer_host/render_view_host_factory.h', - 'browser/renderer_host/render_view_host_impl.cc', - 'browser/renderer_host/render_view_host_impl.h', - 'browser/renderer_host/render_widget_helper.cc', - 'browser/renderer_host/render_widget_helper.h', - 'browser/renderer_host/render_widget_host_delegate.cc', - 'browser/renderer_host/render_widget_host_delegate.h', - 'browser/renderer_host/render_widget_host_impl.cc', - 'browser/renderer_host/render_widget_host_impl.h', - 'browser/renderer_host/render_widget_host_input_event_router.cc', - 'browser/renderer_host/render_widget_host_input_event_router.h', - 'browser/renderer_host/render_widget_host_owner_delegate.h', - 'browser/renderer_host/render_widget_host_view_aura.cc', - 'browser/renderer_host/render_widget_host_view_aura.h', - 'browser/renderer_host/render_widget_host_view_base.cc', - 'browser/renderer_host/render_widget_host_view_base.h', - 'browser/renderer_host/render_widget_host_view_base_observer.cc', - 'browser/renderer_host/render_widget_host_view_base_observer.h', - 'browser/renderer_host/render_widget_host_view_mac.h', - 'browser/renderer_host/render_widget_host_view_mac.mm', - 'browser/renderer_host/render_widget_host_view_mac_dictionary_helper.h', - 'browser/renderer_host/render_widget_host_view_mac_dictionary_helper.mm', - 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper.h', - 'browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm', - 'browser/renderer_host/renderer_frame_manager.cc', - 'browser/renderer_host/renderer_frame_manager.h', - 'browser/renderer_host/sandbox_ipc_linux.cc', - 'browser/renderer_host/sandbox_ipc_linux.h', - 'browser/renderer_host/text_input_client_mac.h', - 'browser/renderer_host/text_input_client_mac.mm', - 'browser/renderer_host/text_input_client_message_filter.h', - 'browser/renderer_host/text_input_client_message_filter.mm', - 'browser/renderer_host/text_input_manager.cc', - 'browser/renderer_host/text_input_manager.h', - 'browser/renderer_host/ui_events_helper.cc', - 'browser/renderer_host/ui_events_helper.h', - 'browser/renderer_host/webmenurunner_mac.h', - 'browser/renderer_host/webmenurunner_mac.mm', - 'browser/resolve_proxy_msg_helper.cc', - 'browser/resolve_proxy_msg_helper.h', - 'browser/resource_context_impl.cc', - 'browser/resource_context_impl.h', - 'browser/safe_util_win.cc', - 'browser/safe_util_win.h', - 'browser/screen_orientation/screen_orientation_delegate_win.cc', - 'browser/screen_orientation/screen_orientation_delegate_win.h', - 'browser/screen_orientation/screen_orientation_dispatcher_host_impl.cc', - 'browser/screen_orientation/screen_orientation_dispatcher_host_impl.h', - 'browser/service_worker/embedded_worker_instance.cc', - 'browser/service_worker/embedded_worker_instance.h', - 'browser/service_worker/embedded_worker_registry.cc', - 'browser/service_worker/embedded_worker_registry.h', - 'browser/service_worker/embedded_worker_status.h', - 'browser/service_worker/foreign_fetch_request_handler.cc', - 'browser/service_worker/foreign_fetch_request_handler.h', - 'browser/service_worker/link_header_support.cc', - 'browser/service_worker/link_header_support.h', - 'browser/service_worker/service_worker_blob_reader.cc', - 'browser/service_worker/service_worker_blob_reader.h', - 'browser/service_worker/service_worker_cache_writer.cc', - 'browser/service_worker/service_worker_cache_writer.h', - 'browser/service_worker/service_worker_client_utils.cc', - 'browser/service_worker/service_worker_client_utils.h', - 'browser/service_worker/service_worker_context_core.cc', - 'browser/service_worker/service_worker_context_core.h', - 'browser/service_worker/service_worker_context_observer.h', - 'browser/service_worker/service_worker_context_request_handler.cc', - 'browser/service_worker/service_worker_context_request_handler.h', - 'browser/service_worker/service_worker_context_watcher.cc', - 'browser/service_worker/service_worker_context_watcher.h', - 'browser/service_worker/service_worker_context_wrapper.cc', - 'browser/service_worker/service_worker_context_wrapper.h', - 'browser/service_worker/service_worker_controllee_request_handler.cc', - 'browser/service_worker/service_worker_controllee_request_handler.h', - 'browser/service_worker/service_worker_database.cc', - 'browser/service_worker/service_worker_database.h', - 'browser/service_worker/service_worker_database_task_manager.cc', - 'browser/service_worker/service_worker_database_task_manager.h', - 'browser/service_worker/service_worker_disk_cache.cc', - 'browser/service_worker/service_worker_disk_cache.h', - 'browser/service_worker/service_worker_dispatcher_host.cc', - 'browser/service_worker/service_worker_dispatcher_host.h', - 'browser/service_worker/service_worker_fetch_dispatcher.cc', - 'browser/service_worker/service_worker_fetch_dispatcher.h', - 'browser/service_worker/service_worker_handle.cc', - 'browser/service_worker/service_worker_handle.h', - 'browser/service_worker/service_worker_info.cc', - 'browser/service_worker/service_worker_info.h', - 'browser/service_worker/service_worker_internals_ui.cc', - 'browser/service_worker/service_worker_internals_ui.h', - 'browser/service_worker/service_worker_job_coordinator.cc', - 'browser/service_worker/service_worker_job_coordinator.h', - 'browser/service_worker/service_worker_metrics.cc', - 'browser/service_worker/service_worker_metrics.h', - 'browser/service_worker/service_worker_process_manager.cc', - 'browser/service_worker/service_worker_process_manager.h', - 'browser/service_worker/service_worker_provider_host.cc', - 'browser/service_worker/service_worker_provider_host.h', - 'browser/service_worker/service_worker_quota_client.cc', - 'browser/service_worker/service_worker_quota_client.h', - 'browser/service_worker/service_worker_read_from_cache_job.cc', - 'browser/service_worker/service_worker_read_from_cache_job.h', - 'browser/service_worker/service_worker_register_job.cc', - 'browser/service_worker/service_worker_register_job.h', - 'browser/service_worker/service_worker_register_job_base.h', - 'browser/service_worker/service_worker_registration.cc', - 'browser/service_worker/service_worker_registration.h', - 'browser/service_worker/service_worker_registration_handle.cc', - 'browser/service_worker/service_worker_registration_handle.h', - 'browser/service_worker/service_worker_registration_status.cc', - 'browser/service_worker/service_worker_registration_status.h', - 'browser/service_worker/service_worker_request_handler.cc', - 'browser/service_worker/service_worker_request_handler.h', - 'browser/service_worker/service_worker_response_info.cc', - 'browser/service_worker/service_worker_response_info.h', - 'browser/service_worker/service_worker_script_cache_map.cc', - 'browser/service_worker/service_worker_script_cache_map.h', - 'browser/service_worker/service_worker_storage.cc', - 'browser/service_worker/service_worker_storage.h', - 'browser/service_worker/service_worker_stream_reader.cc', - 'browser/service_worker/service_worker_stream_reader.h', - 'browser/service_worker/service_worker_unregister_job.cc', - 'browser/service_worker/service_worker_unregister_job.h', - 'browser/service_worker/service_worker_url_request_job.cc', - 'browser/service_worker/service_worker_url_request_job.h', - 'browser/service_worker/service_worker_version.cc', - 'browser/service_worker/service_worker_version.h', - 'browser/service_worker/service_worker_write_to_cache_job.cc', - 'browser/service_worker/service_worker_write_to_cache_job.h', - 'browser/shared_worker/shared_worker_host.cc', - 'browser/shared_worker/shared_worker_host.h', - 'browser/shared_worker/shared_worker_instance.cc', - 'browser/shared_worker/shared_worker_instance.h', - 'browser/shared_worker/shared_worker_message_filter.cc', - 'browser/shared_worker/shared_worker_message_filter.h', - 'browser/shared_worker/shared_worker_service_impl.cc', - 'browser/shared_worker/shared_worker_service_impl.h', - 'browser/shared_worker/worker_document_set.cc', - 'browser/shared_worker/worker_document_set.h', - 'browser/shared_worker/worker_storage_partition.cc', - 'browser/shared_worker/worker_storage_partition.h', - 'browser/site_instance_impl.cc', - 'browser/site_instance_impl.h', - 'browser/speech/audio_buffer.cc', - 'browser/speech/audio_buffer.h', - 'browser/speech/audio_encoder.cc', - 'browser/speech/audio_encoder.h', - 'browser/speech/chunked_byte_buffer.cc', - 'browser/speech/chunked_byte_buffer.h', - 'browser/speech/endpointer/endpointer.cc', - 'browser/speech/endpointer/endpointer.h', - 'browser/speech/endpointer/energy_endpointer.cc', - 'browser/speech/endpointer/energy_endpointer.h', - 'browser/speech/endpointer/energy_endpointer_params.cc', - 'browser/speech/endpointer/energy_endpointer_params.h', - 'browser/speech/speech_recognition_dispatcher_host.cc', - 'browser/speech/speech_recognition_dispatcher_host.h', - 'browser/speech/speech_recognition_engine.cc', - 'browser/speech/speech_recognition_engine.h', - 'browser/speech/speech_recognition_manager_impl.cc', - 'browser/speech/speech_recognition_manager_impl.h', - 'browser/speech/speech_recognizer.h', - 'browser/speech/speech_recognizer_impl.cc', - 'browser/speech/speech_recognizer_impl.h', - 'browser/speech/speech_recognizer_impl_android.cc', - 'browser/speech/speech_recognizer_impl_android.h', - 'browser/ssl/ssl_client_auth_handler.cc', - 'browser/ssl/ssl_client_auth_handler.h', - 'browser/ssl/ssl_error_handler.cc', - 'browser/ssl/ssl_error_handler.h', - 'browser/ssl/ssl_manager.cc', - 'browser/ssl/ssl_manager.h', - 'browser/ssl/ssl_policy.cc', - 'browser/ssl/ssl_policy.h', - 'browser/ssl/ssl_policy_backend.cc', - 'browser/ssl/ssl_policy_backend.h', - 'browser/startup_task_runner.cc', - 'browser/startup_task_runner.h', - 'browser/storage_partition_impl.cc', - 'browser/storage_partition_impl.h', - 'browser/storage_partition_impl_map.cc', - 'browser/storage_partition_impl_map.h', - 'browser/streams/stream.cc', - 'browser/streams/stream.h', - 'browser/streams/stream_context.cc', - 'browser/streams/stream_context.h', - 'browser/streams/stream_handle_impl.cc', - 'browser/streams/stream_handle_impl.h', - 'browser/streams/stream_read_observer.h', - 'browser/streams/stream_register_observer.h', - 'browser/streams/stream_registry.cc', - 'browser/streams/stream_registry.h', - 'browser/streams/stream_url_request_job.cc', - 'browser/streams/stream_url_request_job.h', - 'browser/streams/stream_write_observer.h', - 'browser/theme_helper_mac.h', - 'browser/theme_helper_mac.mm', - 'browser/time_zone_monitor.cc', - 'browser/time_zone_monitor.h', - 'browser/time_zone_monitor_android.cc', - 'browser/time_zone_monitor_android.h', - 'browser/time_zone_monitor_chromeos.cc', - 'browser/time_zone_monitor_linux.cc', - 'browser/time_zone_monitor_mac.mm', - 'browser/time_zone_monitor_win.cc', - 'browser/tracing/background_tracing_config_impl.cc', - 'browser/tracing/background_tracing_config_impl.h', - 'browser/tracing/background_tracing_manager_impl.cc', - 'browser/tracing/background_tracing_manager_impl.h', - 'browser/tracing/background_tracing_rule.cc', - 'browser/tracing/background_tracing_rule.h', - 'browser/tracing/etw_tracing_agent_win.cc', - 'browser/tracing/etw_tracing_agent_win.h', - 'browser/tracing/file_tracing_provider_impl.cc', - 'browser/tracing/file_tracing_provider_impl.h', - 'browser/tracing/trace_message_filter.cc', - 'browser/tracing/trace_message_filter.h', - 'browser/tracing/tracing_controller_impl.cc', - 'browser/tracing/tracing_controller_impl.h', - 'browser/tracing/tracing_controller_impl_data_sinks.cc', - 'browser/tracing/tracing_ui.cc', - 'browser/tracing/tracing_ui.h', - 'browser/user_metrics.cc', - 'browser/utility_process_host_impl.cc', - 'browser/utility_process_host_impl.h', - 'browser/wake_lock/wake_lock_service_context.cc', - 'browser/wake_lock/wake_lock_service_context.h', - 'browser/wake_lock/wake_lock_service_impl.cc', - 'browser/wake_lock/wake_lock_service_impl.h', - 'browser/web_contents/aura/gesture_nav_simple.cc', - 'browser/web_contents/aura/gesture_nav_simple.h', - 'browser/web_contents/aura/overscroll_navigation_overlay.cc', - 'browser/web_contents/aura/overscroll_navigation_overlay.h', - 'browser/web_contents/aura/overscroll_window_animation.cc', - 'browser/web_contents/aura/overscroll_window_animation.h', - 'browser/web_contents/aura/overscroll_window_delegate.cc', - 'browser/web_contents/aura/overscroll_window_delegate.h', - 'browser/web_contents/aura/shadow_layer_delegate.cc', - 'browser/web_contents/aura/shadow_layer_delegate.h', - 'browser/web_contents/web_contents_impl.cc', - 'browser/web_contents/web_contents_impl.h', - 'browser/web_contents/web_contents_view.h', - 'browser/web_contents/web_contents_view_aura.cc', - 'browser/web_contents/web_contents_view_aura.h', - 'browser/web_contents/web_contents_view_child_frame.cc', - 'browser/web_contents/web_contents_view_child_frame.h', - 'browser/web_contents/web_contents_view_guest.cc', - 'browser/web_contents/web_contents_view_guest.h', - 'browser/web_contents/web_contents_view_mac.h', - 'browser/web_contents/web_contents_view_mac.mm', - 'browser/web_contents/web_drag_dest_mac.h', - 'browser/web_contents/web_drag_dest_mac.mm', - 'browser/web_contents/web_drag_source_mac.h', - 'browser/web_contents/web_drag_source_mac.mm', - 'browser/web_contents/web_drag_utils_win.cc', - 'browser/web_contents/web_drag_utils_win.h', - 'browser/webui/content_web_ui_controller_factory.cc', - 'browser/webui/content_web_ui_controller_factory.h', - 'browser/webui/generic_handler.cc', - 'browser/webui/generic_handler.h', - 'browser/webui/shared_resources_data_source.cc', - 'browser/webui/shared_resources_data_source.h', - 'browser/webui/url_data_manager.cc', - 'browser/webui/url_data_manager.h', - 'browser/webui/url_data_manager_backend.cc', - 'browser/webui/url_data_manager_backend.h', - 'browser/webui/url_data_source_impl.cc', - 'browser/webui/url_data_source_impl.h', - 'browser/webui/web_ui_controller_factory_registry.cc', - 'browser/webui/web_ui_controller_factory_registry.h', - 'browser/webui/web_ui_data_source_impl.cc', - 'browser/webui/web_ui_data_source_impl.h', - 'browser/webui/web_ui_impl.cc', - 'browser/webui/web_ui_impl.h', - 'browser/webui/web_ui_message_handler.cc', - 'browser/websockets/websocket_impl.cc', - 'browser/websockets/websocket_impl.h', - 'browser/websockets/websocket_manager.cc', - 'browser/websockets/websocket_manager.h', - 'browser/zygote_host/zygote_communication_linux.cc', - 'browser/zygote_host/zygote_communication_linux.h', - 'browser/zygote_host/zygote_handle_linux.cc', - 'browser/zygote_host/zygote_host_impl_linux.cc', - 'browser/zygote_host/zygote_host_impl_linux.h', - 'common/mojo/mojo_child_connection.cc', - 'common/mojo/mojo_child_connection.h', - 'zygote/zygote_linux.cc', - 'zygote/zygote_linux.h', - 'zygote/zygote_main_linux.cc', - ], - 'android_browser_sources': [ - 'browser/accessibility/accessibility_tree_formatter_android.cc', - 'browser/accessibility/browser_accessibility_android.cc', - 'browser/accessibility/browser_accessibility_android.h', - 'browser/accessibility/browser_accessibility_manager_android.cc', - 'browser/accessibility/browser_accessibility_manager_android.h', - 'browser/android/composited_touch_handle_drawable.cc', - 'browser/android/composited_touch_handle_drawable.h', - 'browser/android/content_view_core_impl.cc', - 'browser/android/content_view_core_impl.h', - 'browser/android/content_view_core_impl_observer.h', - 'browser/android/content_view_render_view.cc', - 'browser/android/content_view_render_view.h', - 'browser/android/content_view_statics.cc', - 'browser/android/content_view_statics.h', - 'browser/android/date_time_chooser_android.cc', - 'browser/android/date_time_chooser_android.h', - 'browser/android/gesture_event_type.h', - 'browser/android/interstitial_page_delegate_android.cc', - 'browser/android/interstitial_page_delegate_android.h', - 'browser/android/java/gin_java_bound_object.cc', - 'browser/android/java/gin_java_bound_object.h', - 'browser/android/java/gin_java_bound_object_delegate.cc', - 'browser/android/java/gin_java_bound_object_delegate.h', - 'browser/android/java/gin_java_bridge_dispatcher_host.cc', - 'browser/android/java/gin_java_bridge_dispatcher_host.h', - 'browser/android/java/gin_java_bridge_message_filter.cc', - 'browser/android/java/gin_java_bridge_message_filter.h', - 'browser/android/java/gin_java_method_invocation_helper.cc', - 'browser/android/java/gin_java_method_invocation_helper.h', - 'browser/android/java/gin_java_script_to_java_types_coercion.cc', - 'browser/android/java/gin_java_script_to_java_types_coercion.h', - 'browser/android/java/java_bridge_thread.cc', - 'browser/android/java/java_bridge_thread.h', - 'browser/android/java/java_method.cc', - 'browser/android/java/java_method.h', - 'browser/android/java/java_type.cc', - 'browser/android/java/java_type.h', - 'browser/android/java/jni_helper.cc', - 'browser/android/java/jni_helper.h', - 'browser/android/load_url_params.cc', - 'browser/android/load_url_params.h', - 'browser/android/overscroll_controller_android.cc', - 'browser/android/overscroll_controller_android.h', - 'browser/android/synchronous_compositor_host.cc', - 'browser/android/synchronous_compositor_host.h', - 'browser/android/synchronous_compositor_observer.cc', - 'browser/android/synchronous_compositor_observer.h', - 'browser/android/tracing_controller_android.cc', - 'browser/android/tracing_controller_android.h', - 'browser/android/web_contents_observer_proxy.cc', - 'browser/android/web_contents_observer_proxy.h', - 'browser/media/capture/screen_capture_device_android.cc', - 'browser/media/capture/screen_capture_device_android.h', - 'browser/renderer_host/compositor_impl_android.cc', - 'browser/renderer_host/compositor_impl_android.h', - 'browser/renderer_host/context_provider_factory_impl_android.cc', - 'browser/renderer_host/context_provider_factory_impl_android.h', - 'browser/renderer_host/ime_adapter_android.cc', - 'browser/renderer_host/ime_adapter_android.h', - 'browser/renderer_host/input/synthetic_gesture_target_android.cc', - 'browser/renderer_host/input/synthetic_gesture_target_android.h', - 'browser/renderer_host/native_web_keyboard_event_android.cc', - 'browser/renderer_host/render_widget_host_view_android.cc', - 'browser/renderer_host/render_widget_host_view_android.h', - 'browser/screen_orientation/screen_orientation_delegate_android.cc', - 'browser/screen_orientation/screen_orientation_delegate_android.h', - 'browser/screen_orientation/screen_orientation_message_filter_android.cc', - 'browser/screen_orientation/screen_orientation_message_filter_android.h', - 'browser/web_contents/web_contents_android.cc', - 'browser/web_contents/web_contents_android.h', - 'browser/web_contents/web_contents_view_android.cc', - 'browser/web_contents/web_contents_view_android.h', - ], - 'auralinux_browser_sources': [ - 'browser/accessibility/accessibility_tree_formatter_auralinux.cc', - 'browser/accessibility/browser_accessibility_auralinux.cc', - 'browser/accessibility/browser_accessibility_auralinux.h', - 'browser/accessibility/browser_accessibility_manager_auralinux.cc', - 'browser/accessibility/browser_accessibility_manager_auralinux.h', - ], - 'webrtc_browser_sources': [ - 'browser/renderer_host/media/peer_connection_tracker_host.cc', - 'browser/renderer_host/media/peer_connection_tracker_host.h', - 'browser/renderer_host/p2p/socket_dispatcher_host.cc', - 'browser/renderer_host/p2p/socket_dispatcher_host.h', - 'browser/renderer_host/p2p/socket_host.cc', - 'browser/renderer_host/p2p/socket_host.h', - 'browser/renderer_host/p2p/socket_host_tcp.cc', - 'browser/renderer_host/p2p/socket_host_tcp.h', - 'browser/renderer_host/p2p/socket_host_tcp_server.cc', - 'browser/renderer_host/p2p/socket_host_tcp_server.h', - 'browser/renderer_host/p2p/socket_host_throttler.cc', - 'browser/renderer_host/p2p/socket_host_throttler.h', - 'browser/renderer_host/p2p/socket_host_udp.cc', - 'browser/renderer_host/p2p/socket_host_udp.h', - 'browser/webrtc/webrtc_eventlog_host.cc', - 'browser/webrtc/webrtc_eventlog_host.h', - 'browser/webrtc/webrtc_internals.cc', - 'browser/webrtc/webrtc_internals.h', - 'browser/webrtc/webrtc_internals_message_handler.cc', - 'browser/webrtc/webrtc_internals_message_handler.h', - 'browser/webrtc/webrtc_internals_ui.cc', - 'browser/webrtc/webrtc_internals_ui.h', - 'browser/webrtc/webrtc_internals_ui_observer.h', - ], - 'compositor_browser_sources': [ - 'browser/compositor/browser_compositor_output_surface.cc', - 'browser/compositor/browser_compositor_output_surface.h', - 'browser/compositor/gpu_browser_compositor_output_surface.cc', - 'browser/compositor/gpu_browser_compositor_output_surface.h', - 'browser/compositor/gpu_output_surface_mac.h', - 'browser/compositor/gpu_output_surface_mac.mm', - 'browser/compositor/gpu_process_transport_factory.cc', - 'browser/compositor/gpu_process_transport_factory.h', - 'browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc', - 'browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h', - 'browser/compositor/image_transport_factory.cc', - 'browser/compositor/image_transport_factory.h', - 'browser/compositor/offscreen_browser_compositor_output_surface.cc', - 'browser/compositor/offscreen_browser_compositor_output_surface.h', - 'browser/compositor/owned_mailbox.cc', - 'browser/compositor/owned_mailbox.h', - 'browser/compositor/reflector_impl.cc', - 'browser/compositor/reflector_impl.h', - 'browser/compositor/reflector_texture.cc', - 'browser/compositor/reflector_texture.h', - 'browser/compositor/software_browser_compositor_output_surface.cc', - 'browser/compositor/software_browser_compositor_output_surface.h', - 'browser/compositor/software_output_device_mac.h', - 'browser/compositor/software_output_device_mac.mm', - 'browser/compositor/software_output_device_ozone.cc', - 'browser/compositor/software_output_device_ozone.h', - 'browser/compositor/software_output_device_win.cc', - 'browser/compositor/software_output_device_win.h', - 'browser/compositor/software_output_device_x11.cc', - 'browser/compositor/software_output_device_x11.h', - 'browser/context_factory.cc', - 'browser/renderer_host/browser_compositor_view_mac.h', - 'browser/renderer_host/browser_compositor_view_mac.mm', - 'browser/renderer_host/delegated_frame_host.cc', - 'browser/renderer_host/delegated_frame_host.h', - 'browser/renderer_host/resize_lock.cc', - 'browser/renderer_host/resize_lock.h', - ], - 'plugin_browser_sources': [ - 'browser/media/session/pepper_playback_observer.cc', - 'browser/media/session/pepper_playback_observer.h', - 'browser/media/session/pepper_player_delegate.cc', - 'browser/media/session/pepper_player_delegate.h', - 'browser/pepper_flash_settings_helper_impl.cc', - 'browser/pepper_flash_settings_helper_impl.h', - 'browser/plugin_content_origin_whitelist.cc', - 'browser/plugin_content_origin_whitelist.h', - 'browser/plugin_data_remover_impl.cc', - 'browser/plugin_data_remover_impl.h', - 'browser/plugin_private_storage_helper.cc', - 'browser/plugin_private_storage_helper.h', - 'browser/plugin_service_impl.cc', - 'browser/plugin_service_impl.h', - 'browser/ppapi_plugin_process_host.cc', - 'browser/ppapi_plugin_process_host.h', - 'browser/renderer_host/pepper/browser_ppapi_host_impl.cc', - 'browser/renderer_host/pepper/browser_ppapi_host_impl.h', - 'browser/renderer_host/pepper/content_browser_pepper_host_factory.cc', - 'browser/renderer_host/pepper/content_browser_pepper_host_factory.h', - 'browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc', - 'browser/renderer_host/pepper/pepper_browser_font_singleton_host.h', - 'browser/renderer_host/pepper/pepper_external_file_ref_backend.cc', - 'browser/renderer_host/pepper/pepper_external_file_ref_backend.h', - 'browser/renderer_host/pepper/pepper_file_io_host.cc', - 'browser/renderer_host/pepper/pepper_file_io_host.h', - 'browser/renderer_host/pepper/pepper_file_ref_host.cc', - 'browser/renderer_host/pepper/pepper_file_ref_host.h', - 'browser/renderer_host/pepper/pepper_file_system_browser_host.cc', - 'browser/renderer_host/pepper/pepper_file_system_browser_host.h', - 'browser/renderer_host/pepper/pepper_flash_file_message_filter.cc', - 'browser/renderer_host/pepper/pepper_flash_file_message_filter.h', - 'browser/renderer_host/pepper/pepper_gamepad_host.cc', - 'browser/renderer_host/pepper/pepper_gamepad_host.h', - 'browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc', - 'browser/renderer_host/pepper/pepper_host_resolver_message_filter.h', - 'browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc', - 'browser/renderer_host/pepper/pepper_internal_file_ref_backend.h', - 'browser/renderer_host/pepper/pepper_lookup_request.h', - 'browser/renderer_host/pepper/pepper_message_filter.cc', - 'browser/renderer_host/pepper/pepper_message_filter.h', - 'browser/renderer_host/pepper/pepper_network_monitor_host.cc', - 'browser/renderer_host/pepper/pepper_network_monitor_host.h', - 'browser/renderer_host/pepper/pepper_network_proxy_host.cc', - 'browser/renderer_host/pepper/pepper_network_proxy_host.h', - 'browser/renderer_host/pepper/pepper_print_settings_manager.cc', - 'browser/renderer_host/pepper/pepper_print_settings_manager.h', - 'browser/renderer_host/pepper/pepper_printing_host.cc', - 'browser/renderer_host/pepper/pepper_printing_host.h', - 'browser/renderer_host/pepper/pepper_renderer_connection.cc', - 'browser/renderer_host/pepper/pepper_renderer_connection.h', - 'browser/renderer_host/pepper/pepper_security_helper.cc', - 'browser/renderer_host/pepper/pepper_security_helper.h', - 'browser/renderer_host/pepper/pepper_socket_utils.cc', - 'browser/renderer_host/pepper/pepper_socket_utils.h', - 'browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc', - 'browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h', - 'browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc', - 'browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h', - 'browser/renderer_host/pepper/pepper_truetype_font.h', - 'browser/renderer_host/pepper/pepper_truetype_font_android.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_host.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_host.h', - 'browser/renderer_host/pepper/pepper_truetype_font_linux.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_list.h', - 'browser/renderer_host/pepper/pepper_truetype_font_list_android.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_list_host.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_list_host.h', - 'browser/renderer_host/pepper/pepper_truetype_font_list_mac.mm', - 'browser/renderer_host/pepper/pepper_truetype_font_list_ozone.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_list_pango.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_list_win.cc', - 'browser/renderer_host/pepper/pepper_truetype_font_mac.mm', - 'browser/renderer_host/pepper/pepper_truetype_font_win.cc', - 'browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc', - 'browser/renderer_host/pepper/pepper_udp_socket_message_filter.h', - 'browser/renderer_host/pepper/pepper_vpn_provider_message_filter_chromeos.cc', - 'browser/renderer_host/pepper/pepper_vpn_provider_message_filter_chromeos.h', - 'browser/renderer_host/pepper/quota_reservation.cc', - 'browser/renderer_host/pepper/quota_reservation.h', - 'browser/renderer_host/pepper/ssl_context_helper.cc', - 'browser/renderer_host/pepper/ssl_context_helper.h', - 'public/browser/plugin_service.h', - ], - }, - 'sources': [ - '<@(public_browser_sources)', - '<@(private_browser_sources)', - ], - 'conditions': [ - ['OS != "win"', { - 'sources': [ - 'browser/file_descriptor_info_impl.cc', - 'browser/file_descriptor_info_impl.h', - ] - }], - ['debug_devtools==1', { - 'defines': [ - 'DEBUG_DEVTOOLS=1', - ], - }], - ['enable_basic_printing==1 or enable_print_preview==1', { - 'dependencies': [ - '../printing/printing.gyp:printing', - ], - }], - ['chrome_multiple_dll!=1', { - 'dependencies': [ - '../third_party/WebKit/public/blink.gyp:blink', - ], - }], - ['OS!="android"', { - 'dependencies': [ - 'browser/tracing/tracing_resources.gyp:tracing_resources', - '../ui/compositor/compositor.gyp:compositor', - ], - 'sources': [ '<@(compositor_browser_sources)' ], - }, { - 'sources/': [ - ['exclude', '^public/browser/context_factory.h'], - ] - }], - ['(use_udev==1 and os_posix==1) or OS=="mac" or OS=="win"', { - 'dependencies': [ - '../tools/battor_agent/battor_agent.gyp:battor_agent_lib', - ], - 'sources': [ - 'browser/tracing/power_tracing_agent.cc', - 'browser/tracing/power_tracing_agent.h', - ], - }], - ['enable_webrtc==1', { - 'dependencies': [ - '../jingle/jingle.gyp:jingle_glue', - ], - 'sources': [ - '<@(webrtc_browser_sources)', - ], - }], - ['enable_webrtc==1 and OS=="linux"', { - 'dependencies': [ - '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', - ], - }], - ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', { - 'sources': [ - 'browser/media/capture/desktop_capture_device.cc', - 'browser/media/capture/desktop_capture_device.h', - ], - 'dependencies': [ - '../third_party/webrtc/modules/modules.gyp:desktop_capture', - ], - 'defines': [ - 'ENABLE_SCREEN_CAPTURE=1', - ], - }], - ['enable_webrtc==1 and use_aura==1', { - 'sources': [ - "browser/media/capture/aura_window_capture_machine.cc", - "browser/media/capture/aura_window_capture_machine.h", - 'browser/media/capture/desktop_capture_device_aura.cc', - 'browser/media/capture/desktop_capture_device_aura.h', - ], - }], - ['OS=="win"', { - 'dependencies': [ - # For accessibility - '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', - '../third_party/isimpledom/isimpledom.gyp:isimpledom', - ], - 'sources/': [ - ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default.cc$'], - ], - 'defines': [ - # This prevents the inclusion of atlhost.h which paired - # with the windows 8 sdk it does the wrong thing. - '__ATLHOST_H__', - ], - 'link_settings': { - 'libraries': [ - '-lcomctl32.lib', - '-ldinput8.lib', - '-ldwmapi.lib', - '-ldxguid.lib', - '-limm32.lib', - '-lsensorsapi.lib', - '-lportabledeviceguids.lib', - ], - 'msvs_settings': { - 'VCLinkerTool': { - 'DelayLoadDLLs': [ - 'dinput8.dll', - 'user32.dll', - 'dwmapi.dll', - ], - }, - }, - }, - }], - ['OS=="linux" and chromeos==0 and use_x11==1', { - 'dependencies': [ - '../build/linux/system.gyp:atk', - '../build/linux/system.gyp:gconf', - '../build/linux/system.gyp:glib', - '../build/linux/system.gyp:xscrnsaver', - ], - 'variables': { - 'clang_warning_flags': [ - # glib uses the pre-c++11 typedef-as-static_assert hack. - '-Wno-unused-local-typedefs', - ], - }, - 'sources': [ - '<@(auralinux_browser_sources)', - ], - }], - ['use_udev == 1', { - 'dependencies': [ - '../device/udev_linux/udev.gyp:udev_linux', - '../media/capture/capture.gyp:capture', - ], - }], - ['OS=="linux" and use_aura==1', { - 'dependencies': [ - '../build/linux/system.gyp:fontconfig', - ], - }], - ['use_x11==1', { - 'dependencies': [ - '../build/linux/system.gyp:x11', - '../ui/base/x/ui_base_x.gyp:ui_base_x', - '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platform', - '../ui/gfx/x/gfx_x11.gyp:gfx_x11', - ], - }], - ['use_pango==1', { - 'dependencies': [ - '../build/linux/system.gyp:pangocairo', - ], - 'sources!': [ - 'browser/renderer_host/pepper/pepper_truetype_font_list_ozone.cc', - ], - }], - ['OS=="android"', { - 'dependencies': [ - '../media/media.gyp:media', - '../media/mojo/interfaces/mojo_bindings.gyp:provision_fetcher_api', - '../mojo/mojo_base.gyp:libmojo_system_java', - '../ui/android/ui_android.gyp:ui_android', - 'content.gyp:content_jni_headers', - ], - 'dependencies!': [ - '../device/battery/battery.gyp:device_battery', - ], - 'defines': ['APPCACHE_USE_SIMPLE_CACHE'], - 'direct_dependent_settings': { - 'defines': ['APPCACHE_USE_SIMPLE_CACHE'], - }, - 'link_settings': { - 'libraries': [ - '-ljnigraphics', - ], - }, - 'sources/': [ - ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default\\.cc$'], - ['exclude', '^browser/tracing/trace_uploader\\.(cc|h)$'], - ['exclude', '^browser/tracing/tracing_ui\\.(cc|h)$'], - ], - 'sources': [ - '<@(android_browser_sources)', - ], - 'sources!': [ - 'browser/browser_ipc_logging.cc', - 'browser/media/session/media_session_delegate_default.cc', - 'browser/power_usage_monitor_impl.cc', - 'browser/power_usage_monitor_impl.h', - 'browser/renderer_host/native_web_keyboard_event.cc', - ] - }], - ['OS=="mac"', { - 'sources/': [ - ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default.cc$'], - ], - 'dependencies': [ - '../media/media.gyp:media', - '../third_party/mozilla/mozilla.gyp:mozilla', - '../third_party/sudden_motion_sensor/sudden_motion_sensor.gyp:sudden_motion_sensor', - '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac', - ], - }], - ['chromeos==1', { - 'dependencies': [ - '../build/linux/system.gyp:dbus', - '../chromeos/chromeos.gyp:chromeos', - '../chromeos/chromeos.gyp:power_manager_proto', - ], - 'sources!': [ - 'browser/device_sensors/data_fetcher_shared_memory_default.cc', - ], - }], - ['use_aura==1', { - 'dependencies': [ - '../ui/aura/aura.gyp:aura', - '../ui/aura_extra/aura_extra.gyp:aura_extra', - '../ui/strings/ui_strings.gyp:ui_strings', - ], - }, { - 'sources/': [ - ['exclude', '^browser/media/capture/cursor_renderer_aura.cc'], - ['exclude', '^browser/media/capture/cursor_renderer_aura.h'], - ['exclude', '^browser/renderer_host/input/touch_selection_controller_client_aura.cc'], - ['exclude', '^browser/renderer_host/input/touch_selection_controller_client_aura.h'], - ['exclude', '^browser/renderer_host/render_widget_host_view_aura.cc'], - ['exclude', '^browser/renderer_host/render_widget_host_view_aura.h'], - ['exclude', '^browser/renderer_host/ui_events_helper.cc'], - ['exclude', '^browser/renderer_host/ui_events_helper.h'], - ], - }], - ['enable_plugins==1', { - 'dependencies': [ - '../ppapi/ppapi_internal.gyp:ppapi_ipc', - '../ppapi/ppapi_internal.gyp:ppapi_shared', - ], - 'sources': [ - '<@(plugin_browser_sources)', - ], - }], - ['enable_web_speech==1', { - 'dependencies': [ - '../third_party/flac/flac.gyp:libflac', - ], - }], - ['enable_web_speech==0 and OS=="android"', { - 'sources/': [ - ['exclude', '^browser/speech/'], - ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h)$'], - ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'], - ['include', '^browser/speech/speech_recognizer\\.h$'], - ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'], - ], - }], - ['OS == "linux" and use_dbus==1', { - 'dependencies': [ - '../build/linux/system.gyp:dbus', - '../dbus/dbus.gyp:dbus', - ], - }], - ['enable_browser_cdms==1', { - 'sources': [ - 'browser/media/cdm/browser_cdm_manager.cc', - 'browser/media/cdm/browser_cdm_manager.h', - ], - }], - ['OS == "linux"', { - 'dependencies': [ - '../third_party/boringssl/boringssl.gyp:boringssl', - ], - }], - ['use_minikin_hyphenation==1', { - 'private_browser_sources': [ - 'browser/hyphenation/hyphenation_impl.cc', - 'browser/hyphenation/hyphenation_impl.h', - ], - }], - ['enable_webvr==1', { - 'sources': [ - 'browser/vr/vr_device.cc', - 'browser/vr/vr_device.h', - 'browser/vr/vr_device_manager.cc', - 'browser/vr/vr_device_manager.h', - 'browser/vr/vr_device_provider.h', - ] - }], - ['enable_webvr==1 and OS=="android"', { - 'sources': [ - 'browser/vr/android/cardboard/cardboard_vr_device.cc', - 'browser/vr/android/cardboard/cardboard_vr_device.h', - 'browser/vr/android/cardboard/cardboard_vr_device_provider.cc', - 'browser/vr/android/cardboard/cardboard_vr_device_provider.h', - ], - }], - ['OS != "mac" and OS != "android"', { - 'sources!': [ - 'browser/gpu/gpu_surface_tracker.cc', - 'browser/gpu/gpu_surface_tracker.h', - ], - }], - ], -} diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp deleted file mode 100644 index 3ef19c24fd76c..0000000000000 --- a/courgette/courgette.gyp +++ /dev/null @@ -1,251 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'variables': { - 'chromium_code': 1, - 'courgette_lib_sources': [ - 'adjustment_method.cc', - 'adjustment_method_2.cc', - 'adjustment_method.h', - 'assembly_program.cc', - 'assembly_program.h', - 'consecutive_range_visitor.h', - 'courgette.h', - 'crc.cc', - 'crc.h', - 'difference_estimator.cc', - 'difference_estimator.h', - 'disassembler.cc', - 'disassembler.h', - 'disassembler_elf_32.cc', - 'disassembler_elf_32.h', - 'disassembler_elf_32_arm.cc', - 'disassembler_elf_32_arm.h', - 'disassembler_elf_32_x86.cc', - 'disassembler_elf_32_x86.h', - 'disassembler_win32.cc', - 'disassembler_win32.h', - 'disassembler_win32_x86.cc', - 'disassembler_win32_x86.h', - 'disassembler_win32_x64.cc', - 'disassembler_win32_x64.h', - 'encoded_program.cc', - 'encoded_program.h', - 'ensemble.cc', - 'ensemble.h', - 'ensemble_apply.cc', - 'ensemble_create.cc', - 'image_utils.h', - 'label_manager.cc', - 'label_manager.h', - 'memory_allocator.cc', - 'memory_allocator.h', - 'patch_generator_x86_32.h', - 'patcher_x86_32.h', - 'program_detector.cc', - 'program_detector.h', - 'region.h', - 'rel32_finder.cc', - 'rel32_finder.h', - 'rel32_finder_x64.cc', - 'rel32_finder_x64.h', - 'rel32_finder_x86.cc', - 'rel32_finder_x86.h', - 'simple_delta.cc', - 'simple_delta.h', - 'streams.cc', - 'streams.h', - 'third_party/bsdiff/bsdiff.h', - 'third_party/bsdiff/bsdiff_apply.cc', - 'third_party/bsdiff/bsdiff_create.cc', - 'third_party/bsdiff/bsdiff_search.h', - 'third_party/bsdiff/paged_array.h', - 'third_party/divsufsort/divsufsort.cc', - 'third_party/divsufsort/divsufsort.h', - 'third_party/divsufsort/divsufsort_private.h', - 'third_party/divsufsort/sssort.cc', - 'third_party/divsufsort/trsort.cc', - 'types_elf.h', - 'types_win_pe.h', - ], - }, - 'targets': [ - { - 'target_name': 'courgette_lib', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - '../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk', - ], - 'sources': [ - '<@(courgette_lib_sources)' - ], - }, - { - 'target_name': 'courgette', - 'type': 'executable', - 'sources': [ - 'courgette_tool.cc', - ], - 'dependencies': [ - 'courgette_lib', - '../base/base.gyp:base', - ], - 'msvs_settings': { - 'VCLinkerTool': { - 'LargeAddressAware': 2, - }, - }, - }, - { - 'target_name': 'courgette_minimal_tool', - 'type': 'executable', - 'sources': [ - 'courgette_minimal_tool.cc', - ], - 'dependencies': [ - 'courgette_lib', - '../base/base.gyp:base', - ], - }, - { - 'target_name': 'courgette_unittests', - 'type': 'executable', - 'sources': [ - 'adjustment_method_unittest.cc', - 'bsdiff_memory_unittest.cc', - 'base_test_unittest.cc', - 'base_test_unittest.h', - 'consecutive_range_visitor_unittest.cc', - 'difference_estimator_unittest.cc', - 'disassembler_elf_32_x86_unittest.cc', - 'disassembler_win32_x86_unittest.cc', - 'disassembler_win32_x64_unittest.cc', - 'encoded_program_unittest.cc', - 'encode_decode_unittest.cc', - 'ensemble_unittest.cc', - 'image_utils_unittest.cc', - 'label_manager_unittest.cc', - 'memory_allocator_unittest.cc', - 'program_detector_unittest.cc', - 'rel32_finder_unittest.cc', - 'streams_unittest.cc', - 'typedrva_unittest.cc', - 'versioning_unittest.cc', - 'third_party/bsdiff/bsdiff_search_unittest.cc', - 'third_party/bsdiff/paged_array_unittest.cc', - 'third_party/divsufsort/divsufsort_unittest.cc', - ], - 'dependencies': [ - 'courgette_lib', - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../base/base.gyp:run_all_unittests', - '../base/base.gyp:test_support_base', - '../testing/gtest.gyp:gtest', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'courgette_fuzz', - 'type': 'executable', - 'sources': [ - 'base_test_unittest.cc', - 'base_test_unittest.h', - 'encoded_program_fuzz_unittest.cc', - ], - 'dependencies': [ - 'courgette_lib', - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../base/base.gyp:test_support_base', - '../testing/gtest.gyp:gtest', - ], - }, - ], - 'conditions': [ - ['OS=="win" and target_arch=="ia32"', { - 'targets': [ - { - 'target_name': 'courgette_lib64', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base_win64', - '../third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk64', - ], - 'sources': [ - '<@(courgette_lib_sources)', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, - { - 'target_name': 'courgette64', - 'type': 'executable', - 'sources': [ - 'courgette_tool.cc', - ], - 'dependencies': [ - 'courgette_lib64', - '../base/base.gyp:base_win64', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - }, - ], - }], - # The build infrastructure needs courgette to be named courgette64. - ['OS=="win" and target_arch=="x64"', { - 'targets': [ - { - 'target_name': 'courgette64', - 'type': 'none', - 'dependencies': [ - 'courgette', - ], - 'actions': [{ - 'action_name': 'courgette64', - 'inputs': [ - '<(PRODUCT_DIR)/courgette.exe', - ], - 'outputs': [ - '<(PRODUCT_DIR)/courgette64.exe', - ], - 'action': [ - 'python', - '../build/cp.py', - '<@(_inputs)', - '<@(_outputs)' - ], - }], - }, - ], - }], - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'courgette_unittests_run', - 'type': 'none', - 'dependencies': [ - 'courgette_unittests', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'courgette_unittests.isolate', - ], - }, - ], - }], - ], -} diff --git a/device/battery/battery.gyp b/device/battery/battery.gyp deleted file mode 100644 index 7a644b1cad45c..0000000000000 --- a/device/battery/battery.gyp +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/battery:mojo_bindings - 'target_name': 'device_battery_mojo_bindings', - 'type': 'static_library', - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'battery_monitor.mojom', - 'battery_status.mojom', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - # GN version: //device/battery:mojo_bindings_blink - 'target_name': 'device_battery_mojo_bindings_for_blink', - 'type': 'static_library', - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'battery_monitor.mojom', - 'battery_status.mojom', - ], - }, - { - # This is needed only for a build within Android tree. TODO(ppi): remove - # when Android tree build is deprecated. - 'target_name': 'device_battery_mojo_bindings_for_webview', - 'type': 'none', - 'dependencies': [ - 'device_battery_mojo_bindings', - ], - 'actions': [ - { - # Dummy action that triggers the bindings generation and explicitly - # declares the java outputs, so that they are discoverable to make. - 'action_name': 'device_battery_mojo_bindings_dummy_action', - 'inputs': [ - '<(SHARED_INTERMEDIATE_DIR)/device/battery/battery_monitor.mojom.h', - '<(SHARED_INTERMEDIATE_DIR)/device/battery/battery_status.mojom.h', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor.java', - '<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryMonitor_Internal.java', - '<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatusObserver.java', - '<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatusObserver_Internal.java', - '<(SHARED_INTERMEDIATE_DIR)/java_mojo/device_battery_mojo_bindings/src/org/chromium/mojom/device/BatteryStatus.java', - ], - 'action': ['touch', '<@(_outputs)'], - }, - ], - 'hard_dependency': 1, - }, - ], - 'conditions': [ - ['OS == "android"', { - 'targets': [ - { - 'target_name': 'device_battery_java', - 'type': 'none', - 'dependencies': [ - '../../base/base.gyp:base', - '../../mojo/mojo_public.gyp:mojo_bindings_java', - 'device_battery_mojo_bindings', - ], - 'variables': { - 'java_in_dir': '../../device/battery/android/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - { - 'target_name': 'device_battery_javatests', - 'type': 'none', - 'variables': { - 'java_in_dir': '../../device/battery/android/javatests', - }, - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:base_java_test_support', - 'device_battery_java', - ], - 'includes': [ '../../build/java.gypi' ], - }, - ], - }, { # OS != "android" - # On android, BatteryManager mojo service is implemented directly in Java. - 'targets': [ - { - # GN version: //device/battery - 'target_name': 'device_battery', - 'type': '<(component)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../mojo/mojo_edk.gyp:mojo_system_impl', - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - 'device_battery_mojo_bindings', - ], - 'defines': [ - 'DEVICE_BATTERY_IMPLEMENTATION', - ], - 'sources': [ - 'battery_monitor_impl.cc', - 'battery_monitor_impl.h', - 'battery_status_manager_chromeos.cc', - 'battery_status_manager_default.cc', - 'battery_status_manager_linux-inl.h', - 'battery_status_manager_linux.cc', - 'battery_status_manager_linux.h', - 'battery_status_manager_mac.cc', - 'battery_status_manager_win.cc', - 'battery_status_manager_win.h', - 'battery_status_manager.h', - 'battery_status_service.cc', - 'battery_status_service.h', - ], - 'conditions': [ - ['chromeos==1', { - 'dependencies': [ - '../../build/linux/system.gyp:dbus', - '../../chromeos/chromeos.gyp:chromeos', - '../../chromeos/chromeos.gyp:power_manager_proto', - ], - 'sources!': [ - 'battery_status_manager_default.cc', - 'battery_status_manager_linux.cc', - ], - }], - ['OS == "linux" and use_dbus==1', { - 'sources!': [ - 'battery_status_manager_default.cc', - ], - 'dependencies': [ - '../../build/linux/system.gyp:dbus', - '../../dbus/dbus.gyp:dbus', - ], - }, { # OS != "linux" or use_dbus==0 - 'sources!': [ - 'battery_status_manager_linux.cc', - ], - }], - ['OS == "mac"', { - 'sources!': [ - 'battery_status_manager_default.cc', - ], - }], - ['OS == "win"', { - 'sources!': [ - 'battery_status_manager_default.cc', - ], - }], - ], - }, - ], - }], - ], -} diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp deleted file mode 100644 index b90b4e8221d7a..0000000000000 --- a/device/bluetooth/bluetooth.gyp +++ /dev/null @@ -1,517 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/bluetooth - 'target_name': 'device_bluetooth', - 'type': '<(component)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../crypto/crypto.gyp:crypto', - '../../net/net.gyp:net', - '../../ui/base/ui_base.gyp:ui_base', - 'bluetooth_strings.gyp:bluetooth_strings', - 'uribeacon', - ], - 'defines': [ - 'DEVICE_BLUETOOTH_IMPLEMENTATION', - ], - 'sources': [ - # Note: file list duplicated in GN build. - 'android/bluetooth_jni_registrar.cc', - 'android/bluetooth_jni_registrar.h', - 'android/wrappers.cc', - 'android/wrappers.h', - 'bluetooth_adapter.cc', - 'bluetooth_adapter.h', - 'bluetooth_adapter_android.cc', - 'bluetooth_adapter_android.h', - 'bluetooth_adapter_factory.cc', - 'bluetooth_adapter_factory.h', - 'bluetooth_adapter_factory_wrapper.cc', - 'bluetooth_adapter_factory_wrapper.h', - 'bluetooth_adapter_mac.h', - 'bluetooth_adapter_mac.mm', - 'bluetooth_adapter_win.cc', - 'bluetooth_adapter_win.h', - 'bluetooth_advertisement.cc', - 'bluetooth_advertisement.h', - 'bluetooth_audio_sink.cc', - 'bluetooth_audio_sink.h', - 'bluetooth_channel_mac.mm', - 'bluetooth_channel_mac.h', - 'bluetooth_classic_device_mac.mm', - 'bluetooth_classic_device_mac.h', - 'bluetooth_classic_win.cc', - 'bluetooth_classic_win.h', - 'bluetooth_common.h', - 'bluetooth_device.cc', - 'bluetooth_device.h', - 'bluetooth_device_android.h', - 'bluetooth_device_android.cc', - 'bluetooth_device_mac.mm', - 'bluetooth_device_mac.h', - 'bluetooth_device_win.cc', - 'bluetooth_device_win.h', - 'bluetooth_discovery_filter.cc', - 'bluetooth_discovery_filter.h', - 'bluetooth_discovery_manager_mac.mm', - 'bluetooth_discovery_manager_mac.h', - 'bluetooth_discovery_session.cc', - 'bluetooth_discovery_session.h', - 'bluetooth_discovery_session_outcome.h', - 'bluetooth_gatt_characteristic.cc', - 'bluetooth_gatt_characteristic.h', - 'bluetooth_gatt_connection.cc', - 'bluetooth_gatt_connection.h', - 'bluetooth_gatt_descriptor.cc', - 'bluetooth_gatt_descriptor.h', - 'bluetooth_gatt_notify_session.cc', - 'bluetooth_gatt_notify_session.h', - 'bluetooth_gatt_service.cc', - 'bluetooth_gatt_service.h', - 'bluetooth_init_win.cc', - 'bluetooth_init_win.h', - 'bluetooth_l2cap_channel_mac.mm', - 'bluetooth_l2cap_channel_mac.h', - 'bluetooth_local_gatt_characteristic.cc', - 'bluetooth_local_gatt_characteristic.h', - 'bluetooth_local_gatt_descriptor.cc', - 'bluetooth_local_gatt_descriptor.h', - 'bluetooth_local_gatt_service.cc', - 'bluetooth_local_gatt_service.h', - 'bluetooth_low_energy_central_manager_delegate.mm', - 'bluetooth_low_energy_central_manager_delegate.h', - 'bluetooth_low_energy_defs_win.cc', - 'bluetooth_low_energy_defs_win.h', - 'bluetooth_low_energy_device_mac.h', - 'bluetooth_low_energy_device_mac.mm', - 'bluetooth_low_energy_discovery_manager_mac.h', - 'bluetooth_low_energy_discovery_manager_mac.mm', - 'bluetooth_low_energy_peripheral_delegate.mm', - 'bluetooth_low_energy_peripheral_delegate.h', - 'bluetooth_low_energy_win.cc', - 'bluetooth_low_energy_win.h', - 'bluetooth_remote_gatt_characteristic.cc', - 'bluetooth_remote_gatt_characteristic.h', - 'bluetooth_remote_gatt_characteristic_android.cc', - 'bluetooth_remote_gatt_characteristic_android.h', - 'bluetooth_remote_gatt_characteristic_mac.h', - 'bluetooth_remote_gatt_characteristic_mac.mm', - 'bluetooth_remote_gatt_characteristic_win.cc', - 'bluetooth_remote_gatt_characteristic_win.h', - 'bluetooth_remote_gatt_descriptor.cc', - 'bluetooth_remote_gatt_descriptor.h', - 'bluetooth_remote_gatt_descriptor_android.cc', - 'bluetooth_remote_gatt_descriptor_android.h', - 'bluetooth_remote_gatt_descriptor_win.cc', - 'bluetooth_remote_gatt_descriptor_win.h', - 'bluetooth_remote_gatt_service.cc', - 'bluetooth_remote_gatt_service.h', - 'bluetooth_remote_gatt_service_android.cc', - 'bluetooth_remote_gatt_service_android.h', - 'bluetooth_remote_gatt_service_mac.h', - 'bluetooth_remote_gatt_service_mac.mm', - 'bluetooth_remote_gatt_service_win.cc', - 'bluetooth_remote_gatt_service_win.h', - 'bluetooth_rfcomm_channel_mac.mm', - 'bluetooth_rfcomm_channel_mac.h', - 'bluetooth_service_record_win.cc', - 'bluetooth_service_record_win.h', - 'bluetooth_socket.cc', - 'bluetooth_socket.h', - 'bluetooth_socket_mac.h', - 'bluetooth_socket_mac.mm', - 'bluetooth_socket_net.cc', - 'bluetooth_socket_net.h', - 'bluetooth_socket_thread.cc', - 'bluetooth_socket_thread.h', - 'bluetooth_socket_win.cc', - 'bluetooth_socket_win.h', - 'bluetooth_task_manager_win.cc', - 'bluetooth_task_manager_win.h', - 'bluetooth_uuid.cc', - 'bluetooth_uuid.h', - ], - 'conditions': [ - ['chromeos==1 or OS=="linux"', { - 'conditions': [ - ['use_dbus==1', { - 'defines': [ - 'DEVICE_BLUETOOTH_IMPLEMENTATION', - ], - 'sources': [ - 'bluez/bluetooth_adapter_bluez.cc', - 'bluez/bluetooth_adapter_bluez.h', - 'bluez/bluetooth_adapter_profile_bluez.cc', - 'bluez/bluetooth_adapter_profile_bluez.h', - 'bluez/bluetooth_advertisement_bluez.cc', - 'bluez/bluetooth_advertisement_bluez.h', - 'bluez/bluetooth_audio_sink_bluez.cc', - 'bluez/bluetooth_audio_sink_bluez.h', - 'bluez/bluetooth_device_bluez.cc', - 'bluez/bluetooth_device_bluez.h', - 'bluez/bluetooth_gatt_characteristic_bluez.cc', - 'bluez/bluetooth_gatt_characteristic_bluez.h', - 'bluez/bluetooth_gatt_connection_bluez.cc', - 'bluez/bluetooth_gatt_connection_bluez.h', - 'bluez/bluetooth_gatt_descriptor_bluez.cc', - 'bluez/bluetooth_gatt_descriptor_bluez.h', - 'bluez/bluetooth_gatt_service_bluez.cc', - 'bluez/bluetooth_gatt_service_bluez.h', - 'bluez/bluetooth_local_gatt_characteristic_bluez.cc', - 'bluez/bluetooth_local_gatt_characteristic_bluez.h', - 'bluez/bluetooth_local_gatt_descriptor_bluez.cc', - 'bluez/bluetooth_local_gatt_descriptor_bluez.h', - 'bluez/bluetooth_local_gatt_service_bluez.cc', - 'bluez/bluetooth_local_gatt_service_bluez.h', - 'bluez/bluetooth_pairing_bluez.cc', - 'bluez/bluetooth_pairing_bluez.h', - 'bluez/bluetooth_remote_gatt_characteristic_bluez.cc', - 'bluez/bluetooth_remote_gatt_characteristic_bluez.h', - 'bluez/bluetooth_remote_gatt_descriptor_bluez.cc', - 'bluez/bluetooth_remote_gatt_descriptor_bluez.h', - 'bluez/bluetooth_remote_gatt_service_bluez.cc', - 'bluez/bluetooth_remote_gatt_service_bluez.h', - 'bluez/bluetooth_service_attribute_value_bluez.cc', - 'bluez/bluetooth_service_attribute_value_bluez.h', - 'bluez/bluetooth_service_record_bluez.cc', - 'bluez/bluetooth_service_record_bluez.h', - 'bluez/bluetooth_socket_bluez.cc', - 'bluez/bluetooth_socket_bluez.h', - 'dbus/bluetooth_adapter_client.cc', - 'dbus/bluetooth_adapter_client.h', - 'dbus/bluetooth_le_advertising_manager_client.cc', - 'dbus/bluetooth_le_advertising_manager_client.h', - 'dbus/bluetooth_le_advertisement_service_provider.cc', - 'dbus/bluetooth_le_advertisement_service_provider.h', - 'dbus/bluetooth_agent_manager_client.cc', - 'dbus/bluetooth_agent_manager_client.h', - 'dbus/bluetooth_agent_service_provider.cc', - 'dbus/bluetooth_agent_service_provider.h', - 'dbus/bluetooth_dbus_client_bundle.cc', - 'dbus/bluetooth_dbus_client_bundle.h', - 'dbus/bluetooth_device_client.cc', - 'dbus/bluetooth_device_client.h', - 'dbus/bluetooth_gatt_application_service_provider.cc', - 'dbus/bluetooth_gatt_application_service_provider.h', - 'dbus/bluetooth_gatt_application_service_provider_impl.cc', - 'dbus/bluetooth_gatt_application_service_provider_impl.h', - 'dbus/bluetooth_gatt_attribute_helpers.cc', - 'dbus/bluetooth_gatt_attribute_helpers.h', - 'dbus/bluetooth_gatt_attribute_value_delegate.cc', - 'dbus/bluetooth_gatt_attribute_value_delegate.h', - 'dbus/bluetooth_gatt_characteristic_client.cc', - 'dbus/bluetooth_gatt_characteristic_client.h', - 'dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc', - 'dbus/bluetooth_gatt_characteristic_delegate_wrapper.h', - 'dbus/bluetooth_gatt_characteristic_service_provider_impl.cc', - 'dbus/bluetooth_gatt_characteristic_service_provider_impl.h', - 'dbus/bluetooth_gatt_characteristic_service_provider.cc', - 'dbus/bluetooth_gatt_characteristic_service_provider.h', - 'dbus/bluetooth_gatt_descriptor_delegate_wrapper.cc', - 'dbus/bluetooth_gatt_descriptor_delegate_wrapper.h', - 'dbus/bluetooth_gatt_descriptor_client.cc', - 'dbus/bluetooth_gatt_descriptor_client.h', - 'dbus/bluetooth_gatt_descriptor_service_provider_impl.cc', - 'dbus/bluetooth_gatt_descriptor_service_provider_impl.h', - 'dbus/bluetooth_gatt_descriptor_service_provider.cc', - 'dbus/bluetooth_gatt_descriptor_service_provider.h', - 'dbus/bluetooth_gatt_manager_client.cc', - 'dbus/bluetooth_gatt_manager_client.h', - 'dbus/bluetooth_gatt_service_client.cc', - 'dbus/bluetooth_gatt_service_client.h', - 'dbus/bluetooth_gatt_service_service_provider_impl.cc', - 'dbus/bluetooth_gatt_service_service_provider_impl.h', - 'dbus/bluetooth_gatt_service_service_provider.cc', - 'dbus/bluetooth_gatt_service_service_provider.h', - 'dbus/bluetooth_input_client.cc', - 'dbus/bluetooth_input_client.h', - 'dbus/bluetooth_media_client.cc', - 'dbus/bluetooth_media_client.h', - 'dbus/bluetooth_media_endpoint_service_provider.cc', - 'dbus/bluetooth_media_endpoint_service_provider.h', - 'dbus/bluetooth_media_transport_client.cc', - 'dbus/bluetooth_media_transport_client.h', - 'dbus/bluetooth_profile_manager_client.cc', - 'dbus/bluetooth_profile_manager_client.h', - 'dbus/bluetooth_profile_service_provider.cc', - 'dbus/bluetooth_profile_service_provider.h', - 'dbus/bluez_dbus_client.h', - 'dbus/bluez_dbus_manager.cc', - 'dbus/bluez_dbus_manager.h', - 'dbus/fake_bluetooth_adapter_client.cc', - 'dbus/fake_bluetooth_adapter_client.h', - 'dbus/fake_bluetooth_le_advertising_manager_client.cc', - 'dbus/fake_bluetooth_le_advertising_manager_client.h', - 'dbus/fake_bluetooth_le_advertisement_service_provider.cc', - 'dbus/fake_bluetooth_le_advertisement_service_provider.h', - 'dbus/fake_bluetooth_agent_manager_client.cc', - 'dbus/fake_bluetooth_agent_manager_client.h', - 'dbus/fake_bluetooth_agent_service_provider.cc', - 'dbus/fake_bluetooth_agent_service_provider.h', - 'dbus/fake_bluetooth_device_client.cc', - 'dbus/fake_bluetooth_device_client.h', - 'dbus/fake_bluetooth_gatt_application_service_provider.cc', - 'dbus/fake_bluetooth_gatt_application_service_provider.h', - 'dbus/fake_bluetooth_gatt_characteristic_client.cc', - 'dbus/fake_bluetooth_gatt_characteristic_client.h', - 'dbus/fake_bluetooth_gatt_characteristic_service_provider.cc', - 'dbus/fake_bluetooth_gatt_characteristic_service_provider.h', - 'dbus/fake_bluetooth_gatt_descriptor_client.cc', - 'dbus/fake_bluetooth_gatt_descriptor_client.h', - 'dbus/fake_bluetooth_gatt_descriptor_service_provider.cc', - 'dbus/fake_bluetooth_gatt_descriptor_service_provider.h', - 'dbus/fake_bluetooth_gatt_manager_client.cc', - 'dbus/fake_bluetooth_gatt_manager_client.h', - 'dbus/fake_bluetooth_gatt_service_client.cc', - 'dbus/fake_bluetooth_gatt_service_client.h', - 'dbus/fake_bluetooth_gatt_service_service_provider.cc', - 'dbus/fake_bluetooth_gatt_service_service_provider.h', - 'dbus/fake_bluetooth_input_client.cc', - 'dbus/fake_bluetooth_input_client.h', - 'dbus/fake_bluetooth_media_client.cc', - 'dbus/fake_bluetooth_media_client.h', - 'dbus/fake_bluetooth_media_endpoint_service_provider.cc', - 'dbus/fake_bluetooth_media_endpoint_service_provider.h', - 'dbus/fake_bluetooth_media_transport_client.cc', - 'dbus/fake_bluetooth_media_transport_client.h', - 'dbus/fake_bluetooth_profile_manager_client.cc', - 'dbus/fake_bluetooth_profile_manager_client.h', - 'dbus/fake_bluetooth_profile_service_provider.cc', - 'dbus/fake_bluetooth_profile_service_provider.h', - ], - 'conditions': [ - ['OS=="linux"', { - 'sources': [ - 'dbus/dbus_bluez_manager_wrapper_linux.cc', - 'dbus/dbus_bluez_manager_wrapper_linux.h', - 'dbus/dbus_thread_manager_linux.cc', - 'dbus/dbus_thread_manager_linux.h', - ] - }] - ], - 'dependencies': [ - '../../build/linux/system.gyp:dbus', - '../../dbus/dbus.gyp:dbus', - ], - 'export_dependent_settings': [ - '../../build/linux/system.gyp:dbus' - ] - }, { # !use_dbus - 'sources': [ 'bluetooth_adapter_stub.cc' ], - 'conditions': [ - ['OS=="linux"', { - 'sources': [ - 'dbus/dbus_bluez_manager_wrapper_linux.h', - 'dbus/dbus_bluez_manager_wrapper_stub_linux.cc', - ] - }], - ] - }], - ], - }], - ['chromeos==1', { - 'dependencies': [ - '../../chromeos/chromeos.gyp:chromeos', - ], - }], - ['OS == "android"', { - 'dependencies': [ - 'device_bluetooth_java', - 'device_bluetooth_jni_headers', - ], - }], - ['OS=="win"', { - # The following two blocks are duplicated. They apply to static lib - # and shared lib configurations respectively. - 'all_dependent_settings': { # For static lib, apply to dependents. - 'msvs_settings': { - 'VCLinkerTool': { - 'DelayLoadDLLs': [ - 'BluetoothApis.dll', - # Despite MSDN stating that Bthprops.dll contains the - # symbols declared by bthprops.lib, they actually reside here: - 'Bthprops.cpl', - 'setupapi.dll', - ], - 'AdditionalDependencies': [ - # Bthprops must be listed before BluetoothApis or else delay - # loading crashes. - 'Bthprops.lib', - 'BluetoothApis.lib', - ], - }, - }, - }, - 'msvs_settings': { # For shared lib, apply to self. - 'VCLinkerTool': { - 'DelayLoadDLLs': [ - 'BluetoothApis.dll', - # Despite MSDN stating that Bthprops.dll contains the - # symbols declared by bthprops.lib, they actually reside here: - 'Bthprops.cpl', - 'setupapi.dll', - ], - 'AdditionalDependencies': [ - # Bthprops must be listed before BluetoothApis or else delay - # loading crashes. - 'Bthprops.lib', - 'BluetoothApis.lib', - ], - }, - }, - }], - ['OS=="mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', - ], - 'conditions': [ - ['mac_sdk == "10.10"', { - 'xcode_settings': { - # In the OSX 10.10 SDK, CoreBluetooth became a top level - # framework. Previously, it was nested in IOBluetooth. In - # order for Chrome to run on OSes older than OSX 10.10, the - # top level CoreBluetooth framework must be weakly linked. - 'OTHER_LDFLAGS': [ - '-weak_framework CoreBluetooth', - ], - }, - }], - ], - }, - }], - ], - }, - { - # GN version: //device/bluetooth/uribeacon - 'target_name': 'uribeacon', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - ], - 'sources': [ - 'uribeacon/uri_encoder.cc', - 'uribeacon/uri_encoder.h' - ] - }, - { - # GN version: //device/bluetooth:mocks - 'target_name': 'device_bluetooth_mocks', - 'type': 'static_library', - 'dependencies': [ - '../../testing/gmock.gyp:gmock', - 'device_bluetooth', - ], - 'include_dirs': [ - '../../', - ], - 'sources': [ - # Note: file list duplicated in GN build. - 'test/mock_bluetooth_adapter.cc', - 'test/mock_bluetooth_adapter.h', - 'test/mock_bluetooth_advertisement.cc', - 'test/mock_bluetooth_advertisement.h', - 'test/mock_bluetooth_device.cc', - 'test/mock_bluetooth_device.h', - 'test/mock_bluetooth_discovery_session.cc', - 'test/mock_bluetooth_discovery_session.h', - 'test/mock_bluetooth_gatt_characteristic.cc', - 'test/mock_bluetooth_gatt_characteristic.h', - 'test/mock_bluetooth_gatt_connection.cc', - 'test/mock_bluetooth_gatt_connection.h', - 'test/mock_bluetooth_gatt_descriptor.cc', - 'test/mock_bluetooth_gatt_descriptor.h', - 'test/mock_bluetooth_gatt_notify_session.cc', - 'test/mock_bluetooth_gatt_notify_session.h', - 'test/mock_bluetooth_gatt_service.cc', - 'test/mock_bluetooth_gatt_service.h', - 'test/mock_bluetooth_socket.cc', - 'test/mock_bluetooth_socket.h', - ], - }, - ], - 'conditions': [ - ['OS == "android"', { - 'targets': [ - { - 'target_name': 'device_bluetooth_jni_headers', - 'type': 'none', - 'sources': [ - 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java', - 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java', - 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java', - 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattDescriptor.java', - 'android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattService.java', - 'android/java/src/org/chromium/device/bluetooth/Wrappers.java', - ], - 'variables': { - 'jni_gen_package': 'device_bluetooth', - }, - 'includes': [ '../../build/jni_generator.gypi' ], - }, - { - 'target_name': 'device_bluetooth_java', - 'type': 'none', - 'dependencies': [ - '../../base/base.gyp:base', - ], - 'variables': { - 'java_in_dir': '../../device/bluetooth/android/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], - }], - ['OS != "ios"', { - 'targets': [ - { - 'target_name': 'bluetooth_interfaces_mojom', - 'type': 'none', - 'variables': { - 'mojom_files': [ - 'public/interfaces/bluetooth_uuid.mojom', - ], - 'mojom_typemaps': [ - 'public/interfaces/bluetooth_uuid.typemap', - ], - 'use_new_wrapper_types': 'false', - }, - 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], - }, - { - 'target_name': 'bluetooth_interfaces_blink_mojom', - 'type': 'none', - 'variables': { - 'mojom_files': [ - 'public/interfaces/bluetooth_uuid.mojom', - ], - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], - }, - { - 'target_name': 'bluetooth_mojom', - 'type': 'static_library', - 'export_dependent_settings': [ - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - ], - 'dependencies': [ - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - 'bluetooth_interfaces_blink_mojom', - 'bluetooth_interfaces_mojom', - 'device_bluetooth', - ], - }, - ], - }], - ], -} diff --git a/device/bluetooth/bluetooth_strings.gyp b/device/bluetooth/bluetooth_strings.gyp deleted file mode 100644 index 94446dfbde079..0000000000000 --- a/device/bluetooth/bluetooth_strings.gyp +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2013 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. - -{ - 'targets': [ - { - 'target_name': 'bluetooth_strings', - 'type': 'none', - 'variables': { - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/device/bluetooth/strings', - }, - 'actions': [ - { - 'action_name': 'generate_bluetooth_strings', - 'variables': { - 'grit_grd_file': 'bluetooth_strings.grd', - }, - 'includes': [ '../../build/grit_action.gypi' ], - }, - ], - 'includes': [ '../../build/grit_target.gypi' ], - }, - ], -} diff --git a/device/core/core.gyp b/device/core/core.gyp deleted file mode 100644 index db79eb4145c0d..0000000000000 --- a/device/core/core.gyp +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'device_core', - 'type': '<(component)', - 'include_dirs': [ - '../..', - ], - 'defines': [ - 'DEVICE_CORE_IMPLEMENTATION', - ], - 'sources': [ - 'device_client.cc', - 'device_client.h', - 'device_info_query_win.cc', - 'device_info_query_win.h', - 'device_monitor_win.cc', - 'device_monitor_win.h', - ], - 'dependencies': [ - '../../base/base.gyp:base', - ], - 'conditions': [ - ['use_udev==1', { - 'dependencies': [ - '../udev_linux/udev.gyp:udev_linux', - ], - 'sources': [ - 'device_monitor_linux.cc', - 'device_monitor_linux.h', - ], - }], - ] - }, - { - 'target_name': 'device_core_mocks', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../testing/gmock.gyp:gmock', - 'device_core', - ], - 'sources': [ - 'mock_device_client.cc', - 'mock_device_client.h', - ], - }, - ], -} diff --git a/device/device_tests.gyp b/device/device_tests.gyp deleted file mode 100644 index 8fe41a24a6b12..0000000000000 --- a/device/device_tests.gyp +++ /dev/null @@ -1,290 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'device_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../base/base.gyp:test_support_base', - '../mojo/mojo_edk.gyp:mojo_system_impl', - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - '../tools/usb_gadget/usb_gadget.gyp:usb_gadget', - 'battery/battery.gyp:device_battery', - 'battery/battery.gyp:device_battery_mojo_bindings', - 'bluetooth/bluetooth.gyp:device_bluetooth', - 'bluetooth/bluetooth.gyp:device_bluetooth_mocks', - 'core/core.gyp:device_core', - 'core/core.gyp:device_core_mocks', - 'gamepad/gamepad.gyp:device_gamepad', - 'gamepad/gamepad.gyp:device_gamepad_test_helpers', - 'nfc/nfc.gyp:device_nfc', - 'usb/usb.gyp:device_usb', - 'usb/usb.gyp:device_usb_mocks', - 'usb/usb.gyp:device_usb_mojo_bindings', - 'hid/hid.gyp:device_hid', - 'hid/hid.gyp:device_hid_mocks', - 'serial/serial.gyp:device_serial', - 'serial/serial.gyp:device_serial_test_util', - ], - 'sources': [ - 'battery/battery_status_manager_linux_unittest.cc', - 'battery/battery_status_manager_win_unittest.cc', - 'battery/battery_status_service_unittest.cc', - 'bluetooth/bluetooth_adapter_mac_unittest.mm', - 'bluetooth/bluetooth_adapter_unittest.cc', - 'bluetooth/bluetooth_adapter_win_unittest.cc', - 'bluetooth/bluetooth_advertisement_unittest.cc', - 'bluetooth/bluetooth_device_unittest.cc', - 'bluetooth/bluetooth_device_win_unittest.cc', - 'bluetooth/bluetooth_discovery_filter_unittest.cc', - 'bluetooth/bluetooth_local_gatt_characteristic_unittest.cc', - 'bluetooth/bluetooth_local_gatt_descriptor_unittest.cc', - 'bluetooth/bluetooth_local_gatt_service_unittest.cc', - 'bluetooth/bluetooth_low_energy_win_unittest.cc', - 'bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc', - 'bluetooth/bluetooth_remote_gatt_descriptor_unittest.cc', - 'bluetooth/bluetooth_remote_gatt_service_unittest.cc', - 'bluetooth/bluetooth_service_record_win_unittest.cc', - 'bluetooth/bluetooth_task_manager_win_unittest.cc', - 'bluetooth/bluetooth_uuid_unittest.cc', - 'bluetooth/test/bluetooth_gatt_server_test.cc', - 'bluetooth/test/bluetooth_gatt_server_test.h', - 'bluetooth/test/bluetooth_test.cc', - 'bluetooth/test/bluetooth_test.h', - 'bluetooth/test/bluetooth_test_android.cc', - 'bluetooth/test/bluetooth_test_android.h', - 'bluetooth/test/bluetooth_test_mac.h', - 'bluetooth/test/bluetooth_test_mac.mm', - 'bluetooth/test/bluetooth_test_win.h', - 'bluetooth/test/bluetooth_test_win.cc', - 'bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm', - 'bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h', - 'bluetooth/test/mock_bluetooth_cbperipheral_mac.mm', - 'bluetooth/test/mock_bluetooth_cbperipheral_mac.h', - 'bluetooth/test/mock_bluetooth_cbservice_mac.mm', - 'bluetooth/test/mock_bluetooth_cbservice_mac.h', - 'bluetooth/test/mock_bluetooth_central_manager_mac.mm', - 'bluetooth/test/mock_bluetooth_central_manager_mac.h', - 'bluetooth/test/test_bluetooth_adapter_observer.cc', - 'bluetooth/test/test_bluetooth_adapter_observer.h', - 'bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc', - 'bluetooth/test/test_bluetooth_local_gatt_service_delegate.h', - 'gamepad/gamepad_provider_unittest.cc', - 'hid/hid_connection_unittest.cc', - 'hid/hid_device_filter_unittest.cc', - 'hid/hid_report_descriptor_unittest.cc', - 'hid/input_service_linux_unittest.cc', - 'hid/test_report_descriptors.cc', - 'hid/test_report_descriptors.h', - 'nfc/nfc_chromeos_unittest.cc', - 'nfc/nfc_ndef_record_unittest.cc', - 'serial/data_sink_unittest.cc', - 'serial/data_source_unittest.cc', - 'serial/serial_connection_unittest.cc', - "serial/serial_io_handler_posix_unittest.cc", - 'serial/serial_service_unittest.cc', - 'test/run_all_unittests.cc', - 'test/test_device_client.cc', - 'test/test_device_client.h', - 'test/usb_test_gadget_impl.cc', - 'usb/mojo/device_impl_unittest.cc', - 'usb/mojo/device_manager_impl_unittest.cc', - 'usb/mojo/mock_permission_provider.cc', - 'usb/mojo/mock_permission_provider.h', - 'usb/usb_descriptors_unittest.cc', - 'usb/usb_device_filter_unittest.cc', - 'usb/usb_device_handle_unittest.cc', - 'usb/usb_ids_unittest.cc', - 'usb/usb_service_unittest.cc', - 'usb/webusb_descriptors_unittest.cc', - ], - 'conditions': [ - ['chromeos==1', { - 'dependencies': [ - '../chromeos/chromeos.gyp:chromeos_test_support', - '../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', - ], - 'sources!': [ - 'battery/battery_status_manager_linux_unittest.cc', - ], - }], - ['(chromeos==1 or OS=="linux") and use_dbus==1', { - 'dependencies': [ - '../build/linux/system.gyp:dbus', - '../dbus/dbus.gyp:dbus', - ], - 'sources': [ - 'bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_gatt_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_service_attribute_value_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_service_record_bluez_unittest.cc', - 'bluetooth/bluez/bluetooth_socket_bluez_unittest.cc', - 'bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc', - 'bluetooth/test/bluetooth_test_bluez.cc', - 'bluetooth/test/bluetooth_test_bluez.h', - ], - }], - ['OS=="android"', { - 'dependencies!': [ - 'battery/battery.gyp:device_battery', - 'serial/serial.gyp:device_serial', - 'serial/serial.gyp:device_serial_test_util', - 'hid/hid.gyp:device_hid', - ], - 'dependencies': [ - '../testing/android/native_test.gyp:native_test_native_code', - 'device_bluetooth_test_java', - 'device_bluetooth_test_jni_headers', - ], - 'sources/': [ - ['exclude', '(^|/)hid'], - ['exclude', '(^|/)serial'], - ], - 'sources!': [ - 'battery/battery_status_service_unittest.cc', - 'usb/usb_context_unittest.cc', - ], - }], - ['OS=="mac"', { - 'dependencies': [ - '../third_party/ocmock/ocmock.gyp:ocmock', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/IOBluetooth.framework', - ], - }, - 'xcode_settings' : { - 'OTHER_LDFLAGS' : [ - '-ObjC', - ], - }, - }], - ['use_udev==1', { - 'dependencies': [ - 'udev_linux/udev.gyp:udev_linux', - ], - 'sources': [ - 'udev_linux/udev_unittest.cc', - ], - }], - ['OS=="linux" and use_udev==0', { - # Udev is the only Linux implementation. If we're compiling without - # Udev, disable these unittests. - 'dependencies!': [ - 'hid/hid.gyp:device_hid', - 'serial/serial.gyp:device_serial', - 'serial/serial.gyp:device_serial_test_util', - ], - 'sources/': [ - ['exclude', '^serial/'], - ['exclude', '^hid/'], - ], - }], - ['OS=="linux" and use_dbus==1', { - 'dependencies': [ - '../dbus/dbus.gyp:dbus_test_support', - ], - }, { # OS != "linux" or use_dbus==0 - 'sources!': [ - 'battery/battery_status_manager_linux_unittest.cc', - ], - }], - ['OS=="win"', { - 'sources': [ - 'bluetooth/bluetooth_classic_win_fake.cc', - 'bluetooth/bluetooth_classic_win_fake.h', - 'bluetooth/bluetooth_low_energy_win_fake.h', - 'bluetooth/bluetooth_low_energy_win_fake.cc', - ], - }], - ], - }, - ], - 'conditions': [ - ['OS=="android"', { - 'targets': [ - { - 'target_name': 'device_unittests_apk', - 'type': 'none', - 'dependencies': [ - 'device_unittests', - ], - 'variables': { - 'test_suite_name': 'device_unittests', - }, - 'includes': [ '../build/apk_test.gypi' ], - }, - { - 'target_name': 'device_bluetooth_test_jni_headers', - 'type': 'none', - 'sources': [ - 'bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java', - ], - 'variables': { - 'jni_gen_package': 'device_bluetooth', - }, - 'includes': [ '../build/jni_generator.gypi' ], - }, - { - 'target_name': 'device_bluetooth_test_java', - 'type': 'none', - 'dependencies': [ - 'bluetooth/bluetooth.gyp:device_bluetooth_java', - ], - 'variables': { - 'java_in_dir': 'bluetooth/test/android/java', - }, - 'includes': [ '../build/java.gypi' ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'device_unittests_apk_run', - 'type': 'none', - 'dependencies': [ - 'device_unittests_apk', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'device_unittests_apk.isolate', - ], - }, - ], - }], - ], - }], - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'device_unittests_run', - 'type': 'none', - 'dependencies': [ - 'device_unittests', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'device_unittests.isolate', - ] - } - ] - }] - ], -} diff --git a/device/gamepad/gamepad.gyp b/device/gamepad/gamepad.gyp deleted file mode 100644 index c5c74964537b8..0000000000000 --- a/device/gamepad/gamepad.gyp +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/gamepad - 'target_name': 'device_gamepad', - 'type': '<(component)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - ], - 'defines': [ - 'DEVICE_GAMEPAD_IMPLEMENTATION', - ], - 'sources': [ - # Note: file list duplicated in GN build. - 'gamepad_consumer.cc', - 'gamepad_consumer.h', - 'gamepad_data_fetcher.cc', - 'gamepad_data_fetcher.h', - 'gamepad_data_fetcher_manager.cc', - 'gamepad_data_fetcher_manager.h', - 'gamepad_platform_data_fetcher.h', - 'gamepad_platform_data_fetcher_android.cc', - 'gamepad_platform_data_fetcher_android.h', - 'gamepad_platform_data_fetcher_linux.cc', - 'gamepad_platform_data_fetcher_linux.h', - 'gamepad_platform_data_fetcher_mac.h', - 'gamepad_platform_data_fetcher_mac.mm', - 'gamepad_platform_data_fetcher_win.cc', - 'gamepad_platform_data_fetcher_win.h', - 'gamepad_provider.cc', - 'gamepad_provider.h', - 'gamepad_standard_mappings.cc', - 'gamepad_standard_mappings.h', - 'gamepad_standard_mappings_linux.cc', - 'gamepad_standard_mappings_mac.mm', - 'gamepad_standard_mappings_win.cc', - 'gamepad_user_gesture.cc', - 'gamepad_user_gesture.h', - 'raw_input_data_fetcher_win.cc', - 'raw_input_data_fetcher_win.h', - 'xbox_data_fetcher_mac.h', - 'xbox_data_fetcher_mac.mm', - ], - 'conditions': [ - ['OS=="win"', { - 'msvs_disabled_warnings': [4267, ], - }], - ['OS!="win" and OS!="mac" and OS!="android" and (OS!="linux" or use_udev==0)', { - 'sources!': [ - 'gamepad_platform_data_fetcher_linux.cc', - ], - }], - ['use_udev == 1', { - 'dependencies': [ - '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', - ], - }], - ], - }, - { - # GN version: //device/gamepad:test_helpers - 'target_name': 'device_gamepad_test_helpers', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - 'device_gamepad', - ], - 'sources': [ - # Note: file list duplicated in GN build. - 'gamepad_test_helpers.cc', - 'gamepad_test_helpers.h', - ], - }, - ], -} diff --git a/device/geolocation/geolocation.gyp b/device/geolocation/geolocation.gyp deleted file mode 100644 index a344ec7aa59b7..0000000000000 --- a/device/geolocation/geolocation.gyp +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - # This turns on e.g. the filename-based detection of which platforms to - # include source files on (e.g. files ending in _mac.h or _mac.cc are only - # compiled on MacOSX). - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/geolocation:device_geolocation - 'target_name': 'device_geolocation', - 'type': '<(component)', - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/google_apis/google_apis.gyp:google_apis', - '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', - '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', - # TODO(mcasas): move geolocation.mojom to public/interfaces. - '<(DEPTH)/third_party/WebKit/public/blink.gyp:mojo_bindings', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', - ], - 'defines': [ - 'DEVICE_GEOLOCATION_IMPLEMENTATION', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'access_token_store.h', - 'android/geolocation_jni_registrar.cc', - 'android/geolocation_jni_registrar.h', - 'empty_wifi_data_provider.cc', - 'empty_wifi_data_provider.h', - 'geolocation_delegate.cc', - 'geolocation_delegate.h', - 'geolocation_export.h', - 'geolocation_provider.h', - 'geolocation_provider_impl.cc', - 'geolocation_provider_impl.h', - 'geolocation_service_context.h', - 'geolocation_service_context.cc', - 'geolocation_service_impl.cc', - 'geolocation_service_impl.h', - 'geoposition.cc', - 'geoposition.h', - 'location_api_adapter_android.cc', - 'location_api_adapter_android.h', - 'location_arbitrator.h', - 'location_arbitrator_impl.cc', - 'location_arbitrator_impl.h', - 'location_provider.h', - 'location_provider_android.cc', - 'location_provider_android.h', - 'location_provider_base.cc', - 'location_provider_base.h', - 'network_location_provider.cc', - 'network_location_provider.h', - 'network_location_request.cc', - 'network_location_request.h', - 'wifi_data.cc', - 'wifi_data.h', - 'wifi_data_provider.cc', - 'wifi_data_provider.h', - 'wifi_data_provider_chromeos.cc', - 'wifi_data_provider_chromeos.h', - 'wifi_data_provider_common.cc', - 'wifi_data_provider_common.h', - 'wifi_data_provider_common_win.cc', - 'wifi_data_provider_common_win.h', - 'wifi_data_provider_corewlan_mac.mm', - 'wifi_data_provider_linux.cc', - 'wifi_data_provider_linux.h', - 'wifi_data_provider_mac.cc', - 'wifi_data_provider_mac.h', - 'wifi_data_provider_manager.cc', - 'wifi_data_provider_manager.h', - 'wifi_data_provider_win.cc', - 'wifi_data_provider_win.h', - 'wifi_polling_policy.h', - ], - - 'conditions': [ - ['OS=="android"', { - 'sources!': [ - 'network_location_provider.cc', - 'network_location_provider.h', - 'network_location_request.cc', - 'network_location_request.h', - ], - }], - - # Dealing with *wifi_data_provider_*.cc is also a bit complicated given - # android, chromeos, linux and use_dbus. - ['chromeos==1', { - 'dependencies': [ - '<(DEPTH)/chromeos/chromeos.gyp:chromeos', - ], - 'sources!': [ - 'wifi_data_provider_linux.cc' - ], - }], - - ['OS=="linux"', { - 'conditions': [ - ["use_dbus==1", { - 'dependencies': [ - '<(DEPTH)/build/linux/system.gyp:dbus', - '<(DEPTH)/dbus/dbus.gyp:dbus', - ], - 'sources!': [ - 'empty_wifi_data_provider.cc', - ], - }, { # use_dbus==0 - 'geolocation_unittest_sources!': [ - 'wifi_data_provider_linux.cc', - ], - }] - ], - }], - - ['OS=="win"', { - # TODO(jschuh): http://crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267, ], - }], - - ['OS=="mac" or OS=="win"', { - 'sources!': [ - 'empty_wifi_data_provider.cc', - 'empty_wifi_data_provider.h', - ], - }], - ], - }, - ], -} diff --git a/device/hid/hid.gyp b/device/hid/hid.gyp deleted file mode 100644 index 22b2dde03905a..0000000000000 --- a/device/hid/hid.gyp +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'device_hid', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../components/components.gyp:device_event_log_component', - '../../net/net.gyp:net', - '../core/core.gyp:device_core', - ], - 'sources': [ - 'hid_collection_info.cc', - 'hid_collection_info.h', - 'hid_connection.cc', - 'hid_connection.h', - 'hid_connection_linux.cc', - 'hid_connection_linux.h', - 'hid_connection_mac.cc', - 'hid_connection_mac.h', - 'hid_connection_win.cc', - 'hid_connection_win.h', - 'hid_device_filter.cc', - 'hid_device_filter.h', - 'hid_device_info.cc', - 'hid_device_info.h', - 'hid_device_info_linux.cc', - 'hid_device_info_linux.h', - 'hid_report_descriptor.cc', - 'hid_report_descriptor.h', - 'hid_report_descriptor_item.cc', - 'hid_report_descriptor_item.h', - 'hid_service.cc', - 'hid_service.h', - 'hid_service_mac.cc', - 'hid_service_mac.h', - 'hid_service_win.cc', - 'hid_service_win.h', - 'hid_usage_and_page.cc', - 'hid_usage_and_page.h', - ], - 'conditions': [ - ['OS=="linux" and use_udev==1', { - 'dependencies': [ - '../udev_linux/udev.gyp:udev_linux', - ], - 'sources': [ - 'fake_input_service_linux.cc', - 'fake_input_service_linux.h', - 'hid_service_linux.cc', - 'hid_service_linux.h', - 'input_service_linux.cc', - 'input_service_linux.h', - ], - }], - ['OS=="win"', { - 'all_dependent_settings': { - 'msvs_settings': { - 'VCLinkerTool': { - 'AdditionalDependencies': [ - 'hid.lib', - 'setupapi.lib', - ], - }, - }, - }, - 'msvs_settings': { - 'VCLinkerTool': { - 'AdditionalDependencies': [ - 'hid.lib', - 'setupapi.lib', - ], - }, - }, - }], - ], - }, - { - 'target_name': 'device_hid_mocks', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../testing/gmock.gyp:gmock', - 'device_hid', - ], - 'sources': [ - 'mock_hid_service.cc', - 'mock_hid_service.h', - ], - }, - ], -} diff --git a/device/media_transfer_protocol/media_transfer_protocol.gyp b/device/media_transfer_protocol/media_transfer_protocol.gyp deleted file mode 100644 index 4e50d6e1c77ed..0000000000000 --- a/device/media_transfer_protocol/media_transfer_protocol.gyp +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # Protobuf compiler / generator for the MtpFileEntry and - # MtpFileEntries protocol buffers. - # GN version: //device/media_transfer_protocol:mtp_file_entry_proto - 'target_name': 'mtp_file_entry_proto', - 'type': 'static_library', - 'sources': [ - '../../third_party/cros_system_api/dbus/mtp_file_entry.proto', - ], - 'variables': { - 'proto_in_dir': '../../third_party/cros_system_api/dbus', - 'proto_out_dir': 'device/media_transfer_protocol', - }, - 'includes': ['../../build/protoc.gypi'], - }, - { - # Protobuf compiler / generator for the MtpStorageInfo protocol - # buffer. - # GN version: //device/media_transfer_protocol:mtp_storage_info_proto - 'target_name': 'mtp_storage_info_proto', - 'type': 'static_library', - 'sources': [ - '../../third_party/cros_system_api/dbus/mtp_storage_info.proto', - ], - 'variables': { - 'proto_in_dir': '../../third_party/cros_system_api/dbus', - 'proto_out_dir': 'device/media_transfer_protocol', - }, - 'includes': ['../../build/protoc.gypi'], - }, - { - # GN version: //device/media_transfer_protocol - 'target_name': 'device_media_transfer_protocol', - 'type': 'static_library', - 'dependencies': [ - '../../build/linux/system.gyp:dbus', - '../../dbus/dbus.gyp:dbus', - 'mtp_file_entry_proto', - 'mtp_storage_info_proto', - ], - 'sources': [ - 'media_transfer_protocol_daemon_client.cc', - 'media_transfer_protocol_daemon_client.h', - 'media_transfer_protocol_manager.cc', - 'media_transfer_protocol_manager.h', - ], - }, - ], -} diff --git a/device/nfc/nfc.gyp b/device/nfc/nfc.gyp deleted file mode 100644 index ecbfe7d0b1db4..0000000000000 --- a/device/nfc/nfc.gyp +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - 'android_support_v13_target%': - '../../third_party/android_tools/android_tools.gyp:android_support_v13_javalib', - }, - 'targets': [ - { - 'target_name': 'device_nfc_mojo_bindings', - 'type': 'static_library', - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'nfc.mojom', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - 'target_name': 'device_nfc_mojo_bindings_for_blink', - 'type': 'static_library', - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'nfc.mojom', - ], - }, - ], - 'conditions': [ - ['OS == "android"', { - 'targets': [ - { - 'target_name': 'device_nfc_java', - 'type': 'none', - 'dependencies': [ - '<(android_support_v13_target)', - '../../base/base.gyp:base', - '../../mojo/mojo_public.gyp:mojo_bindings_java', - 'device_nfc_mojo_bindings', - ], - 'variables': { - 'java_in_dir': '../../device/nfc/android/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], - }, { # OS != "android" - }], - ], -} diff --git a/device/power_save_blocker/power_save_blocker.gyp b/device/power_save_blocker/power_save_blocker.gyp deleted file mode 100644 index d02683538acc5..0000000000000 --- a/device/power_save_blocker/power_save_blocker.gyp +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/power_save_blocker - 'target_name': 'device_power_save_blocker', - 'type': '<(component)', - 'dependencies': [ - '../../base/base.gyp:base', - ], - 'defines': [ - 'DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION', - ], - 'sources': [ - # Note: file list duplicated in GN build, other than Android, as gyp - # for Android isn't supported. - 'power_save_blocker.h', - 'power_save_blocker_chromeos.cc', - 'power_save_blocker_mac.cc', - 'power_save_blocker_ozone.cc', - 'power_save_blocker_win.cc', - 'power_save_blocker_x11.cc', - ], - 'conditions': [ - ['use_x11==1 and chromeos==0', { - 'dependencies': [ - '../../build/linux/system.gyp:xext', - '../../build/linux/system.gyp:xscrnsaver', - '../../ui/gfx/x/gfx_x11.gyp:gfx_x11', - ], - }], - ['use_dbus==1', { - 'dependencies': [ - '../../build/linux/system.gyp:dbus', - '../../dbus/dbus.gyp:dbus', - ], - }], - ['chromeos==1', { - 'sources!': [ - 'power_save_blocker_ozone.cc', - 'power_save_blocker_x11.cc', - ], - 'dependencies': [ - '../../chromeos/chromeos.gyp:chromeos', - '../../chromeos/chromeos.gyp:power_manager_proto', - ], - }], - ['OS == "mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', - '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', - ], - }, - }], - ], - }, - ], -} diff --git a/device/sensors/sensors.gyp b/device/sensors/sensors.gyp deleted file mode 100644 index 13e050d3b50a0..0000000000000 --- a/device/sensors/sensors.gyp +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'chromium_code': 1, - 'mojom_files': [ - 'public/interfaces/light.mojom', - 'public/interfaces/motion.mojom', - 'public/interfaces/orientation.mojom', - ], - }, - 'targets': [ - { - 'target_name': 'device_sensors_mojo_bindings', - 'type': 'static_library', - 'sources': [ '<@(mojom_files)' ], - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - 'target_name': 'device_sensors_mojo_bindings_for_blink', - 'type': 'static_library', - 'sources': [ '<@(mojom_files)' ], - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - }, - ], -} diff --git a/device/serial/serial.gyp b/device/serial/serial.gyp deleted file mode 100644 index 96db8e0b1b6b5..0000000000000 --- a/device/serial/serial.gyp +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/serial:serial_mojo - 'target_name': 'device_serial_mojo', - # The type of this target must be none. This is so that resources can - # depend upon this target for generating the js bindings files. Any - # generated cpp files must be listed explicitly in device_serial - 'type': 'none', - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'data_stream.mojom', - 'data_stream_serialization.mojom', - 'serial.mojom', - 'serial_serialization.mojom', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - # GN version: //device/serial - 'target_name': 'device_serial', - 'type': 'static_library', - 'conditions': [ - ['chromeos==1', { - 'dependencies': [ - '../../chromeos/chromeos.gyp:chromeos', - '../../dbus/dbus.gyp:dbus', - ], - }], - ['use_udev == 1', { - 'dependencies': [ - '../udev_linux/udev.gyp:udev_linux', - ], - }, { - 'sources!': [ - 'serial_device_enumerator_linux.cc', - 'serial_device_enumerator_linux.h', - ], - }], - ['OS=="win"', { - 'link_settings': { - 'msvs_settings': { - 'VCLinkerTool': { - 'DelayLoadDLLs': [ - 'setupapi.dll', - ], - 'AdditionalDependencies': [ - 'setupapi.lib', - ], - }, - }, - }, - 'all_dependent_settings': { - 'msvs_settings': { - 'VCLinkerTool': { - 'DelayLoadDLLs': [ - 'setupapi.dll', - ], - 'AdditionalDependencies': [ - 'setupapi.lib', - ], - }, - }, - }, - }], - ], - 'dependencies': [ - 'device_serial_mojo', - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - '../../net/net.gyp:net', - '../../third_party/re2/re2.gyp:re2', - '../core/core.gyp:device_core', - ], - 'export_dependent_settings': [ - 'device_serial_mojo', - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - ], - 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.cc', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.h', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc', - '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h', - 'buffer.cc', - 'buffer.h', - 'data_receiver.cc', - 'data_receiver.h', - 'data_sender.cc', - 'data_sender.h', - 'data_sink_receiver.cc', - 'data_sink_receiver.h', - 'data_source_sender.cc', - 'data_source_sender.h', - 'serial_connection.cc', - 'serial_connection.h', - 'serial_connection_factory.cc', - 'serial_connection_factory.h', - 'serial_device_enumerator.cc', - 'serial_device_enumerator.h', - 'serial_device_enumerator_linux.cc', - 'serial_device_enumerator_linux.h', - 'serial_device_enumerator_mac.cc', - 'serial_device_enumerator_mac.h', - 'serial_device_enumerator_win.cc', - 'serial_device_enumerator_win.h', - 'serial_io_handler.cc', - 'serial_io_handler.h', - 'serial_io_handler_posix.cc', - 'serial_io_handler_posix.h', - 'serial_io_handler_win.cc', - 'serial_io_handler_win.h', - 'serial_service_impl.cc', - 'serial_service_impl.h', - ], - }, - { - # GN version: //device/serial:test_support - 'target_name': 'device_serial_test_util', - 'type': 'static_library', - 'dependencies': [ - 'device_serial', - 'device_serial_mojo', - ], - 'sources': [ - 'test_serial_io_handler.cc', - 'test_serial_io_handler.h', - ], - }, - ], -} diff --git a/device/udev_linux/udev.gyp b/device/udev_linux/udev.gyp deleted file mode 100644 index bcf56c9311c9a..0000000000000 --- a/device/udev_linux/udev.gyp +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'conditions': [ - ['use_udev==1', { - 'targets': [ - { - 'target_name': 'udev_linux', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - '../../build/linux/system.gyp:udev', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'scoped_udev.h', - 'udev.cc', - 'udev.h', - 'udev0_loader.cc', - 'udev0_loader.h', - 'udev1_loader.cc', - 'udev1_loader.h', - 'udev_linux.cc', - 'udev_linux.h', - 'udev_loader.cc', - 'udev_loader.h', - ], - }, - ], - }], - ] -} diff --git a/device/usb/usb.gyp b/device/usb/usb.gyp deleted file mode 100644 index 39540c28948ae..0000000000000 --- a/device/usb/usb.gyp +++ /dev/null @@ -1,218 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - 'mojom_files': [ - 'public/interfaces/chooser_service.mojom', - 'public/interfaces/device.mojom', - 'public/interfaces/device_manager.mojom', - ], - }, - 'targets': [ - { - 'target_name': 'device_usb', - 'type': 'static_library', - 'dependencies': [ - 'device_usb_mojo_bindings', - '../../components/components.gyp:device_event_log_component', - '../../net/net.gyp:net', - '../core/core.gyp:device_core', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'android/usb_jni_registrar.cc', - 'android/usb_jni_registrar.h', - 'mojo/device_impl.cc', - 'mojo/device_impl.h', - 'mojo/device_manager_impl.cc', - 'mojo/device_manager_impl.h', - 'mojo/type_converters.cc', - 'mojo/type_converters.h', - 'mojo/permission_provider.cc', - 'mojo/permission_provider.h', - 'usb_configuration_android.cc', - 'usb_configuration_android.h', - 'usb_descriptors.cc', - 'usb_descriptors.h', - 'usb_device_linux.cc', - 'usb_device_linux.h', - 'usb_device.cc', - 'usb_device.h', - 'usb_device_android.cc', - 'usb_device_android.h', - 'usb_device_filter.cc', - 'usb_device_filter.h', - 'usb_device_handle.cc', - 'usb_device_handle.h', - 'usb_endpoint_android.cc', - 'usb_endpoint_android.h', - 'usb_ids.cc', - 'usb_ids.h', - 'usb_interface_android.cc', - 'usb_interface_android.h', - 'usb_service.cc', - 'usb_service.h', - 'usb_service_android.cc', - 'usb_service_android.h', - 'webusb_descriptors.cc', - 'webusb_descriptors.h', - ], - 'actions': [ - { - 'action_name': 'generate_usb_ids', - 'variables': { - 'usb_ids_path%': '../../third_party/usb_ids/usb.ids', - 'usb_ids_py_path': 'tools/usb_ids.py', - }, - 'inputs': [ - '<(usb_ids_path)', - '<(usb_ids_py_path)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc', - ], - 'action': [ - 'python', - '<(usb_ids_py_path)', - '-i', '<(usb_ids_path)', - '-o', '<@(_outputs)', - ], - 'process_outputs_as_sources': 1, - }, - ], - 'conditions': [ - ['use_udev == 1', { - 'sources': [ - 'usb_service_linux.cc', - 'usb_service_linux.h', - ], - 'dependencies': [ - '../udev_linux/udev.gyp:udev_linux', - ], - }], - ['OS=="android"', { - 'dependencies': [ - 'device_usb_java', - 'device_usb_jni_headers', - ], - }], - ['OS=="win" or OS=="mac"', { - 'dependencies': [ - '../../third_party/libusb/libusb.gyp:libusb', - ], - 'sources': [ - 'usb_context.cc', - 'usb_context.h', - 'usb_device_handle_impl.cc', - 'usb_device_handle_impl.h', - 'usb_device_impl.cc', - 'usb_device_impl.h', - 'usb_error.cc', - 'usb_error.h', - 'usb_service_impl.cc', - 'usb_service_impl.h', - ], - }], - ['OS=="linux" or OS=="android"', { - 'sources': [ - 'usb_device_handle_usbfs.cc', - 'usb_device_handle_usbfs.h', - ], - }], - ['chromeos==1', { - 'dependencies': [ - '../../chromeos/chromeos.gyp:chromeos', - ], - }] - ] - }, - { - 'target_name': 'device_usb_mojo_bindings', - 'type': 'static_library', - 'sources': [ '<@(mojom_files)' ], - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - 'target_name': 'device_usb_mojo_bindings_for_blink', - 'type': 'static_library', - 'sources': [ '<@(mojom_files)' ], - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - }, - { - 'target_name': 'device_usb_mocks', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../testing/gmock.gyp:gmock', - 'device_usb', - ], - 'sources': [ - 'mock_usb_device.cc', - 'mock_usb_device.h', - 'mock_usb_device_handle.cc', - 'mock_usb_device_handle.h', - 'mock_usb_service.cc', - 'mock_usb_service.h', - ], - }, - ], - 'conditions': [ - ['OS == "android"', { - 'targets': [ - { - 'target_name': 'device_usb_jni_headers', - 'type': 'none', - 'sources': [ - 'android/java/src/org/chromium/device/usb/ChromeUsbConfiguration.java', - 'android/java/src/org/chromium/device/usb/ChromeUsbDevice.java', - 'android/java/src/org/chromium/device/usb/ChromeUsbEndpoint.java', - 'android/java/src/org/chromium/device/usb/ChromeUsbInterface.java', - 'android/java/src/org/chromium/device/usb/ChromeUsbService.java', - ], - 'variables': { - 'jni_gen_package': 'device_usb', - }, - 'includes': [ '../../build/jni_generator.gypi' ], - }, - { - 'target_name': 'device_usb_java', - 'type': 'none', - 'dependencies': [ - 'usb_descriptors_javagen', - '../../base/base.gyp:base', - ], - 'variables': { - 'java_in_dir': '../../device/usb/android/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - { - 'target_name': 'usb_descriptors_javagen', - 'type': 'none', - 'variables': { - 'source_file': 'usb_descriptors.h', - }, - 'includes': [ '../../build/android/java_cpp_enum.gypi' ], - }, - ], - }], - ], -} diff --git a/device/vibration/vibration.gyp b/device/vibration/vibration.gyp deleted file mode 100644 index 3e1f84bed6f09..0000000000000 --- a/device/vibration/vibration.gyp +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/vibration:mojo_bindings - 'target_name': 'device_vibration_mojo_bindings', - 'type': 'static_library', - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'vibration_manager.mojom', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - # GN version: //device/vibration:mojo_bindings_blink - 'target_name': 'device_vibration_mojo_bindings_for_blink', - 'type': 'static_library', - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'vibration_manager.mojom', - ], - }, - { - # GN version: //device/vibration - 'target_name': 'device_vibration', - 'type': '<(component)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../mojo/mojo_edk.gyp:mojo_system_impl', - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - 'device_vibration_mojo_bindings', - ], - 'defines': [ - 'DEVICE_VIBRATION_IMPLEMENTATION', - ], - 'sources': [ - 'vibration_manager_impl.h', - 'vibration_manager_impl_default.cc', - ], - 'conditions': [ - ['OS == "android"', { - 'dependencies': [ - 'device_vibration_java', - ], - 'sources!': [ - 'vibration_manager_impl_default.cc', - ], - }], - ], - }, - ], - 'conditions': [ - ['OS == "android"', { - 'targets': [ - { - 'target_name': 'device_vibration_java', - 'type': 'none', - 'dependencies': [ - '../../base/base.gyp:base', - '../../mojo/mojo_public.gyp:mojo_bindings_java', - 'device_vibration_mojo_bindings', - ], - 'variables': { - 'java_in_dir': '../../device/vibration/android/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], - }], - ], -} diff --git a/device/vr/vr.gyp b/device/vr/vr.gyp deleted file mode 100644 index 4cda610558632..0000000000000 --- a/device/vr/vr.gyp +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //device/vr:mojo_bindings - 'target_name': 'device_vr_mojo_bindings', - 'type': 'static_library', - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'vr_service.mojom', - ], - 'variables': { - 'use_new_wrapper_types': 'false', - }, - }, - { - # GN version: //device/vr:mojo_bindings_blink - 'target_name': 'device_vr_mojo_bindings_for_blink', - 'type': 'static_library', - 'variables': { - 'for_blink': 'true', - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../../mojo/mojom_bindings_generator.gypi', - ], - 'sources': [ - 'vr_service.mojom', - ], - }, - ], -} diff --git a/extensions/components/javascript_dialog_extensions_client.gypi b/extensions/components/javascript_dialog_extensions_client.gypi deleted file mode 100644 index 611108fbada85..0000000000000 --- a/extensions/components/javascript_dialog_extensions_client.gypi +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2014 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. -{ - 'targets': [ - { - 'target_name': 'javascript_dialog_extensions_client', - 'type': 'static_library', - 'dependencies': [ - '../../components/components.gyp:app_modal', - '../../skia/skia.gyp:skia', - '../extensions.gyp:extensions_browser', - '../extensions.gyp:extensions_common', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.cc', - 'javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h', - ], - }, - ], -} diff --git a/extensions/components/native_app_window.gypi b/extensions/components/native_app_window.gypi deleted file mode 100644 index 5af1c9265493c..0000000000000 --- a/extensions/components/native_app_window.gypi +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2014 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. -{ - 'targets': [ - { - 'target_name': 'native_app_window', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - '../../content/content.gyp:content_browser', - '../../skia/skia.gyp:skia', - '../../ui/views/views.gyp:views', - '../../ui/views/controls/webview/webview.gyp:webview', - '../extensions.gyp:extensions_browser', - '../extensions.gyp:extensions_common', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'native_app_window/native_app_window_views.cc', - 'native_app_window/native_app_window_views.h', - ], - }, - ], -} diff --git a/gin/fingerprint/fingerprint_v8_snapshot.gypi b/gin/fingerprint/fingerprint_v8_snapshot.gypi deleted file mode 100644 index ede0de3ea5c1e..0000000000000 --- a/gin/fingerprint/fingerprint_v8_snapshot.gypi +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 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 is meant to be included into a target to provide a rule that -# fingerprints the v8 snapshot and generates a .cc file which includes this -# fingerprint. -# -# To use this, create a gyp target with the following form: -# { -# 'target_name': 'gin_v8_snapshot_fingerprint', -# 'type': 'none', -# 'variables': { -# 'snapshot_file': 'snapshot blob file to be fingerprinted', -# 'natives_file': 'natives blob file to be fingerprinted', -# 'output_file': 'output .cc file to generate with fingerprints', -# }, -# 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ], -# }, -# - -{ - 'conditions': [ - ['v8_use_external_startup_data==1', { - 'actions': [ - { - 'action_name': 'Generate V8 snapshot fingerprint', - 'message': 'Generating V8 snapshot fingerprint', - 'inputs': [ - '<(DEPTH)/gin/fingerprint/fingerprint_v8_snapshot.py', - '<(snapshot_file)', - '<(natives_file)', - ], - 'outputs': [ - '<(output_file)', - ], - 'action': [ - 'python', '<(DEPTH)/gin/fingerprint/fingerprint_v8_snapshot.py', - '--snapshot_file=<(snapshot_file)', - '--natives_file=<(natives_file)', - '--output_file=<(output_file)', - ], - } - ], - }], - ], -} \ No newline at end of file diff --git a/gin/gin.gyp b/gin/gin.gyp deleted file mode 100644 index 0ea039fe72f8b..0000000000000 --- a/gin/gin.gyp +++ /dev/null @@ -1,198 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - 'gin_gen_path': '<(SHARED_INTERMEDIATE_DIR)/gin/', - }, - 'targets': [ - { - 'target_name': 'gin', - 'type': '<(component)', - 'dependencies': [ - '../base/base.gyp:base', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../v8/src/v8.gyp:v8', - ], - 'export_dependent_settings': [ - '../base/base.gyp:base', - '../v8/src/v8.gyp:v8', - ], - 'defines': [ - 'GIN_IMPLEMENTATION', - ], - 'sources': [ - 'arguments.cc', - 'arguments.h', - 'array_buffer.cc', - 'array_buffer.h', - 'context_holder.cc', - 'converter.cc', - 'converter.h', - 'debug_impl.cc', - 'debug_impl.h', - 'dictionary.cc', - 'dictionary.h', - 'function_template.cc', - 'function_template.h', - 'gin_export.h', - 'gin_features.cc', - 'handle.h', - 'interceptor.cc', - 'interceptor.h', - 'isolate_holder.cc', - 'modules/console.cc', - 'modules/console.h', - 'modules/file_module_provider.cc', - 'modules/file_module_provider.h', - 'modules/module_registry.cc', - 'modules/module_registry.h', - 'modules/module_registry_observer.h', - 'modules/module_runner_delegate.cc', - 'modules/module_runner_delegate.h', - 'modules/timer.cc', - 'modules/timer.h', - 'object_template_builder.cc', - 'object_template_builder.h', - 'per_context_data.cc', - 'per_context_data.h', - 'per_isolate_data.cc', - 'per_isolate_data.h', - 'public/context_holder.h', - 'public/debug.h', - 'public/gin_embedders.h', - 'public/gin_features.h', - 'public/isolate_holder.h', - 'public/v8_platform.h', - 'public/wrapper_info.h', - 'runner.cc', - 'runner.h', - 'run_microtasks_observer.cc', - 'run_microtasks_observer.h', - 'shell_runner.cc', - 'shell_runner.h', - 'try_catch.cc', - 'try_catch.h', - 'v8_initializer.h', - 'v8_initializer.cc', - 'v8_isolate_memory_dump_provider.cc', - 'v8_isolate_memory_dump_provider.h', - 'v8_platform.cc', - 'wrappable.cc', - 'wrappable.h', - 'wrapper_info.cc', - ], - 'conditions': [ - ['v8_use_external_startup_data==1 and OS=="win"', { - 'dependencies': [ - 'gin_v8_snapshot_fingerprint', - '../crypto/crypto.gyp:crypto', - ], - 'sources': [ - '<(gin_gen_path)/v8_snapshot_fingerprint.cc', - ], - 'defines': [ - 'V8_VERIFY_EXTERNAL_STARTUP_DATA', - ] - }], - ], - }, - { - 'target_name': 'gin_v8_snapshot_fingerprint', - 'type': 'none', - 'variables': { - 'snapshot_file': '<(PRODUCT_DIR)/snapshot_blob.bin', - 'natives_file': '<(PRODUCT_DIR)/natives_blob.bin', - 'output_file': '<(gin_gen_path)/v8_snapshot_fingerprint.cc', - }, - 'includes': [ '../gin/fingerprint/fingerprint_v8_snapshot.gypi' ], - }, - { - 'target_name': 'gin_shell', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../v8/src/v8.gyp:v8', - 'gin', - ], - 'sources': [ - 'shell/gin_main.cc', - ], - 'msvs_settings': { - 'VCLinkerTool': { - 'SubSystem': '1', # /SUBSYSTEM:CONSOLE - }, - }, - }, - { - 'target_name': 'gin_test', - 'type': 'static_library', - 'dependencies': [ - '../testing/gtest.gyp:gtest', - '../v8/src/v8.gyp:v8', - 'gin', - ], - 'export_dependent_settings': [ - '../testing/gtest.gyp:gtest', - 'gin', - ], - 'sources': [ - 'test/file.cc', - 'test/file.h', - 'test/file_runner.cc', - 'test/file_runner.h', - 'test/gc.cc', - 'test/gc.h', - 'test/gtest.cc', - 'test/gtest.h', - 'test/v8_test.cc', - 'test/v8_test.h', - ], - }, - { - 'target_name': 'gin_unittests', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:test_support_base', - '../v8/src/v8.gyp:v8', - 'gin_shell', - 'gin_test', - ], - 'sources': [ - 'converter_unittest.cc', - 'interceptor_unittest.cc', - 'modules/module_registry_unittest.cc', - 'modules/timer_unittest.cc', - 'per_context_data_unittest.cc', - 'shell_runner_unittest.cc', - 'shell/gin_shell_unittest.cc', - 'test/run_all_unittests.cc', - 'test/run_js_tests.cc', - 'v8_isolate_memory_dump_provider_unittest.cc', - 'wrappable_unittest.cc', - ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'gin_unittests_run', - 'type': 'none', - 'dependencies': [ - 'gin_unittests', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'gin_unittests.isolate', - ], - }, - ], - }], - ], -} diff --git a/google_apis/determine_use_official_keys.gypi b/google_apis/determine_use_official_keys.gypi deleted file mode 100644 index d9f11164af7f1..0000000000000 --- a/google_apis/determine_use_official_keys.gypi +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 2013 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. - -# Include this .gypi in your target to dynamically set the -# use_official_google_api_keys variable (unless it is already -# explicitly set) and the associated preprocessor define. - -{ - 'variables': { - 'variables': { - # See documentation of this variable in //build/common.gypi. - 'use_official_google_api_keys%': 2, - }, - - # Copy conditionally-set variables out one scope. - 'use_official_google_api_keys%': '<(use_official_google_api_keys)', - - 'conditions': [ - # If use_official_google_api_keys is already set (to 0 or 1), we - # do none of the implicit checking. If it is set to 1 and the - # internal keys file is missing, the build will fail at compile - # time. If it is set to 0 and keys are not provided by other - # means, a warning will be printed at compile time. - ['use_official_google_api_keys==2', { - 'use_official_google_api_keys%': - '(PRODUCT_DIR)/crnet_resources.bundle', - ], - }, - }, - }, - ], -} diff --git a/ios/crnet/crnet_consumer/crnet_consumer.gyp b/ios/crnet/crnet_consumer/crnet_consumer.gyp deleted file mode 100644 index b89dfcc5bdd8f..0000000000000 --- a/ios/crnet/crnet_consumer/crnet_consumer.gyp +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [], - 'conditions': [ - # Our shared library hack only works with ninja; xcode cannot generate - # iOS build targets for dynamic libraries. - ['"<(GENERATOR)"=="ninja"', { - 'targets': [ - { - 'target_name': 'crnet_consumer', - 'type': 'executable', - 'mac_bundle': 1, - 'dependencies': [ - '../../../ios/crnet/crnet_pack.gyp:crnet_pack', - ], - 'sources': [ - 'crnet_consumer_app_delegate.h', - 'crnet_consumer_app_delegate.mm', - 'crnet_consumer_view_controller.h', - 'crnet_consumer_view_controller.m', - 'main.mm', - ], - 'mac_bundle_resources': [ - '../../../third_party/icu/common/icudtl.dat', - 'Default.png', - 'crnet-consumer-Info.plist', - ], - 'include_dirs': [ - '../../..', - '..', - ], - 'link_settings': { - 'libraries': [ - '<(PRODUCT_DIR)/libcrnet_standalone.a', - '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', - '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', - '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', - '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', - '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', - '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', - '$(SDKROOT)/System/Library/Frameworks/Security.framework', - '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework', - ], - 'xcode_settings': { - 'OTHER_LDFLAGS': [ - '-lresolv', - '-lsqlite3', - '-lxml2', - ], - }, - }, - 'xcode_settings': { - 'CLANG_ENABLE_OBJC_ARC': 'YES', - 'DEAD_CODE_STRIPPING': 'YES', - 'INFOPLIST_FILE': 'crnet-consumer-Info.plist', - }, - }, - ], - }], - ], -} diff --git a/ios/crnet/crnet_pack.gyp b/ios/crnet/crnet_pack.gyp deleted file mode 100644 index 79d654599e9c7..0000000000000 --- a/ios/crnet/crnet_pack.gyp +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [], - 'conditions': [ - # Our shared library hack only works with ninja; xcode cannot generate - # iOS build targets for dynamic libraries. More details below. - ['"<(GENERATOR)"=="ninja"', { - 'targets': [ - { - 'target_name': 'crnet_dummy', - 'type': 'executable', - 'mac_bundle': 1, - 'dependencies': [ - '../../ios/crnet/crnet.gyp:crnet', - ], - 'sources': [ - '../../ios/build/packaging/dummy_main.mm', - ], - 'include_dirs': [ - '../..', - ], - 'xcode_settings': { - 'INFOPLIST_FILE': '../../ios/build/packaging/dummy-Info.plist', - }, - }, - { - # Build this target to package a standalone CrNet in a single - # .a file. - 'target_name': 'crnet_pack', - 'type': 'none', - 'dependencies': [ - # Depend on the dummy target so that all of CrNet's dependencies - # are built before packaging. - 'crnet_dummy', - ], - 'actions': [ - { - 'action_name': 'Package CrNet', - 'variables': { - 'tool_path': - '../../ios/build/packaging/link_dependencies.py', - }, - - # Actions need an inputs list, even if it's empty. - 'inputs': [ - '<(tool_path)', - '<(PRODUCT_DIR)/crnet_dummy.app/crnet_dummy', - ], - # Only specify one output, since this will be libtool's output. - 'outputs': [ '<(PRODUCT_DIR)/libcrnet_standalone.a' ], - 'action': ['<(tool_path)', - '<(PRODUCT_DIR)', - 'crnet_dummy.app/crnet_dummy', - '<@(_outputs)', - ], - }, - ], - }, - ], - }], - ], -} diff --git a/ios/crnet/test/crnet_test.gyp b/ios/crnet/test/crnet_test.gyp deleted file mode 100644 index f44883d9b8a7e..0000000000000 --- a/ios/crnet/test/crnet_test.gyp +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [], - 'conditions': [ - # The CrNet build is ninja-only because of the hack in - # ios/build/packaging/link_dependencies.py. - ['OS=="ios" and "<(GENERATOR)"=="ninja"', { - 'targets': [ - { - 'target_name': 'crnet_test', - 'type': 'executable', - 'dependencies': [ - '../../../ios/crnet/crnet.gyp:crnet', - '../../../ios/third_party/gcdwebserver/gcdwebserver.gyp:gcdwebserver', - '../../../testing/gtest.gyp:gtest', - ], - 'sources': [ - 'crnet_http_tests.mm', - 'crnet_test_runner.mm', - ], - 'include_dirs': [ - '../../..', - '..', - ], - 'link_settings': { - }, - }, - ], - }], - ], -} diff --git a/ios/ios.gyp b/ios/ios.gyp deleted file mode 100644 index 151cbd8a23e28..0000000000000 --- a/ios/ios.gyp +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2013 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'ios', - 'type': 'none', - 'dependencies': [ - 'chrome/common/physical_web/physical_web.gyp:*', - 'chrome/ios_chrome_tests.gyp:*', - 'chrome/ios_share_extension_resources.gyp:*', - 'chrome/ios_today_extension_resources.gyp:*', - 'consumer/ios_consumer_base.gyp:*', - 'crnet/crnet.gyp:*', - 'crnet/crnet_consumer/crnet_consumer.gyp:*', - 'crnet/crnet_pack.gyp:*', - 'crnet/test/crnet_test.gyp:*', - 'net/ios_net.gyp:*', - 'net/ios_net_unittests.gyp:*', - 'provider/ios_provider_chrome.gyp:*', - 'provider/ios_provider_web.gyp:*', - 'testing/ios_testing.gyp:*', - 'web/ios_web.gyp:*', - 'web/ios_web_inttests.gyp:*', - 'web/ios_web_shell.gyp:*', - 'web/ios_web_shell_tests.gyp:*', - 'web/ios_web_unittests.gyp:*', - ], - }, - ], -} diff --git a/ios/net/ios_net.gyp b/ios/net/ios_net.gyp deleted file mode 100644 index 79a1ffe312ba8..0000000000000 --- a/ios/net/ios_net.gyp +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/net - 'target_name': 'ios_net', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../../net/net.gyp:net', - ], - 'sources': [ - 'clients/crn_forwarding_network_client.h', - 'clients/crn_forwarding_network_client.mm', - 'clients/crn_forwarding_network_client_factory.h', - 'clients/crn_forwarding_network_client_factory.mm', - 'clients/crn_network_client_protocol.h', - 'clients/crn_simple_network_client_factory.h', - 'clients/crn_simple_network_client_factory.mm', - 'cookies/cookie_cache.cc', - 'cookies/cookie_cache.h', - 'cookies/cookie_creation_time_manager.h', - 'cookies/cookie_creation_time_manager.mm', - 'cookies/cookie_store_ios.h', - 'cookies/cookie_store_ios.mm', - 'cookies/cookie_store_ios_client.h', - 'cookies/cookie_store_ios_client.mm', - 'cookies/system_cookie_util.h', - 'cookies/system_cookie_util.mm', - 'crn_http_protocol_handler.h', - 'crn_http_protocol_handler.mm', - 'crn_http_protocol_handler_proxy.h', - 'crn_http_protocol_handler_proxy_with_client_thread.h', - 'crn_http_protocol_handler_proxy_with_client_thread.mm', - 'crn_http_url_response.h', - 'crn_http_url_response.mm', - 'empty_nsurlcache.h', - 'empty_nsurlcache.mm', - 'http_cache_helper.cc', - 'http_cache_helper.h', - 'http_protocol_logging.h', - 'http_protocol_logging.mm', - 'http_response_headers_util.h', - 'http_response_headers_util.mm', - 'nsurlrequest_util.h', - 'nsurlrequest_util.mm', - 'protocol_handler_util.h', - 'protocol_handler_util.mm', - 'request_tracker.h', - 'request_tracker.mm', - 'url_scheme_util.h', - 'url_scheme_util.mm', - ], - }, - ], -} diff --git a/ios/net/ios_net_unittests.gyp b/ios/net/ios_net_unittests.gyp deleted file mode 100644 index 7d4ab0471bb02..0000000000000 --- a/ios/net/ios_net_unittests.gyp +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2013 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/net:ios_net_unittests - 'target_name': 'ios_net_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:run_all_unittests', - '../../net/net.gyp:net_test_support', - '../../testing/gtest.gyp:gtest', - '../../url/url.gyp:url_lib', - 'ios_net.gyp:ios_net', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'clients/crn_forwarding_network_client_factory_unittest.mm', - 'cookies/cookie_cache_unittest.cc', - 'cookies/cookie_creation_time_manager_unittest.mm', - 'cookies/cookie_store_ios_unittest.mm', - 'cookies/system_cookie_util_unittest.mm', - 'http_response_headers_util_unittest.mm', - 'nsurlrequest_util_unittest.mm', - 'protocol_handler_util_unittest.mm', - 'url_scheme_util_unittest.mm', - ], - }, - ], -} diff --git a/ios/provider/ios_provider_chrome.gyp b/ios/provider/ios_provider_chrome.gyp deleted file mode 100644 index 41b03d6e40486..0000000000000 --- a/ios/provider/ios_provider_chrome.gyp +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2013 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/public/provider/chrome/browser - 'target_name': 'ios_provider_chrome_browser', - 'type': 'static_library', - 'sources': [ - '../public/provider/chrome/browser/browser_constants.cc', - '../public/provider/chrome/browser/browser_constants.h', - '../public/provider/chrome/browser/chrome_browser_provider.h', - '../public/provider/chrome/browser/chrome_browser_provider.mm', - '../public/provider/chrome/browser/geolocation_updater_provider.h', - '../public/provider/chrome/browser/geolocation_updater_provider.mm', - '../public/provider/chrome/browser/signin/chrome_identity.h', - '../public/provider/chrome/browser/signin/chrome_identity.mm', - '../public/provider/chrome/browser/signin/chrome_identity_browser_opener.h', - '../public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h', - '../public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm', - '../public/provider/chrome/browser/signin/chrome_identity_service.h', - '../public/provider/chrome/browser/signin/chrome_identity_service.mm', - '../public/provider/chrome/browser/signin/signin_error_provider.h', - '../public/provider/chrome/browser/signin/signin_error_provider.mm', - '../public/provider/chrome/browser/signin/signin_resources_provider.h', - '../public/provider/chrome/browser/signin/signin_resources_provider.mm', - '../public/provider/chrome/browser/ui/default_ios_web_view_factory.h', - '../public/provider/chrome/browser/ui/default_ios_web_view_factory.mm', - '../public/provider/chrome/browser/ui/infobar_view_delegate.h', - '../public/provider/chrome/browser/ui/infobar_view_protocol.h', - '../public/provider/chrome/browser/updatable_resource_provider.h', - '../public/provider/chrome/browser/updatable_resource_provider.mm', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../../components/components.gyp:autofill_core_browser', - '../../components/components.gyp:favicon_base', - '../../components/components.gyp:metrics', - '../../components/components.gyp:sync_sessions', - '../../net/net.gyp:net', - '../web/ios_web.gyp:ios_web', - 'ios_provider_web.gyp:ios_provider_web', - ], - }, - { - # GN version: //ios/public/provider/chrome/browser:test_support - 'target_name': 'ios_provider_chrome_browser_test_support', - 'type': 'static_library', - 'sources': [ - '../public/provider/chrome/browser/signin/fake_chrome_identity.h', - '../public/provider/chrome/browser/signin/fake_chrome_identity.mm', - '../public/provider/chrome/browser/signin/fake_chrome_identity_service.h', - '../public/provider/chrome/browser/signin/fake_chrome_identity_service.mm', - '../public/provider/chrome/browser/test_chrome_browser_provider.h', - '../public/provider/chrome/browser/test_chrome_browser_provider.mm', - '../public/provider/chrome/browser/test_chrome_provider_initializer.h', - '../public/provider/chrome/browser/test_chrome_provider_initializer.mm', - '../public/provider/chrome/browser/test_updatable_resource_provider.h', - '../public/provider/chrome/browser/test_updatable_resource_provider.mm', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../../components/components.gyp:signin_ios_browser_test_support', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - 'ios_provider_chrome_browser', - ], - }, - ], -} diff --git a/ios/provider/ios_provider_web.gyp b/ios/provider/ios_provider_web.gyp deleted file mode 100644 index ef8b55e1590fd..0000000000000 --- a/ios/provider/ios_provider_web.gyp +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2013 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/public/provider/web - 'target_name': 'ios_provider_web', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../web/ios_web.gyp:ios_web', - ], - 'sources': [ - '../public/provider/web/web_controller_provider.h', - '../public/provider/web/web_controller_provider.mm', - ], - }, - ], -} diff --git a/ios/testing/earl_grey/earl_grey_support.gyp b/ios/testing/earl_grey/earl_grey_support.gyp deleted file mode 100644 index 8be3c74d4e382..0000000000000 --- a/ios/testing/earl_grey/earl_grey_support.gyp +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2014 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/testing/earl_grey:earl_grey_support - 'target_name': 'earl_grey_support', - 'type': 'static_library', - 'dependencies': [ - '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', - ], - 'sources': [ - 'disabled_test_macros.h', - 'wait_util.h', - 'wait_util.mm', - ], - 'include_dirs': [ - '../../..', - ], - }, - ], -} diff --git a/ios/testing/ios_testing.gyp b/ios/testing/ios_testing.gyp deleted file mode 100644 index 80f09abcf61b9..0000000000000 --- a/ios/testing/ios_testing.gyp +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2014 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/testing:ocmock_support - 'target_name': 'ocmock_support', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - '../../third_party/ocmock/ocmock.gyp:ocmock', - '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', - ], - 'sources': [ - 'ocmock_complex_type_helper.h', - 'ocmock_complex_type_helper.mm', - ], - 'include_dirs': [ - '../..', - ], - 'export_dependent_settings': [ - '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', - ], - }, - { - # GN version: //ios/testing:ocmock_support_unittest - 'target_name': 'ocmock_support_unittest', - 'type': 'executable', - 'variables': { - 'ios_product_name': '<(_target_name)', - }, - 'sources': [ - 'ocmock_complex_type_helper_unittest.mm', - ], - 'dependencies': [ - 'ocmock_support', - '../../base/base.gyp:run_all_unittests', - '../../base/base.gyp:test_support_base', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - '../../testing/iossim/iossim.gyp:iossim#host', - '../../third_party/ocmock/ocmock.gyp:ocmock', - ], - 'include_dirs': [ - '../..', - ], - 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, - }, - ], -} diff --git a/ios/third_party/blink/blink_html_tokenizer.gyp b/ios/third_party/blink/blink_html_tokenizer.gyp deleted file mode 100644 index 5548922db26b7..0000000000000 --- a/ios/third_party/blink/blink_html_tokenizer.gyp +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2014 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. -{ - 'targets': [ - { - # GN version: //ios/third_party/blink:html_tokenizer - 'target_name': 'blink_html_tokenizer', - 'type': 'static_library', - 'dependencies': [ - '../../../base/base.gyp:base', - ], - 'include_dirs': [ - '../../..', - ], - 'sources': [ - 'src/html_character_provider.h', - 'src/html_input_stream_preprocessor.h', - 'src/html_markup_tokenizer_inlines.h', - 'src/html_token.h', - 'src/html_token.mm', - 'src/html_tokenizer.h', - 'src/html_tokenizer.mm', - 'src/html_tokenizer_adapter.h', - ], - }, - ], -} diff --git a/ios/third_party/earl_grey/earl_grey.gyp b/ios/third_party/earl_grey/earl_grey.gyp deleted file mode 100644 index 284aa8cbba92b..0000000000000 --- a/ios/third_party/earl_grey/earl_grey.gyp +++ /dev/null @@ -1,326 +0,0 @@ -# Copyright 2016 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. - -{ - 'targets': [ - { - 'target_name': 'EarlGrey', - 'type': 'shared_library', - 'mac_bundle': 1, - 'sources': [ - 'src/EarlGrey/Action/GREYAction.h', - 'src/EarlGrey/Action/GREYActionBlock.h', - 'src/EarlGrey/Action/GREYActionBlock.m', - 'src/EarlGrey/Action/GREYActions.h', - 'src/EarlGrey/Action/GREYActions.m', - 'src/EarlGrey/Action/GREYBaseAction.m', - 'src/EarlGrey/Action/GREYChangeStepperAction.h', - 'src/EarlGrey/Action/GREYChangeStepperAction.m', - 'src/EarlGrey/Action/GREYPathGestureUtils.h', - 'src/EarlGrey/Action/GREYPathGestureUtils.m', - 'src/EarlGrey/Action/GREYPickerAction.h', - 'src/EarlGrey/Action/GREYPickerAction.m', - 'src/EarlGrey/Action/GREYScrollAction.h', - 'src/EarlGrey/Action/GREYScrollAction.m', - 'src/EarlGrey/Action/GREYScrollActionError.m', - 'src/EarlGrey/Action/GREYScrollToContentEdgeAction.h', - 'src/EarlGrey/Action/GREYScrollToContentEdgeAction.m', - 'src/EarlGrey/Action/GREYSlideAction.h', - 'src/EarlGrey/Action/GREYSlideAction.m', - 'src/EarlGrey/Action/GREYSwipeAction.h', - 'src/EarlGrey/Action/GREYSwipeAction.m', - 'src/EarlGrey/Action/GREYTapAction.h', - 'src/EarlGrey/Action/GREYTapAction.m', - 'src/EarlGrey/Action/GREYTapper.h', - 'src/EarlGrey/Action/GREYTapper.m', - 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h', - 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.m', - 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.h', - 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.m', - 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h', - 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.m', - 'src/EarlGrey/Additions/CALayer+GREYAdditions.h', - 'src/EarlGrey/Additions/CALayer+GREYAdditions.m', - 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h', - 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.m', - 'src/EarlGrey/Additions/NSError+GREYAdditions.h', - 'src/EarlGrey/Additions/NSError+GREYAdditions.m', - 'src/EarlGrey/Additions/NSObject+GREYAdditions.h', - 'src/EarlGrey/Additions/NSObject+GREYAdditions.m', - 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h', - 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.m', - 'src/EarlGrey/Additions/NSString+GREYAdditions.h', - 'src/EarlGrey/Additions/NSString+GREYAdditions.m', - 'src/EarlGrey/Additions/NSTimer+GREYAdditions.h', - 'src/EarlGrey/Additions/NSTimer+GREYAdditions.m', - 'src/EarlGrey/Additions/NSURL+GREYAdditions.h', - 'src/EarlGrey/Additions/NSURL+GREYAdditions.m', - 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h', - 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.m', - 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h', - 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.m', - 'src/EarlGrey/Additions/UIApplication+GREYAdditions.h', - 'src/EarlGrey/Additions/UIApplication+GREYAdditions.m', - 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h', - 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.m', - 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h', - 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.m', - 'src/EarlGrey/Additions/UISwitch+GREYAdditions.h', - 'src/EarlGrey/Additions/UISwitch+GREYAdditions.m', - 'src/EarlGrey/Additions/UITouch+GREYAdditions.h', - 'src/EarlGrey/Additions/UITouch+GREYAdditions.m', - 'src/EarlGrey/Additions/UIView+GREYAdditions.h', - 'src/EarlGrey/Additions/UIView+GREYAdditions.m', - 'src/EarlGrey/Additions/UIViewController+GREYAdditions.h', - 'src/EarlGrey/Additions/UIViewController+GREYAdditions.m', - 'src/EarlGrey/Additions/UIWebView+GREYAdditions.h', - 'src/EarlGrey/Additions/UIWebView+GREYAdditions.m', - 'src/EarlGrey/Additions/UIWindow+GREYAdditions.h', - 'src/EarlGrey/Additions/UIWindow+GREYAdditions.m', - 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h', - 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.m', - 'src/EarlGrey/AppSupport/GREYIdlingResource.h', - 'src/EarlGrey/Assertion/GREYAssertion.h', - 'src/EarlGrey/Assertion/GREYAssertionBlock.h', - 'src/EarlGrey/Assertion/GREYAssertionBlock.m', - 'src/EarlGrey/Assertion/GREYAssertionDefines.h', - 'src/EarlGrey/Assertion/GREYAssertions.h', - 'src/EarlGrey/Assertion/GREYAssertions.m', - 'src/EarlGrey/Common/GREYAnalytics.h', - 'src/EarlGrey/Common/GREYAnalytics.m', - 'src/EarlGrey/Common/GREYConfiguration.h', - 'src/EarlGrey/Common/GREYConfiguration.m', - 'src/EarlGrey/Common/GREYConstants.h', - 'src/EarlGrey/Common/GREYConstants.m', - 'src/EarlGrey/Common/GREYDefines.h', - 'src/EarlGrey/Common/GREYElementHierarchy.h', - 'src/EarlGrey/Common/GREYElementHierarchy.m', - 'src/EarlGrey/Common/GREYExposed.h', - 'src/EarlGrey/Common/GREYPrivate.h', - 'src/EarlGrey/Common/GREYScreenshotUtil.h', - 'src/EarlGrey/Common/GREYScreenshotUtil.m', - 'src/EarlGrey/Common/GREYSwizzler.h', - 'src/EarlGrey/Common/GREYSwizzler.m', - 'src/EarlGrey/Common/GREYTestHelper.h', - 'src/EarlGrey/Common/GREYTestHelper.m', - 'src/EarlGrey/Common/GREYVisibilityChecker.h', - 'src/EarlGrey/Common/GREYVisibilityChecker.m', - 'src/EarlGrey/Core/GREYAutomationSetup.h', - 'src/EarlGrey/Core/GREYAutomationSetup.m', - 'src/EarlGrey/Core/GREYElementFinder.h', - 'src/EarlGrey/Core/GREYElementFinder.m', - 'src/EarlGrey/Core/GREYElementInteraction.h', - 'src/EarlGrey/Core/GREYElementInteraction.m', - 'src/EarlGrey/Core/GREYInteractionDataSource.h', - 'src/EarlGrey/Core/GREYKeyboard.h', - 'src/EarlGrey/Core/GREYKeyboard.m', - 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h', - 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.m', - 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h', - 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.m', - 'src/EarlGrey/Delegate/GREYSurrogateDelegate.h', - 'src/EarlGrey/Delegate/GREYSurrogateDelegate.m', - 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h', - 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.m', - 'src/EarlGrey/EarlGrey.h', - 'src/EarlGrey/EarlGrey.m', - 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h', - 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.m', - 'src/EarlGrey/Event/GREYSyntheticEvents.h', - 'src/EarlGrey/Event/GREYSyntheticEvents.m', - 'src/EarlGrey/Exception/GREYDefaultFailureHandler.h', - 'src/EarlGrey/Exception/GREYDefaultFailureHandler.m', - 'src/EarlGrey/Exception/GREYFailureHandler.h', - 'src/EarlGrey/Exception/GREYFrameworkException.h', - 'src/EarlGrey/Exception/GREYFrameworkException.m', - 'src/EarlGrey/Matcher/GREYAllOf.h', - 'src/EarlGrey/Matcher/GREYAllOf.m', - 'src/EarlGrey/Matcher/GREYAnyOf.h', - 'src/EarlGrey/Matcher/GREYAnyOf.m', - 'src/EarlGrey/Matcher/GREYBaseMatcher.h', - 'src/EarlGrey/Matcher/GREYBaseMatcher.m', - 'src/EarlGrey/Matcher/GREYDescription.h', - 'src/EarlGrey/Matcher/GREYElementMatcherBlock.h', - 'src/EarlGrey/Matcher/GREYElementMatcherBlock.m', - 'src/EarlGrey/Matcher/GREYHCMatcher.h', - 'src/EarlGrey/Matcher/GREYHCMatcher.m', - 'src/EarlGrey/Matcher/GREYLayoutConstraint.h', - 'src/EarlGrey/Matcher/GREYLayoutConstraint.m', - 'src/EarlGrey/Matcher/GREYMatcher.h', - 'src/EarlGrey/Matcher/GREYMatchers.h', - 'src/EarlGrey/Matcher/GREYMatchers.m', - 'src/EarlGrey/Matcher/GREYNot.h', - 'src/EarlGrey/Matcher/GREYNot.m', - 'src/EarlGrey/Matcher/GREYStringDescription.h', - 'src/EarlGrey/Matcher/GREYStringDescription.m', - 'src/EarlGrey/Provider/GREYDataEnumerator.h', - 'src/EarlGrey/Provider/GREYDataEnumerator.m', - 'src/EarlGrey/Provider/GREYElementProvider.h', - 'src/EarlGrey/Provider/GREYElementProvider.m', - 'src/EarlGrey/Provider/GREYProvider.h', - 'src/EarlGrey/Provider/GREYUIWindowProvider.h', - 'src/EarlGrey/Provider/GREYUIWindowProvider.m', - 'src/EarlGrey/Synchronization/GREYAppStateTracker.h', - 'src/EarlGrey/Synchronization/GREYAppStateTracker.m', - 'src/EarlGrey/Synchronization/GREYCondition.h', - 'src/EarlGrey/Synchronization/GREYCondition.m', - 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.m', - 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.m', - 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.m', - 'src/EarlGrey/Synchronization/GREYRunLoopSpinner.h', - 'src/EarlGrey/Synchronization/GREYRunLoopSpinner.m', - 'src/EarlGrey/Synchronization/GREYSyncAPI.h', - 'src/EarlGrey/Synchronization/GREYSyncAPI.m', - 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.m', - 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h', - 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.m', - 'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYUIWebViewIdlingResource.m', - ], - 'mac_framework_headers': [ - 'src/EarlGrey/EarlGrey.h', - 'src/EarlGrey/Action/GREYAction.h', - 'src/EarlGrey/Action/GREYActionBlock.h', - 'src/EarlGrey/Action/GREYActions.h', - 'src/EarlGrey/Action/GREYBaseAction.h', - 'src/EarlGrey/Action/GREYScrollActionError.h', - 'src/EarlGrey/AppSupport/GREYIdlingResource.h', - 'src/EarlGrey/Assertion/GREYAssertion.h', - 'src/EarlGrey/Assertion/GREYAssertionBlock.h', - 'src/EarlGrey/Assertion/GREYAssertionDefines.h', - 'src/EarlGrey/Assertion/GREYAssertions.h', - 'src/EarlGrey/Common/GREYConfiguration.h', - 'src/EarlGrey/Common/GREYConstants.h', - 'src/EarlGrey/Common/GREYDefines.h', - 'src/EarlGrey/Common/GREYElementHierarchy.h', - 'src/EarlGrey/Common/GREYScreenshotUtil.h', - 'src/EarlGrey/Common/GREYTestHelper.h', - 'src/EarlGrey/Core/GREYElementFinder.h', - 'src/EarlGrey/Core/GREYElementInteraction.h', - 'src/EarlGrey/Core/GREYInteraction.h', - 'src/EarlGrey/Exception/GREYFailureHandler.h', - 'src/EarlGrey/Exception/GREYFrameworkException.h', - 'src/EarlGrey/Matcher/GREYAllOf.h', - 'src/EarlGrey/Matcher/GREYAnyOf.h', - 'src/EarlGrey/Matcher/GREYBaseMatcher.h', - 'src/EarlGrey/Matcher/GREYDescription.h', - 'src/EarlGrey/Matcher/GREYElementMatcherBlock.h', - 'src/EarlGrey/Matcher/GREYLayoutConstraint.h', - 'src/EarlGrey/Matcher/GREYMatcher.h', - 'src/EarlGrey/Matcher/GREYMatchers.h', - 'src/EarlGrey/Matcher/GREYNot.h', - 'src/EarlGrey/Provider/GREYDataEnumerator.h', - 'src/EarlGrey/Provider/GREYProvider.h', - 'src/EarlGrey/Synchronization/GREYNSTimerIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYOperationQueueIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h', - 'src/EarlGrey/Synchronization/GREYSyncAPI.h', - 'src/EarlGrey/Synchronization/GREYCondition.h', - 'src/EarlGrey/Synchronization/GREYUIThreadExecutor.h', - ], - 'mac_framework_private_headers': [ - 'src/EarlGrey/Action/GREYPathGestureUtils.h', - 'src/EarlGrey/Action/GREYScrollAction.h', - 'src/EarlGrey/Action/GREYSwipeAction.h', - 'src/EarlGrey/Action/GREYTapAction.h', - 'src/EarlGrey/Additions/__NSCFLocalDataTask_GREYAdditions.h', - 'src/EarlGrey/Additions/_UIModalItemsPresentingViewController_GREYAdditions.h', - 'src/EarlGrey/Additions/CAAnimation+GREYAdditions.h', - 'src/EarlGrey/Additions/CALayer+GREYAdditions.h', - 'src/EarlGrey/Additions/CGGeometry+GREYAdditions.h', - 'src/EarlGrey/Additions/NSError+GREYAdditions.h', - 'src/EarlGrey/Additions/NSRunLoop+GREYAdditions.h', - 'src/EarlGrey/Additions/NSString+GREYAdditions.h', - 'src/EarlGrey/Additions/NSTimer+GREYAdditions.h', - 'src/EarlGrey/Additions/NSURL+GREYAdditions.h', - 'src/EarlGrey/Additions/NSURLConnection+GREYAdditions.h', - 'src/EarlGrey/Additions/UIAnimation+GREYAdditions.h', - 'src/EarlGrey/Additions/UIApplication+GREYAdditions.h', - 'src/EarlGrey/Additions/UIGestureRecognizer+GREYAdditions.h', - 'src/EarlGrey/Additions/UIScrollView+GREYAdditions.h', - 'src/EarlGrey/Additions/UISwitch+GREYAdditions.h', - 'src/EarlGrey/Additions/UITouch+GREYAdditions.h', - 'src/EarlGrey/Additions/UIView+GREYAdditions.h', - 'src/EarlGrey/Additions/UIViewController+GREYAdditions.h', - 'src/EarlGrey/Additions/UIWebView+GREYAdditions.h', - 'src/EarlGrey/Additions/UIWindow+GREYAdditions.h', - 'src/EarlGrey/Additions/XCTestCase+GREYAdditions.h', - 'src/EarlGrey/Common/GREYExposed.h', - 'src/EarlGrey/Common/GREYPrivate.h', - 'src/EarlGrey/Common/GREYSwizzler.h', - 'src/EarlGrey/Common/GREYVisibilityChecker.h', - 'src/EarlGrey/Delegate/GREYCAAnimationDelegate.h', - 'src/EarlGrey/Delegate/GREYNSURLConnectionDelegate.h', - 'src/EarlGrey/Delegate/GREYSurrogateDelegate.h', - 'src/EarlGrey/Delegate/GREYUIWebViewDelegate.h', - 'src/EarlGrey/Event/GREYSingleSequenceTouchInjector.h', - 'src/EarlGrey/Event/GREYSyntheticEvents.h', - 'src/EarlGrey/Provider/GREYElementProvider.h', - 'src/EarlGrey/Provider/GREYUIWindowProvider.h', - 'src/EarlGrey/Synchronization/GREYAppStateTracker.h', - 'src/EarlGrey/Synchronization/GREYTimedIdlingResource.h', - ], - 'dependencies': [ - '../../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', - '../fishhook/fishhook.gyp:fishhook', - '../ochamcrest/ochamcrest.gyp:OCHamcrest', - ], - # EarlGrey.pch requires that NS_BLOCK_ASSERTIONS be undefined. - 'defines!': [ - 'NS_BLOCK_ASSERTIONS=1', - ], - 'xcode_settings': { - 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', - 'GCC_PREFIX_HEADER': 'src/EarlGrey.pch', - 'USE_HEADERMAP': 'YES', - 'CLANG_ENABLE_OBJC_ARC': 'YES', - 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', - 'BUNDLE_IDENTIFIER': 'com.google.earlgrey.EarlGrey', - 'INFOPLIST_FILE': 'src/EarlGrey-Info.plist', - 'DYLIB_INSTALL_NAME_BASE': '@rpath', - 'OTHER_LDFLAGS': [ - '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', - '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' - ] - }, - 'link_settings': { - 'libraries': [ - 'CoreGraphics.framework', - 'Foundation.framework', - 'IOKit.framework', - 'QuartzCore.framework', - 'UIKit.framework', - 'XCTest.framework', - ], - }, - 'include_dirs': [ - 'src', - 'src/EarlGrey', - ], - 'export_dependent_settings': [ - '../ochamcrest/ochamcrest.gyp:OCHamcrest', - ], - 'mac_framework_dirs': [ - '$(SDKROOT)/../../Library/Frameworks', - '<(PRODUCT_DIR)' - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/EarlGrey', - ], - 'mac_framework_dirs': [ - # EarlGrey and its dependencies need to link to XCTest.framework - # which is not under SDKROOT. - '$(SDKROOT)/../../Library/Frameworks', - '<(PRODUCT_DIR)' - ], - }, - }, - ], -} - diff --git a/ios/third_party/fishhook/fishhook.gyp b/ios/third_party/fishhook/fishhook.gyp deleted file mode 100644 index 968eb044f6ac3..0000000000000 --- a/ios/third_party/fishhook/fishhook.gyp +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2016 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. - -{ - 'targets': [ - { - # GN version: //ios/third_party/fishhook - 'target_name': 'fishhook', - 'type': 'static_library', - 'sources': [ - 'src/fishhook.c', - 'src/fishhook.h', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src' - ], - }, - }, - ], -} diff --git a/ios/third_party/gcdwebserver/gcdwebserver.gyp b/ios/third_party/gcdwebserver/gcdwebserver.gyp deleted file mode 100644 index 7b81626e0551f..0000000000000 --- a/ios/third_party/gcdwebserver/gcdwebserver.gyp +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2014 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. -{ - 'targets' : [ - { - # GN version: //ios/third_party/gcdwebserver - 'target_name' : 'gcdwebserver', - 'type': 'static_library', - 'include_dirs': [ - 'src/GCDWebServer/Core', - 'src/GCDWebServer/Requests', - 'src/GCDWebServer/Responses', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/GCDWebServer/Core', - 'src/GCDWebServer/Requests', - 'src/GCDWebServer/Responses', - ], - }, - 'xcode_settings': { - 'CLANG_ENABLE_OBJC_ARC': 'YES', - # TODO(crbug.com/569158): Suppresses warnings that are treated as errors - # when minimum iOS version support is increased to iOS 9 and up. - # This should be removed once all deprecation violations have been fixed. - 'WARNING_CFLAGS': ['-Wno-deprecated-declarations'], - }, - 'sources': [ - 'src/GCDWebServer/Core/GCDWebServer.h', - 'src/GCDWebServer/Core/GCDWebServer.m', - 'src/GCDWebServer/Core/GCDWebServerConnection.h', - 'src/GCDWebServer/Core/GCDWebServerConnection.m', - 'src/GCDWebServer/Core/GCDWebServerFunctions.h', - 'src/GCDWebServer/Core/GCDWebServerFunctions.m', - 'src/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h', - 'src/GCDWebServer/Core/GCDWebServerPrivate.h', - 'src/GCDWebServer/Core/GCDWebServerRequest.h', - 'src/GCDWebServer/Core/GCDWebServerRequest.m', - 'src/GCDWebServer/Core/GCDWebServerResponse.h', - 'src/GCDWebServer/Core/GCDWebServerResponse.m', - 'src/GCDWebServer/Requests/GCDWebServerDataRequest.h', - 'src/GCDWebServer/Requests/GCDWebServerDataRequest.m', - 'src/GCDWebServer/Requests/GCDWebServerFileRequest.h', - 'src/GCDWebServer/Requests/GCDWebServerFileRequest.m', - 'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.h', - 'src/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.m', - 'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.h', - 'src/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.m', - 'src/GCDWebServer/Responses/GCDWebServerDataResponse.h', - 'src/GCDWebServer/Responses/GCDWebServerDataResponse.m', - 'src/GCDWebServer/Responses/GCDWebServerErrorResponse.h', - 'src/GCDWebServer/Responses/GCDWebServerErrorResponse.m', - 'src/GCDWebServer/Responses/GCDWebServerFileResponse.h', - 'src/GCDWebServer/Responses/GCDWebServerFileResponse.m', - 'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.h', - 'src/GCDWebServer/Responses/GCDWebServerStreamedResponse.m', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', - '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', - ], - 'xcode_settings': { - 'OTHER_LDFLAGS': [ - '-lz', - ], - }, - }, - }, - ], -} diff --git a/ios/third_party/ochamcrest/ochamcrest.gyp b/ios/third_party/ochamcrest/ochamcrest.gyp deleted file mode 100644 index bf1ec1b2b7eb3..0000000000000 --- a/ios/third_party/ochamcrest/ochamcrest.gyp +++ /dev/null @@ -1,254 +0,0 @@ -# Copyright 2016 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. - -{ - 'chromium_sources': 0, - 'targets': [ - { - 'target_name': 'OCHamcrest', - 'type': 'shared_library', - 'mac_bundle': 1, - 'sources': [ - 'src/Source/Core/HCAssertThat.h', - 'src/Source/Core/HCAssertThat.m', - 'src/Source/Core/HCBaseDescription.h', - 'src/Source/Core/HCBaseDescription.m', - 'src/Source/Core/HCBaseMatcher.h', - 'src/Source/Core/HCBaseMatcher.m', - 'src/Source/Core/HCDescription.h', - 'src/Source/Core/HCDiagnosingMatcher.h', - 'src/Source/Core/HCDiagnosingMatcher.m', - 'src/Source/Core/HCMatcher.h', - 'src/Source/Core/HCSelfDescribing.h', - 'src/Source/Core/HCStringDescription.h', - 'src/Source/Core/HCStringDescription.m', - 'src/Source/Core/Helpers/HCCollect.h', - 'src/Source/Core/Helpers/HCCollect.m', - 'src/Source/Core/Helpers/HCInvocationMatcher.h', - 'src/Source/Core/Helpers/HCInvocationMatcher.m', - 'src/Source/Core/Helpers/HCRequireNonNilObject.h', - 'src/Source/Core/Helpers/HCRequireNonNilObject.m', - 'src/Source/Core/Helpers/HCWrapInMatcher.h', - 'src/Source/Core/Helpers/HCWrapInMatcher.m', - 'src/Source/Core/Helpers/NSInvocation+OCHamcrest.h', - 'src/Source/Core/Helpers/NSInvocation+OCHamcrest.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.m', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h', - 'src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.m', - 'src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.m', - 'src/Source/Library/Collection/HCEvery.h', - 'src/Source/Library/Collection/HCEvery.m', - 'src/Source/Library/Collection/HCHasCount.h', - 'src/Source/Library/Collection/HCHasCount.m', - 'src/Source/Library/Collection/HCIsCollectionContaining.h', - 'src/Source/Library/Collection/HCIsCollectionContaining.m', - 'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.m', - 'src/Source/Library/Collection/HCIsCollectionContainingInOrder.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInOrder.m', - 'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.m', - 'src/Source/Library/Collection/HCIsCollectionOnlyContaining.h', - 'src/Source/Library/Collection/HCIsCollectionOnlyContaining.m', - 'src/Source/Library/Collection/HCIsDictionaryContaining.h', - 'src/Source/Library/Collection/HCIsDictionaryContaining.m', - 'src/Source/Library/Collection/HCIsDictionaryContainingEntries.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingEntries.m', - 'src/Source/Library/Collection/HCIsDictionaryContainingKey.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingKey.m', - 'src/Source/Library/Collection/HCIsDictionaryContainingValue.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingValue.m', - 'src/Source/Library/Collection/HCIsEmptyCollection.h', - 'src/Source/Library/Collection/HCIsEmptyCollection.m', - 'src/Source/Library/Collection/HCIsIn.h', - 'src/Source/Library/Collection/HCIsIn.m', - 'src/Source/Library/Decorator/HCDescribedAs.h', - 'src/Source/Library/Decorator/HCDescribedAs.m', - 'src/Source/Library/Decorator/HCIs.h', - 'src/Source/Library/Decorator/HCIs.m', - 'src/Source/Library/Logical/HCAllOf.h', - 'src/Source/Library/Logical/HCAllOf.m', - 'src/Source/Library/Logical/HCAnyOf.h', - 'src/Source/Library/Logical/HCAnyOf.m', - 'src/Source/Library/Logical/HCIsAnything.h', - 'src/Source/Library/Logical/HCIsAnything.m', - 'src/Source/Library/Logical/HCIsNot.h', - 'src/Source/Library/Logical/HCIsNot.m', - 'src/Source/Library/Number/HCIsCloseTo.h', - 'src/Source/Library/Number/HCIsCloseTo.m', - 'src/Source/Library/Number/HCIsEqualToNumber.h', - 'src/Source/Library/Number/HCIsEqualToNumber.m', - 'src/Source/Library/Number/HCIsTrueFalse.h', - 'src/Source/Library/Number/HCIsTrueFalse.m', - 'src/Source/Library/Number/HCNumberAssert.h', - 'src/Source/Library/Number/HCNumberAssert.m', - 'src/Source/Library/Number/HCOrderingComparison.h', - 'src/Source/Library/Number/HCOrderingComparison.m', - 'src/Source/Library/Object/HCArgumentCaptor.h', - 'src/Source/Library/Object/HCArgumentCaptor.m', - 'src/Source/Library/Object/HCClassMatcher.h', - 'src/Source/Library/Object/HCClassMatcher.m', - 'src/Source/Library/Object/HCConformsToProtocol.h', - 'src/Source/Library/Object/HCConformsToProtocol.m', - 'src/Source/Library/Object/HCHasDescription.h', - 'src/Source/Library/Object/HCHasDescription.m', - 'src/Source/Library/Object/HCHasProperty.h', - 'src/Source/Library/Object/HCHasProperty.m', - 'src/Source/Library/Object/HCIsEqual.h', - 'src/Source/Library/Object/HCIsEqual.m', - 'src/Source/Library/Object/HCIsInstanceOf.h', - 'src/Source/Library/Object/HCIsInstanceOf.m', - 'src/Source/Library/Object/HCIsNil.h', - 'src/Source/Library/Object/HCIsNil.m', - 'src/Source/Library/Object/HCIsSame.h', - 'src/Source/Library/Object/HCIsSame.m', - 'src/Source/Library/Object/HCIsTypeOf.h', - 'src/Source/Library/Object/HCIsTypeOf.m', - 'src/Source/Library/Object/HCThrowsException.h', - 'src/Source/Library/Object/HCThrowsException.m', - 'src/Source/Library/Text/HCIsEqualIgnoringCase.h', - 'src/Source/Library/Text/HCIsEqualIgnoringCase.m', - 'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h', - 'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.m', - 'src/Source/Library/Text/HCStringContains.h', - 'src/Source/Library/Text/HCStringContains.m', - 'src/Source/Library/Text/HCStringContainsInOrder.h', - 'src/Source/Library/Text/HCStringContainsInOrder.m', - 'src/Source/Library/Text/HCStringEndsWith.h', - 'src/Source/Library/Text/HCStringEndsWith.m', - 'src/Source/Library/Text/HCStringStartsWith.h', - 'src/Source/Library/Text/HCStringStartsWith.m', - 'src/Source/Library/Text/HCSubstringMatcher.h', - 'src/Source/Library/Text/HCSubstringMatcher.m', - 'src/Source/OCHamcrest.h', - ], - 'mac_framework_headers': [ - 'src/Source/Core/HCAssertThat.h', - 'src/Source/Core/HCBaseDescription.h', - 'src/Source/Core/HCBaseMatcher.h', - 'src/Source/Core/HCDescription.h', - 'src/Source/Core/HCDiagnosingMatcher.h', - 'src/Source/Core/HCMatcher.h', - 'src/Source/Core/HCSelfDescribing.h', - 'src/Source/Core/HCStringDescription.h', - 'src/Source/Core/Helpers/HCCollect.h', - 'src/Source/Core/Helpers/HCInvocationMatcher.h', - 'src/Source/Core/Helpers/HCRequireNonNilObject.h', - 'src/Source/Core/Helpers/HCWrapInMatcher.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h', - 'src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h', - 'src/Source/Library/Collection/HCEvery.h', - 'src/Source/Library/Collection/HCHasCount.h', - 'src/Source/Library/Collection/HCIsCollectionContaining.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInOrder.h', - 'src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h', - 'src/Source/Library/Collection/HCIsCollectionOnlyContaining.h', - 'src/Source/Library/Collection/HCIsDictionaryContaining.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingEntries.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingKey.h', - 'src/Source/Library/Collection/HCIsDictionaryContainingValue.h', - 'src/Source/Library/Collection/HCIsEmptyCollection.h', - 'src/Source/Library/Collection/HCIsIn.h', - 'src/Source/Library/Decorator/HCDescribedAs.h', - 'src/Source/Library/Decorator/HCIs.h', - 'src/Source/Library/Logical/HCAllOf.h', - 'src/Source/Library/Logical/HCAnyOf.h', - 'src/Source/Library/Logical/HCIsAnything.h', - 'src/Source/Library/Logical/HCIsNot.h', - 'src/Source/Library/Number/HCIsCloseTo.h', - 'src/Source/Library/Number/HCIsEqualToNumber.h', - 'src/Source/Library/Number/HCIsTrueFalse.h', - 'src/Source/Library/Number/HCNumberAssert.h', - 'src/Source/Library/Number/HCOrderingComparison.h', - 'src/Source/Library/Object/HCArgumentCaptor.h', - 'src/Source/Library/Object/HCClassMatcher.h', - 'src/Source/Library/Object/HCConformsToProtocol.h', - 'src/Source/Library/Object/HCHasDescription.h', - 'src/Source/Library/Object/HCHasProperty.h', - 'src/Source/Library/Object/HCIsEqual.h', - 'src/Source/Library/Object/HCIsInstanceOf.h', - 'src/Source/Library/Object/HCIsNil.h', - 'src/Source/Library/Object/HCIsSame.h', - 'src/Source/Library/Object/HCIsTypeOf.h', - 'src/Source/Library/Object/HCThrowsException.h', - 'src/Source/Library/Text/HCIsEqualIgnoringCase.h', - 'src/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h', - 'src/Source/Library/Text/HCStringContains.h', - 'src/Source/Library/Text/HCStringContainsInOrder.h', - 'src/Source/Library/Text/HCStringEndsWith.h', - 'src/Source/Library/Text/HCStringStartsWith.h', - 'src/Source/Library/Text/HCSubstringMatcher.h', - 'src/Source/OCHamcrest.h', - ], - 'xcode_settings': { - 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', - 'USE_HEADERMAP': 'YES', - 'CLANG_ENABLE_ARC': 'YES', - 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', - 'PRODUCT_BUNDLE_IDENTIFIER': 'org.hamcrest.OCHamcrest.OCHamcrest-iOS', - 'INFOPLIST_FILE': 'src/Source/OCHamcrest-Info.plist', - 'DYLIB_INSTALL_NAME_BASE': '@rpath', - 'OTHER_LDFLAGS': [ - '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', - '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' - ] - }, - 'include_dirs': [ - 'src', - 'src/Source', - ], - 'mac_framework_dirs': [ - '$(SDKROOT)/../../Library/Frameworks', - ], - 'link_settings': { - 'libraries': [ - 'Foundation.framework', - 'UIKit.framework', - ], - }, - }, - ], -} diff --git a/ios/web/ios_web.gyp b/ios/web/ios_web.gyp deleted file mode 100644 index f8cd1659ad95a..0000000000000 --- a/ios/web/ios_web.gyp +++ /dev/null @@ -1,574 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/web/public/app - 'target_name': 'ios_web_app', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - 'ios_web', - '../../base/base.gyp:base', - '../../base/base.gyp:base_i18n', - '../../crypto/crypto.gyp:crypto', - '../../net/net.gyp:net', - '../../ui/base/ui_base.gyp:ui_base', - '../../ui/gfx/gfx.gyp:gfx', - '../../ui/gfx/gfx.gyp:gfx_geometry', - ], - 'sources': [ - 'app/web_main.mm', - 'app/web_main_loop.h', - 'app/web_main_loop.mm', - 'app/web_main_runner.mm', - 'public/app/web_main.h', - 'public/app/web_main_delegate.h', - 'public/app/web_main_parts.h', - 'public/app/web_main_runner.h', - ], - }, - { - # GN version: //ios/web - 'target_name': 'ios_web', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - 'ios_web_core', - 'ios_web_resources.gyp:ios_web_resources', - 'js_resources', - 'user_agent', - '../../base/base.gyp:base', - '../../components/url_formatter/url_formatter.gyp:url_formatter', - '../../ios/net/ios_net.gyp:ios_net', - '../../ios/third_party/blink/blink_html_tokenizer.gyp:blink_html_tokenizer', - '../../net/net.gyp:net', - '../../mojo/mojo_edk.gyp:mojo_system_impl', - '../../mojo/mojo_public.gyp:mojo_public', - '../../services/shell/shell_public.gyp:shell_public', - '../../ui/base/ui_base.gyp:ui_base', - '../../ui/gfx/gfx.gyp:gfx', - '../../ui/gfx/gfx.gyp:gfx_geometry', - '../../ui/resources/ui_resources.gyp:ui_resources', - '../../url/url.gyp:url_lib', - ], - 'sources': [ - '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/webui_resources_map.cc', - 'active_state_manager_impl.h', - 'active_state_manager_impl.mm', - 'alloc_with_zone_interceptor.h', - 'alloc_with_zone_interceptor.mm', - 'browser_state.mm', - 'browser_url_rewriter_impl.h', - 'browser_url_rewriter_impl.mm', - 'interstitials/html_web_interstitial_impl.h', - 'interstitials/html_web_interstitial_impl.mm', - 'interstitials/native_web_interstitial_impl.h', - 'interstitials/native_web_interstitial_impl.mm', - 'interstitials/web_interstitial_facade_delegate.h', - 'interstitials/web_interstitial_impl.h', - 'interstitials/web_interstitial_impl.mm', - 'load_committed_details.cc', - 'navigation/crw_session_certificate_policy_manager.h', - 'navigation/crw_session_certificate_policy_manager.mm', - 'navigation/crw_session_controller+private_constructors.h', - 'navigation/crw_session_controller.h', - 'navigation/crw_session_controller.mm', - 'navigation/crw_session_entry.h', - 'navigation/crw_session_entry.mm', - 'navigation/navigation_item_facade_delegate.h', - 'navigation/navigation_item_impl.h', - 'navigation/navigation_item_impl.mm', - 'navigation/navigation_manager_delegate.h', - 'navigation/navigation_manager_facade_delegate.h', - 'navigation/navigation_manager_impl.h', - 'navigation/navigation_manager_impl.mm', - 'navigation/nscoder_util.h', - 'navigation/nscoder_util.mm', - 'navigation/time_smoother.cc', - 'navigation/time_smoother.h', - 'net/cert_host_pair.cc', - 'net/cert_host_pair.h', - 'net/cert_policy.cc', - 'net/certificate_policy_cache.cc', - 'net/clients/crw_js_injection_network_client.h', - 'net/clients/crw_js_injection_network_client.mm', - 'net/clients/crw_js_injection_network_client_factory.h', - 'net/clients/crw_js_injection_network_client_factory.mm', - 'net/clients/crw_redirect_network_client.h', - 'net/clients/crw_redirect_network_client.mm', - 'net/clients/crw_redirect_network_client_factory.h', - 'net/clients/crw_redirect_network_client_factory.mm', - 'net/cookie_notification_bridge.h', - 'net/cookie_notification_bridge.mm', - 'net/crw_cert_verification_controller.h', - 'net/crw_cert_verification_controller.mm', - 'net/crw_request_tracker_delegate.h', - 'net/crw_ssl_status_updater.h', - 'net/crw_ssl_status_updater.mm', - 'net/request_group_util.h', - 'net/request_group_util.mm', - 'net/request_tracker_data_memoizing_store.h', - 'net/request_tracker_factory_impl.h', - 'net/request_tracker_factory_impl.mm', - 'net/request_tracker_impl.h', - 'net/request_tracker_impl.mm', - 'net/web_http_protocol_handler_delegate.h', - 'net/web_http_protocol_handler_delegate.mm', - 'public/active_state_manager.h', - 'public/block_types.h', - 'public/browser_state.h', - 'public/browser_url_rewriter.h', - 'public/cert_policy.h', - 'public/certificate_policy_cache.h', - 'public/favicon_status.cc', - 'public/favicon_status.h', - 'public/favicon_url.cc', - 'public/favicon_url.h', - 'public/interstitials/web_interstitial.h', - 'public/interstitials/web_interstitial_delegate.h', - 'public/java_script_dialog_callback.h', - 'public/java_script_dialog_presenter.h', - 'public/java_script_dialog_type.h', - 'public/load_committed_details.h', - 'public/navigation_item.h', - 'public/navigation_manager.h', - 'public/origin_util.h', - 'public/origin_util.mm', - 'public/referrer.h', - 'public/referrer_util.cc', - 'public/referrer_util.h', - 'public/security_style.h', - 'public/ssl_status.cc', - 'public/ssl_status.h', - 'public/string_util.h', - 'public/url_scheme_util.h', - 'public/url_schemes.h', - 'public/url_schemes.mm', - 'public/url_util.h', - 'public/web/url_data_source_ios.h', - 'public/web_capabilities.cc', - 'public/web_capabilities.h', - 'public/web_client.h', - 'public/web_client.mm', - 'public/web_kit_constants.h', - 'public/web_state/context_menu_params.h', - 'public/web_state/credential.h', - 'public/web_state/crw_web_controller_observer.h', - 'public/web_state/crw_web_user_interface_delegate.h', - 'public/web_state/crw_web_view_proxy.h', - 'public/web_state/crw_web_view_scroll_view_proxy.h', - 'public/web_state/global_web_state_observer.h', - 'public/web_state/js/credential_util.h', - 'public/web_state/js/crw_js_injection_evaluator.h', - 'public/web_state/js/crw_js_injection_manager.h', - 'public/web_state/js/crw_js_injection_receiver.h', - 'public/web_state/page_display_state.h', - 'public/web_state/page_display_state.mm', - 'public/web_state/ui/crw_content_view.h', - 'public/web_state/ui/crw_generic_content_view.h', - 'public/web_state/ui/crw_native_content.h', - 'public/web_state/ui/crw_native_content_provider.h', - 'public/web_state/ui/crw_web_delegate.h', - 'public/web_state/ui/crw_web_view_content_view.h', - 'public/web_state/url_verification_constants.h', - 'public/web_state/web_state.h', - 'public/web_state/web_state_delegate.h', - 'public/web_state/web_state_delegate_bridge.h', - 'public/web_state/web_state_observer.h', - 'public/web_state/web_state_observer_bridge.h', - 'public/web_state/web_state_policy_decider.h', - 'public/web_state/web_state_user_data.h', - 'public/web_thread.h', - 'public/web_thread_delegate.h', - 'public/web_ui_ios_data_source.h', - 'public/web_view_creation_util.h', - 'public/webui/web_ui_ios.h', - 'public/webui/web_ui_ios_controller.cc', - 'public/webui/web_ui_ios_controller.h', - 'public/webui/web_ui_ios_controller_factory.h', - 'public/webui/web_ui_ios_message_handler.cc', - 'public/webui/web_ui_ios_message_handler.h', - 'string_util.cc', - 'url_scheme_util.mm', - 'url_util.cc', - 'web_kit_constants.cc', - 'web_state/blocked_popup_info.h', - 'web_state/blocked_popup_info.mm', - 'web_state/context_menu_params.mm', - 'web_state/credential.cc', - 'web_state/crw_pass_kit_downloader.h', - 'web_state/crw_pass_kit_downloader.mm', - 'web_state/crw_web_view_proxy_impl.h', - 'web_state/crw_web_view_proxy_impl.mm', - 'web_state/crw_web_view_scroll_view_proxy.mm', - 'web_state/error_translation_util.h', - 'web_state/error_translation_util.mm', - 'web_state/global_web_state_event_tracker.h', - 'web_state/global_web_state_event_tracker.mm', - 'web_state/global_web_state_observer.cc', - 'web_state/js/credential_util.mm', - 'web_state/js/crw_js_injection_manager.mm', - 'web_state/js/crw_js_injection_receiver.mm', - 'web_state/js/crw_js_plugin_placeholder_manager.h', - 'web_state/js/crw_js_plugin_placeholder_manager.mm', - 'web_state/js/crw_js_post_request_loader.h', - 'web_state/js/crw_js_post_request_loader.mm', - 'web_state/js/crw_js_window_id_manager.h', - 'web_state/js/crw_js_window_id_manager.mm', - 'web_state/js/page_script_util.h', - 'web_state/js/page_script_util.mm', - 'web_state/page_viewport_state.h', - 'web_state/page_viewport_state.mm', - 'web_state/ui/crw_generic_content_view.mm', - 'web_state/ui/crw_swipe_recognizer_provider.h', - 'web_state/ui/crw_touch_tracking_recognizer.h', - 'web_state/ui/crw_touch_tracking_recognizer.mm', - 'web_state/ui/crw_web_controller.h', - 'web_state/ui/crw_web_controller.mm', - 'web_state/ui/crw_web_controller_container_view.h', - 'web_state/ui/crw_web_controller_container_view.mm', - 'web_state/ui/crw_web_view_content_view.mm', - 'web_state/ui/crw_wk_script_message_router.h', - 'web_state/ui/crw_wk_script_message_router.mm', - 'web_state/ui/web_view_js_utils.h', - 'web_state/ui/web_view_js_utils.mm', - 'web_state/ui/wk_back_forward_list_item_holder.h', - 'web_state/ui/wk_back_forward_list_item_holder.mm', - 'web_state/ui/wk_web_view_configuration_provider.h', - 'web_state/ui/wk_web_view_configuration_provider.mm', - 'web_state/web_controller_observer_bridge.h', - 'web_state/web_controller_observer_bridge.mm', - 'web_state/web_state.mm', - 'web_state/web_state_delegate.mm', - 'web_state/web_state_delegate_bridge.mm', - 'web_state/web_state_facade_delegate.h', - 'web_state/web_state_impl.h', - 'web_state/web_state_impl.mm', - 'web_state/web_state_observer.mm', - 'web_state/web_state_observer_bridge.mm', - 'web_state/web_state_policy_decider.mm', - 'web_state/web_state_weak_ptr_factory.h', - 'web_state/web_state_weak_ptr_factory.mm', - 'web_state/web_view_internal_creation_util.h', - 'web_state/web_view_internal_creation_util.mm', - 'web_state/wk_web_view_security_util.h', - 'web_state/wk_web_view_security_util.mm', - 'web_thread_impl.cc', - 'web_thread_impl.h', - 'web_view_creation_util.mm', - 'webui/crw_web_ui_manager.h', - 'webui/crw_web_ui_manager.mm', - 'webui/crw_web_ui_page_builder.h', - 'webui/crw_web_ui_page_builder.mm', - 'webui/mojo_facade.h', - 'webui/mojo_facade.mm', - 'webui/mojo_js_constants.cc', - 'webui/mojo_js_constants.h', - 'webui/shared_resources_data_source_ios.h', - 'webui/shared_resources_data_source_ios.mm', - 'webui/url_data_manager_ios.cc', - 'webui/url_data_manager_ios.h', - 'webui/url_data_manager_ios_backend.h', - 'webui/url_data_manager_ios_backend.mm', - 'webui/url_data_source_ios.mm', - 'webui/url_data_source_ios_impl.cc', - 'webui/url_data_source_ios_impl.h', - 'webui/url_fetcher_block_adapter.h', - 'webui/url_fetcher_block_adapter.mm', - 'webui/web_ui_ios_controller_factory_registry.cc', - 'webui/web_ui_ios_controller_factory_registry.h', - 'webui/web_ui_ios_data_source_impl.h', - 'webui/web_ui_ios_data_source_impl.mm', - 'webui/web_ui_ios_impl.h', - 'webui/web_ui_ios_impl.mm', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/WebKit.framework', - ], - }, - }, - # Target shared by ios_web and CrNet. - { - # GN version: //ios/web:core - 'target_name': 'ios_web_core', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'crw_network_activity_indicator_manager.h', - 'crw_network_activity_indicator_manager.mm', - 'history_state_util.h', - 'history_state_util.mm', - ], - }, - { - # GN version: //ios/web:web_bundle - 'target_name': 'ios_web_js_bundle', - 'type': 'none', - 'variables': { - 'closure_entry_point': '__crWeb.webBundle', - 'js_bundle_files': [ - 'web_state/js/resources/base.js', - 'web_state/js/resources/common.js', - 'web_state/js/resources/console.js', - 'web_state/js/resources/core.js', - 'web_state/js/resources/dialog_overrides.js', - 'web_state/js/resources/message.js', - 'web_state/js/resources/web_bundle.js', - ], - }, - 'sources': [ - 'web_state/js/resources/base.js', - 'web_state/js/resources/common.js', - 'web_state/js/resources/console.js', - 'web_state/js/resources/core.js', - 'web_state/js/resources/dialog_overrides.js', - 'web_state/js/resources/message.js', - 'web_state/js/resources/web_bundle.js', - ], - '!sources': [ - # Remove all js files except web_bundle. Those files should not be - # copied with the rest of resources, as they just Closure dependencies - # for web_bundle.js. Dependencies were added as sources, so they get - # indexed by Xcode. - 'web_state/js/resources/base.js', - 'web_state/js/resources/common.js', - 'web_state/js/resources/console.js', - 'web_state/js/resources/core.js', - 'web_state/js/resources/dialog_overrides.js', - 'web_state/js/resources/message.js', - ], - 'link_settings': { - 'mac_bundle_resources': [ - '<(SHARED_INTERMEDIATE_DIR)/web_bundle.js', - ], - }, - 'includes': [ - 'js_compile_bundle.gypi' - ], - }, - { - # GN version: //ios/web:web_ui_bundle - 'target_name': 'ios_web_ui_js_bundle', - 'type': 'none', - 'variables': { - 'closure_entry_point': '__crWeb.webUIBundle', - 'js_bundle_files': [ - '../third_party/requirejs/require.js', - 'webui/resources/web_ui_base.js', - 'webui/resources/web_ui_bind.js', - 'webui/resources/web_ui_bundle.js', - 'webui/resources/web_ui_favicons.js', - 'webui/resources/web_ui_module_load_notifier.js', - 'webui/resources/web_ui_send.js', - ], - }, - 'sources': [ - '../third_party/requirejs/require.js', - 'webui/resources/web_ui_base.js', - 'webui/resources/web_ui_bind.js', - 'webui/resources/web_ui_bundle.js', - 'webui/resources/web_ui_favicons.js', - 'webui/resources/web_ui_module_load_notifier.js', - 'webui/resources/web_ui_send.js', - ], - '!sources': [ - # Remove all js files except web_ui_bundle. Those files should not be - # copied with the rest of resources, as they just Closure dependencies - # for web_ui_bundle.js. Dependencies were added as sources, so they get - # indexed by Xcode. - '../third_party/requirejs/require.js', - 'webui/resources/web_ui_base.js', - 'webui/resources/web_ui_bind.js', - 'webui/resources/web_ui_favicons.js', - 'webui/resources/web_ui_module_load_notifier.js', - 'webui/resources/web_ui_send.js', - ], - 'link_settings': { - 'mac_bundle_resources': [ - '<(SHARED_INTERMEDIATE_DIR)/web_ui_bundle.js', - ], - }, - 'includes': [ - 'js_compile_bundle.gypi' - ], - }, - { - # GN version: //ios/web:js_resources - 'target_name': 'js_resources', - 'type': 'none', - 'dependencies': [ - 'ios_web_js_bundle', - 'ios_web_ui_js_bundle', - ], - 'sources': [ - 'web_state/js/resources/post_request.js', - 'web_state/js/resources/plugin_placeholder.js', - 'web_state/js/resources/window_id.js', - ], - 'link_settings': { - 'mac_bundle_resources': [ - '<(SHARED_INTERMEDIATE_DIR)/post_request.js', - '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', - '<(SHARED_INTERMEDIATE_DIR)/window_id.js', - ], - }, - 'includes': [ - 'js_compile_checked.gypi' - ], - }, - { - # GN version: //ios/web:earl_grey_test_support - 'target_name': 'ios_web_earl_grey_test_support', - 'type': 'static_library', - 'dependencies': [ - 'ios_web_test_support', - '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', - ], - 'sources': [ - 'public/test/earl_grey/web_view_matchers.h', - 'public/test/earl_grey/web_view_matchers.mm', - 'public/test/web_view_interaction_test_util.h', - 'public/test/web_view_interaction_test_util.mm', - ], - }, - { - # GN version: //ios/web:test_support - 'target_name': 'ios_web_test_support', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:test_support_base', - '../../ios/testing/ios_testing.gyp:ocmock_support', - '../../ios/third_party/gcdwebserver/gcdwebserver.gyp:gcdwebserver', - '../../net/net.gyp:net_test_support', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - '../../third_party/ocmock/ocmock.gyp:ocmock', - '../../ui/base/ui_base.gyp:ui_base', - 'ios_web', - 'test_mojo_bindings', - ], - 'include_dirs': [ - '../..', - ], - 'sources': [ - 'public/test/crw_test_js_injection_receiver.h', - 'public/test/crw_test_js_injection_receiver.mm', - 'public/test/http_server.h', - 'public/test/http_server.mm', - 'public/test/http_server_util.h', - 'public/test/http_server_util.mm', - 'public/test/js_test_util.h', - 'public/test/js_test_util.mm', - 'public/test/navigation_test_util.h', - 'public/test/navigation_test_util.mm', - 'public/test/response_providers/data_response_provider.h', - 'public/test/response_providers/data_response_provider.mm', - 'public/test/response_providers/file_based_response_provider.h', - 'public/test/response_providers/file_based_response_provider.mm', - 'public/test/response_providers/file_based_response_provider_impl.h', - 'public/test/response_providers/file_based_response_provider_impl.mm', - 'public/test/response_providers/html_response_provider.h', - 'public/test/response_providers/html_response_provider.mm', - 'public/test/response_providers/html_response_provider_impl.h', - 'public/test/response_providers/html_response_provider_impl.mm', - 'public/test/response_providers/response_provider.h', - 'public/test/response_providers/response_provider.mm', - 'public/test/response_providers/string_response_provider.h', - 'public/test/response_providers/string_response_provider.mm', - 'public/test/scoped_testing_web_client.h', - 'public/test/scoped_testing_web_client.mm', - 'public/test/test_browser_state.cc', - 'public/test/test_browser_state.h', - 'public/test/test_redirect_observer.h', - 'public/test/test_redirect_observer.mm', - 'public/test/test_web_client.h', - 'public/test/test_web_client.mm', - 'public/test/test_web_state.h', - 'public/test/test_web_state.mm', - 'public/test/test_web_thread.h', - 'public/test/test_web_thread_bundle.h', - 'public/test/test_web_view_content_view.h', - 'public/test/test_web_view_content_view.mm', - 'public/test/web_js_test.h', - 'public/test/web_test.h', - 'public/test/web_test.mm', - 'public/test/web_test_suite.h', - 'public/test/web_test_with_web_state.h', - 'public/test/web_test_with_web_state.mm', - 'test/crw_fake_web_controller_observer.h', - 'test/crw_fake_web_controller_observer.mm', - 'test/test_url_constants.cc', - 'test/test_url_constants.h', - 'test/test_web_thread.cc', - 'test/test_web_thread_bundle.cc', - 'test/web_int_test.h', - 'test/web_int_test.mm', - 'test/web_test_suite.mm', - 'test/web_test_with_web_controller.h', - 'test/web_test_with_web_controller.mm', - 'test/wk_web_view_crash_utils.h', - 'test/wk_web_view_crash_utils.mm', - ], - }, - { - # GN version: //ios/web/test:mojo_bindings - 'target_name': 'test_mojo_bindings_mojom', - 'type': 'none', - 'variables': { - 'mojom_files': [ - 'test/mojo_test.mojom', - ], - 'use_new_wrapper_types': 'false', - }, - 'include_dirs': [ - '..', - ], - 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], - }, - { - # GN version: //ios/web/test:mojo_bindings - 'target_name': 'test_mojo_bindings', - 'type': 'static_library', - 'dependencies': [ - '../../mojo/mojo_base.gyp:mojo_common_lib', - '../../mojo/mojo_public.gyp:mojo_cpp_bindings', - 'test_mojo_bindings_mojom', - ], - 'include_dirs': [ - '..', - ], - }, - { - # GN version: //ios/web:user_agent - 'target_name': 'user_agent', - 'type': 'static_library', - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - '../../base/base.gyp:base' - ], - 'sources': [ - 'public/user_agent.h', - 'public/user_agent.mm', - ], - }, - ], -} diff --git a/ios/web/ios_web_inttests.gyp b/ios/web/ios_web_inttests.gyp deleted file mode 100644 index 71be2f340624b..0000000000000 --- a/ios/web/ios_web_inttests.gyp +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'ios_web_inttests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:test_support_base', - '../../ios/provider/ios_provider_web.gyp:ios_provider_web', - '../../net/net.gyp:net_test_support', - '../../services/shell/shell_public.gyp:shell_public', - '../../testing/gtest.gyp:gtest', - '../../ui/base/ui_base.gyp:ui_base_test_support', - 'ios_web.gyp:ios_web', - 'ios_web.gyp:ios_web_test_support', - 'ios_web.gyp:test_mojo_bindings', - 'test_resources', - 'packed_test_resources', - ], - 'sources': [ - 'browser_state_web_view_partition_inttest.mm', - 'public/test/http_server_inttest.mm', - 'test/run_all_unittests.cc', - 'webui/web_ui_mojo_inttest.mm', - ], - 'mac_bundle_resources': [ - '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak' - ], - }, - { - # GN version: //ios/web/test:resources - 'target_name': 'test_resources', - 'type': 'none', - 'hard_dependency': 1, - 'dependencies': [ - 'ios_web.gyp:test_mojo_bindings', - ], - 'actions': [ - { - 'action_name': 'test_resources', - 'variables': { - 'grit_grd_file': 'test/test_resources.grd', - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test', - 'grit_additional_defines': [ - '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', - ], - }, - 'includes': [ '../../build/grit_action.gypi' ], - }, - ], - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)', - 'files': [ - '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak' - ], - }, - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)', - ], - }, - }, - { - 'target_name': 'packed_test_resources', - 'type': 'none', - 'hard_depency': 1, - 'dependencies': [ - 'test_resources', - ], - 'variables': { - 'repack_path': [ - '../../tools/grit/grit/format/repack.py', - ], - }, - 'actions': [ - { - 'action_name': 'repack_test_resources', - 'variables': { - 'pak_inputs': [ - '<(SHARED_INTERMEDIATE_DIR)/ios/web/ios_web_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/test_resources.pak' - ], - 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/ios/web/test/resources.pak', - }, - 'includes': [ '../../build/repack_action.gypi' ], - }, - ], - }, - ], -} diff --git a/ios/web/ios_web_resources.gyp b/ios/web/ios_web_resources.gyp deleted file mode 100644 index b9d296a2ea6b4..0000000000000 --- a/ios/web/ios_web_resources.gyp +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2016 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. - -{ - 'targets': [ - { - # GN version: //ios/web:resources - 'target_name': 'ios_web_resources', - 'type': 'none', - 'variables': { - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ios/web', - }, - 'actions': [ - { - 'action_name': 'generate_ios_web_resources', - 'variables': { - 'grit_grd_file': 'ios_web_resources.grd', - }, - 'grit_additional_defines': [ - '-E', 'root_out_dir=<(PRODUCT_DIR)', - ], - 'includes': [ '../../build/grit_action.gypi' ], - }, - ], - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)', - 'files': [ - '<(SHARED_INTERMEDIATE_DIR)/ios/web/ios_web_resources.pak' - ], - }, - ], - }, - ], -} diff --git a/ios/web/ios_web_shell.gyp b/ios/web/ios_web_shell.gyp deleted file mode 100644 index 244c1ceb29ab6..0000000000000 --- a/ios/web/ios_web_shell.gyp +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/web/shell:ios_web_shell - 'target_name': 'ios_web_shell', - 'includes': [ - 'ios_web_shell_exe.gypi', - ] - }, - ], -} diff --git a/ios/web/ios_web_shell_exe.gypi b/ios/web/ios_web_shell_exe.gypi deleted file mode 100644 index 4713cd4e2192e..0000000000000 --- a/ios/web/ios_web_shell_exe.gypi +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2016 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. - -{ - 'type': 'executable', - 'mac_bundle': 1, - 'include_dirs': [ - '../..', - ], - 'dependencies': [ - 'ios_web.gyp:ios_web', - 'ios_web.gyp:ios_web_app', - '../../base/base.gyp:base', - '../../net/net.gyp:net', - '../../net/net.gyp:net_extras', - '../../ui/base/ui_base.gyp:ui_base', - ], - 'export_dependent_settings': [ - 'ios_web.gyp:ios_web', - 'ios_web.gyp:ios_web_app', - '../../base/base.gyp:base', - '../../net/net.gyp:net', - '../../ui/base/ui_base.gyp:ui_base', - ], - 'xcode_settings': { - 'INFOPLIST_FILE': 'shell/Info.plist', - 'CLANG_ENABLE_OBJC_ARC': 'YES', - }, - 'sources': [ - 'shell/app_delegate.h', - 'shell/app_delegate.mm', - 'shell/shell_browser_state.h', - 'shell/shell_browser_state.mm', - 'shell/shell_main_delegate.h', - 'shell/shell_main_delegate.mm', - 'shell/shell_network_delegate.cc', - 'shell/shell_network_delegate.h', - 'shell/shell_url_request_context_getter.h', - 'shell/shell_url_request_context_getter.mm', - 'shell/shell_web_client.h', - 'shell/shell_web_client.mm', - 'shell/shell_web_main_parts.h', - 'shell/shell_web_main_parts.mm', - 'shell/view_controller.h', - 'shell/view_controller.mm', - 'shell/web_exe_main.mm', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', - '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', - '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', - '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', - ], - 'mac_bundle_resources': [ - 'shell/Default.png', - 'shell/textfield_background@2x.png', - 'shell/toolbar_back@2x.png', - 'shell/toolbar_forward@2x.png', - ], - }, -} diff --git a/ios/web/ios_web_shell_tests.gyp b/ios/web/ios_web_shell_tests.gyp deleted file mode 100644 index e67b0d83c282f..0000000000000 --- a/ios/web/ios_web_shell_tests.gyp +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/web/shell/test:ios_web_shell_test - 'target_name': 'ios_web_shell_test', - 'type': 'loadable_module', - 'mac_xctest_bundle': 1, - 'variables': { - 'test_host': '<(_target_name)_host', - }, - 'dependencies': [ - '<(test_host)', - ], - 'xcode_settings': { - 'WRAPPER_EXTENSION': 'xctest', - 'TEST_HOST': '${BUILT_PRODUCTS_DIR}/<(test_host).app/<(test_host)', - 'BUNDLE_LOADER': '$(TEST_HOST)', - 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', - 'INFOPLIST_FILE': 'shell/test/Module-Info.plist', - 'OTHER_LDFLAGS': [ - '-bundle_loader <(test_host).app/<(test_host)', - ], - }, - 'sources': [ - 'shell/test/shell_test.mm', - ], - 'link_settings': { - 'libraries': [ - 'Foundation.framework', - 'XCTest.framework', - ], - }, - }, - { - # Create a test host for earl grey tests, so Xcode 7.3 and above - # doesn't contaminate the app structure. - # GN version: //ios/web/shell/test:ios_web_shell_test_host - 'target_name': 'ios_web_shell_test_host', - 'includes': [ - 'ios_web_shell_exe.gypi', - ], - 'link_settings': { - 'libraries': [ - 'XCTest.framework', - ], - }, - 'xcode_settings': { - 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', - 'OTHER_LDFLAGS': [ - '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', - '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' - ] - }, - 'dependencies': [ - 'ios_web_shell_earl_grey_test_support', - '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', - ], - 'sources': [ - 'shell/test/meta_tags_egtest.mm', - 'shell/test/navigation_egtest.mm', - 'shell/test/page_state_egtest.mm', - 'shell/test/pdf_egtest.mm', - 'shell/test/plugin_placeholder_egtest.mm', - 'shell/test/redirect_egtest.mm', - ], - 'actions': [{ - 'action_name': 'copy_test_data', - 'variables': { - 'test_data_files': [ - '../../ios/web/shell/test/http_server_files', - ], - # Files are copied to .app//. - # Since the test_data_files are two levels up, the test_data_prefix - # needs to be two levels deep so the files end up in the .app bundle - # and not in some parent directory. In other words, this will resolve - # to: .app/ios/web/../../ios/web/shell/test/http_server_files. - 'test_data_prefix': 'ios/web', - }, - 'includes': [ '../../build/copy_test_data_ios.gypi' ], - }], - - 'postbuilds': [ - { - 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', - 'action': [ - 'ditto', - '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', - '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.framework', - ], - }, - { - 'postbuild_name': 'Copy EarlGrey to TEST_HOST', - 'action': [ - 'ditto', - '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', - '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.framework', - ], - }, - ], - }, - { - # TODO(crbug.com/606815): Refactor out code that is common across Chrome - # and the web shell. - # GN version: //ios/web/shell/test:earl_grey_test_support - 'target_name': 'ios_web_shell_earl_grey_test_support', - 'type': 'static_library', - 'dependencies': [ - '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', - 'ios_web.gyp:ios_web_earl_grey_test_support', - '../testing/earl_grey/earl_grey_support.gyp:earl_grey_support', - ], - 'sources': [ - 'shell/test/app/navigation_test_util.h', - 'shell/test/app/navigation_test_util.mm', - 'shell/test/app/web_shell_test_util.h', - 'shell/test/app/web_shell_test_util.mm', - 'shell/test/app/web_view_interaction_test_util.h', - 'shell/test/app/web_view_interaction_test_util.mm', - 'shell/test/earl_grey/shell_base_test_case.h', - 'shell/test/earl_grey/shell_base_test_case.mm', - 'shell/test/earl_grey/shell_matchers.h', - 'shell/test/earl_grey/shell_matchers.mm', - ], - }, - ], -} diff --git a/ios/web/ios_web_unittests.gyp b/ios/web/ios_web_unittests.gyp deleted file mode 100644 index 9779c79474d76..0000000000000 --- a/ios/web/ios_web_unittests.gyp +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2013 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. -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //ios/web:ios_web_unittests - 'target_name': 'ios_web_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:test_support_base', - '../../net/net.gyp:net_test_support', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - '../../third_party/ocmock/ocmock.gyp:ocmock', - '../../ui/base/ui_base.gyp:ui_base_test_support', - '../testing/ios_testing.gyp:ocmock_support', - 'ios_web.gyp:ios_web', - 'ios_web.gyp:ios_web_test_support', - ], - 'sources': [ - 'active_state_manager_impl_unittest.mm', - 'alloc_with_zone_interceptor_unittest.mm', - 'browser_state_unittest.cc', - 'crw_network_activity_indicator_manager_unittest.mm', - 'history_state_util_unittest.mm', - 'navigation/crw_session_controller_unittest.mm', - 'navigation/crw_session_entry_unittest.mm', - 'navigation/navigation_item_impl_unittest.mm', - 'navigation/navigation_manager_impl_unittest.mm', - 'navigation/nscoder_util_unittest.mm', - 'net/cert_host_pair_unittest.cc', - 'net/cert_policy_unittest.cc', - 'net/clients/crw_js_injection_network_client_unittest.mm', - 'net/crw_cert_verification_controller_unittest.mm', - 'net/crw_ssl_status_updater_unittest.mm', - 'net/request_group_util_unittest.mm', - 'net/request_tracker_impl_unittest.mm', - 'net/web_http_protocol_handler_delegate_unittest.mm', - 'public/origin_util_unittest.mm', - 'public/referrer_util_unittest.cc', - 'public/web_state/page_viewport_state_unittest.mm', - 'string_util_unittest.cc', - 'test/crw_fake_web_controller_observer_unittest.mm', - 'test/run_all_unittests.cc', - 'url_scheme_util_unittest.mm', - 'url_util_unittest.cc', - 'web_state/crw_pass_kit_downloader_unittest.mm', - 'web_state/crw_web_view_scroll_view_proxy_unittest.mm', - 'web_state/error_translation_util_unittest.mm', - 'web_state/js/common_js_unittest.mm', - 'web_state/js/core_js_unittest.mm', - 'web_state/js/credential_util_unittest.mm', - 'web_state/js/crw_js_injection_manager_unittest.mm', - 'web_state/js/crw_js_post_request_loader_unittest.mm', - 'web_state/js/crw_js_window_id_manager_unittest.mm', - 'web_state/js/page_script_util_unittest.mm', - 'web_state/ui/crw_web_controller_container_view_unittest.mm', - 'web_state/ui/crw_web_controller_observer_unittest.mm', - 'web_state/ui/crw_web_controller_unittest.mm', - 'web_state/ui/crw_wk_script_message_router_unittest.mm', - 'web_state/ui/web_view_js_utils_unittest.mm', - 'web_state/ui/wk_back_forward_list_item_holder_unittest.mm', - 'web_state/ui/wk_web_view_configuration_provider_unittest.mm', - 'web_state/web_state_impl_unittest.mm', - 'web_state/web_state_delegate_bridge_unittest.mm', - "web_state/web_state_delegate_stub.h", - "web_state/web_state_delegate_stub.mm", - 'web_state/web_view_internal_creation_util_unittest.mm', - 'web_state/wk_web_view_security_util_unittest.mm', - 'webui/crw_web_ui_manager_unittest.mm', - 'webui/crw_web_ui_page_builder_unittest.mm', - 'webui/mojo_facade_unittest.mm', - 'webui/url_fetcher_block_adapter_unittest.mm', - ], - 'actions': [ - { - 'action_name': 'copy_test_data', - 'variables': { - 'test_data_files': [ - '../../net/data/ssl/certificates/', - 'test/data/chrome.html', - 'test/data/testbadpass.pkpass', - 'test/data/testfavicon.png', - 'test/data/testpass.pkpass', - ], - 'test_data_prefix': 'ios/web', - }, - 'includes': [ '../../build/copy_test_data_ios.gypi' ], - }, - ], - }, - ], -} diff --git a/ios/web/js_compile.gypi b/ios/web/js_compile.gypi deleted file mode 100644 index aae69e6d5a88e..0000000000000 --- a/ios/web/js_compile.gypi +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2014 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 should be deprecated in favor of js_compile_checked.gypi or -# eventually third_party/closure_compiler/compile_js.gypi as iOS JS code -# becomes error free. See http://crbug.com/487804 -{ - 'variables': { - 'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar', - 'compile_javascript%': 1, - }, - 'conditions': [ - ['compile_javascript==1', { - 'rules': [ - { - 'rule_name': 'jscompilation', - 'extension': 'js', - 'inputs': [ - '<(closure_compiler_path)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', - ], - 'action': [ - 'java', - '-jar', - '<(closure_compiler_path)', - '--compilation_level', - 'SIMPLE_OPTIMIZATIONS', - '--js', - '<(RULE_INPUT_PATH)', - '--js_output_file', - '<@(_outputs)', - ], - 'message': 'Running closure compiler on <(RULE_INPUT_NAME)', - } # rule_name: jscompilation - ]}, - { # else - 'rules': [ - { - 'rule_name': 'jscompilation', - 'extension': 'js', - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', - ], - 'action': [ - 'cp', - '<(RULE_INPUT_PATH)', - '<@(_outputs)', - ], - } - ]} # rule_name: jscompilation - ] # condition: compile_javascript - ] # conditions -} diff --git a/ios/web/js_compile_bundle.gypi b/ios/web/js_compile_bundle.gypi deleted file mode 100644 index fec6cd21e4b19..0000000000000 --- a/ios/web/js_compile_bundle.gypi +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 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 is meant to be included into a target to provide a rule -# to build JavaScript bundles using closure compiler. -# -# To use this, create a gyp target with the following form: -# { -# 'target_name': 'my_js_target', -# 'type': 'none', -# 'variables': { -# 'closure_entry_point': 'name of the closure module', -# 'js_bundle_files': ['path/to/dependency/file',], -# }, -# 'includes': ['path/to/this/gypi/file'], -# } -# -# Required variables: -# closure_entry_point - name of the entry point closure module. -# js_bundle_files - list of js files to build a bundle. - -{ - 'variables': { - 'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar', - }, - 'rules': [ - { - 'rule_name': 'jsbundlecompilation', - 'extension': 'js', - 'inputs': [ - '<(closure_compiler_path)', - '<@(js_bundle_files)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', - ], - 'action': [ - 'java', - '-jar', - '<(closure_compiler_path)', - '--compilation_level', - 'SIMPLE_OPTIMIZATIONS', - # Pass every js file to closure compiler. --only_closure_dependencies - # flag ensures that unnecessary files will not be compiled into the - # final output file. - '--js', - '<@(js_bundle_files)', - '--js_output_file', - '<@(_outputs)', - '--only_closure_dependencies', - '--closure_entry_point=<(closure_entry_point)', - ], - 'message': 'Building <(RULE_INPUT_NAME) JavaScript bundle', - } # rule_name: jsbundlecompilation - ] -} diff --git a/ios/web/js_compile_checked.gypi b/ios/web/js_compile_checked.gypi deleted file mode 100644 index fe04d94ace859..0000000000000 --- a/ios/web/js_compile_checked.gypi +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 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 should be identical to js_compile.gypi except it passes jscomp_error -# flags to the compiler. One should prefer this over js_compile.gypi once the -# JS code being compiled are error free. -# -# This file should be eventually deprecated in favor of -# third_party/closure_compiler/compile_js.gypi once they have the same set of -# jscomp_error flags enabled. See http://crbug.com/487804 -{ - 'variables': { - 'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar', - 'compile_javascript%': 1, - }, - 'conditions': [ - ['compile_javascript==1', { - 'rules': [ - { - 'rule_name': 'jscompilation', - 'extension': 'js', - 'inputs': [ - '<(closure_compiler_path)', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', - ], - 'action': [ - 'java', - '-jar', - '<(closure_compiler_path)', - '--compilation_level', - 'SIMPLE_OPTIMIZATIONS', - '--jscomp_error=accessControls', - '--jscomp_error=ambiguousFunctionDecl', - # '--jscomp_error=checkTypes', - # '--jscomp_error=checkVars', - '--jscomp_error=constantProperty', - '--jscomp_error=deprecated', - '--jscomp_error=externsValidation', - '--jscomp_error=globalThis', - '--jscomp_error=invalidCasts', - # '--jscomp_error=missingProperties', - # '--jscomp_error=missingReturn', - '--jscomp_error=nonStandardJsDocs', - '--jscomp_error=suspiciousCode', - '--jscomp_error=undefinedNames', - # '--jscomp_error=undefinedVars', - '--jscomp_error=unknownDefines', - '--jscomp_error=uselessCode', - '--jscomp_error=visibility', - '--js', - '<(RULE_INPUT_PATH)', - '--js_output_file', - '<@(_outputs)', - ], - 'message': 'Running closure compiler on <(RULE_INPUT_NAME)', - } # rule_name: jscompilation - ]}, - { # else - 'rules': [ - { - 'rule_name': 'jscompilation', - 'extension': 'js', - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', - ], - 'action': [ - 'cp', - '<(RULE_INPUT_PATH)', - '<@(_outputs)', - ], - } - ]} # rule_name: jscompilation - ] # condition: compile_javascript - ] # conditions -} diff --git a/jingle/jingle.gyp b/jingle/jingle.gyp deleted file mode 100644 index abc28a33745d3..0000000000000 --- a/jingle/jingle.gyp +++ /dev/null @@ -1,241 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'includes': [ - 'jingle.gypi', - ], - 'variables': { - 'chromium_code': 1, - }, # variables - 'conditions': [ - ['enable_webrtc==1 or OS!="android"', { - 'targets': [ - # A library of various utils for integration with libjingle. - # GN version: //jingle:jingle_glue - { - 'target_name': 'jingle_glue', - 'type': 'static_library', - 'sources': [ - '<@(jingle_glue_sources)', - ], - 'dependencies': [ - '../base/base.gyp:base', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../net/net.gyp:net', - '../third_party/libjingle/libjingle.gyp:libjingle', - ], - 'export_dependent_settings': [ - '../third_party/libjingle/libjingle.gyp:libjingle', - ], - }, - # A library for sending and receiving peer-issued notifications. - # - # TODO(akalin): Separate out the XMPP stuff from this library into - # its own library. - # - # GN version: //jingle:notifier - { - 'target_name': 'notifier', - 'type': 'static_library', - 'sources': [ - 'notifier/base/const_communicator.h', - 'notifier/base/gaia_constants.cc', - 'notifier/base/gaia_constants.h', - 'notifier/base/gaia_token_pre_xmpp_auth.cc', - 'notifier/base/gaia_token_pre_xmpp_auth.h', - 'notifier/base/notification_method.h', - 'notifier/base/notification_method.cc', - 'notifier/base/notifier_options.cc', - 'notifier/base/notifier_options.h', - 'notifier/base/notifier_options_util.cc', - 'notifier/base/notifier_options_util.h', - 'notifier/base/server_information.cc', - 'notifier/base/server_information.h', - 'notifier/base/weak_xmpp_client.cc', - 'notifier/base/weak_xmpp_client.h', - 'notifier/base/xmpp_connection.cc', - 'notifier/base/xmpp_connection.h', - 'notifier/communicator/connection_settings.cc', - 'notifier/communicator/connection_settings.h', - 'notifier/communicator/login.cc', - 'notifier/communicator/login.h', - 'notifier/communicator/login_settings.cc', - 'notifier/communicator/login_settings.h', - 'notifier/communicator/single_login_attempt.cc', - 'notifier/communicator/single_login_attempt.h', - 'notifier/listener/non_blocking_push_client.cc', - 'notifier/listener/non_blocking_push_client.h', - 'notifier/listener/notification_constants.cc', - 'notifier/listener/notification_constants.h', - 'notifier/listener/notification_defines.cc', - 'notifier/listener/notification_defines.h', - 'notifier/listener/push_client_observer.cc', - 'notifier/listener/push_client_observer.h', - 'notifier/listener/push_client.cc', - 'notifier/listener/push_client.h', - 'notifier/listener/push_notifications_listen_task.cc', - 'notifier/listener/push_notifications_listen_task.h', - 'notifier/listener/push_notifications_send_update_task.cc', - 'notifier/listener/push_notifications_send_update_task.h', - 'notifier/listener/push_notifications_subscribe_task.cc', - 'notifier/listener/push_notifications_subscribe_task.h', - 'notifier/listener/send_ping_task.cc', - 'notifier/listener/send_ping_task.h', - 'notifier/listener/xml_element_util.cc', - 'notifier/listener/xml_element_util.h', - 'notifier/listener/xmpp_push_client.cc', - 'notifier/listener/xmpp_push_client.h', - ], - 'defines' : [ - '_CRT_SECURE_NO_WARNINGS', - ], - 'dependencies': [ - '../base/base.gyp:base', - '../net/net.gyp:net', - '../third_party/expat/expat.gyp:expat', - '../third_party/libjingle/libjingle.gyp:libjingle', - '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', - '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp', - '../url/url.gyp:url_lib', - 'jingle_glue', - ], - 'export_dependent_settings': [ - '../third_party/libjingle/libjingle.gyp:libjingle', - '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', - '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp', - ], - }, - # GN version: //jingle:notifier_test_util - { - 'target_name': 'notifier_test_util', - 'type': 'static_library', - 'sources': [ - 'notifier/base/fake_base_task.cc', - 'notifier/base/fake_base_task.h', - 'notifier/listener/fake_push_client.cc', - 'notifier/listener/fake_push_client.h', - 'notifier/listener/fake_push_client_observer.cc', - 'notifier/listener/fake_push_client_observer.h', - ], - 'dependencies': [ - 'notifier', - '../base/base.gyp:base', - '../testing/gmock.gyp:gmock', - ], - }, - # GN version: //jingle:jingle_unittests - { - 'target_name': 'jingle_unittests', - 'type': 'executable', - 'sources': [ - 'glue/chrome_async_socket_unittest.cc', - 'glue/fake_ssl_client_socket_unittest.cc', - 'glue/jingle_glue_mock_objects.cc', - 'glue/jingle_glue_mock_objects.h', - 'glue/logging_unittest.cc', - 'glue/mock_task.cc', - 'glue/mock_task.h', - 'glue/proxy_resolving_client_socket_unittest.cc', - 'glue/task_pump_unittest.cc', - 'glue/thread_wrapper_unittest.cc', - 'notifier/base/weak_xmpp_client_unittest.cc', - 'notifier/base/xmpp_connection_unittest.cc', - 'notifier/communicator/connection_settings_unittest.cc', - 'notifier/communicator/login_settings_unittest.cc', - 'notifier/communicator/single_login_attempt_unittest.cc', - 'notifier/listener/non_blocking_push_client_unittest.cc', - 'notifier/listener/notification_defines_unittest.cc', - 'notifier/listener/push_client_unittest.cc', - 'notifier/listener/push_notifications_send_update_task_unittest.cc', - 'notifier/listener/push_notifications_subscribe_task_unittest.cc', - 'notifier/listener/send_ping_task_unittest.cc', - 'notifier/listener/xml_element_util_unittest.cc', - 'notifier/listener/xmpp_push_client_unittest.cc', - ], - 'conditions': [ - ['OS=="android"', { - 'sources!': [ - # TODO(jrg): - # EXPECT_DEBUG_DEATH() uses features not enabled. - # Should we -std=c++0x or -std=gnu++0x? - 'glue/chrome_async_socket_unittest.cc', - 'notifier/base/xmpp_connection_unittest.cc', - ], - }]], - 'include_dirs': [ - '..', - ], - 'dependencies': [ - 'jingle_glue', - 'notifier', - 'notifier_test_util', - '../base/base.gyp:base', - '../base/base.gyp:run_all_unittests', - '../base/base.gyp:test_support_base', - '../net/net.gyp:net', - '../net/net.gyp:net_test_support', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - '../third_party/libjingle/libjingle.gyp:libjingle', - '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', - '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp', - ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'jingle_unittests_run', - 'type': 'none', - 'dependencies': [ - 'jingle_unittests', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'jingle_unittests.isolate', - ], - }, - ], - }], - ], - }, { # enable_webrtc!=1 and OS=="android" - 'targets': [ - # Stub targets as Android doesn't use libjingle when webrtc is disabled. - { - 'target_name': 'jingle_glue', - 'type': 'none', - }, - { - 'target_name': 'jingle_glue_test_util', - 'type': 'none', - }, - # GN version: //jingle:notifier - { - 'target_name': 'notifier', - 'type': 'static_library', - 'sources': [ - 'notifier/base/gaia_constants.cc', - 'notifier/base/gaia_constants.h', - 'notifier/base/notification_method.h', - 'notifier/base/notification_method.cc', - 'notifier/base/notifier_options.cc', - 'notifier/base/notifier_options.h', - ], - 'dependencies': [ - '../base/base.gyp:base', - '../net/net.gyp:net', - ], - }, - { - 'target_name': 'notifier_test_util', - 'type': 'none', - }, - ], - }], - ], -} diff --git a/jingle/jingle_nacl.gyp b/jingle/jingle_nacl.gyp deleted file mode 100644 index b20f6414e3d09..0000000000000 --- a/jingle/jingle_nacl.gyp +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'includes': [ - '../native_client/build/untrusted.gypi', - 'jingle.gypi', - ], - 'targets': [ - { - 'target_name': 'jingle_glue_nacl', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'libjingle_glue_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - }, - 'sources': [ - '<@(jingle_glue_sources)', - ], - 'sources!': [ - 'glue/chrome_async_socket.cc', - 'glue/proxy_resolving_client_socket.cc', - 'glue/xmpp_client_socket_factory.cc', - ], - 'dependencies': [ - '../base/base_nacl.gyp:base_nacl', - '../net/net_nacl.gyp:net_nacl', - '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl', - ], - 'export_dependent_settings': [ - '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl', - ], - } - ] -} diff --git a/native_client_sdk/native_client_sdk_untrusted.gyp b/native_client_sdk/native_client_sdk_untrusted.gyp deleted file mode 100644 index 2cd3dc50e3f3f..0000000000000 --- a/native_client_sdk/native_client_sdk_untrusted.gyp +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2013 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. - -{ - 'includes': [ - '../build/common_untrusted.gypi', - ], - 'conditions': [ - ['disable_nacl==0 and disable_nacl_untrusted==0', { - 'targets': [ - { - 'target_name': 'nacl_io_untrusted', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'libnacl_io.a', - 'build_newlib': 1, - 'build_pnacl_newlib': 1, - }, - 'include_dirs': [ - '../native_client/src/untrusted/irt', - 'src/libraries', - 'src/libraries/nacl_io/include', - 'src/libraries/third_party/newlib-extras', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/libraries', - 'src/libraries/nacl_io/include', - 'src/libraries/third_party/newlib-extras', - ], - }, - 'sources': [ - '>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)', - ], - 'dependencies': [ - '../ppapi/native_client/native_client.gyp:ppapi_lib', - ], - }, - ], - }], - ], -} diff --git a/net/net.gyp b/net/net.gyp deleted file mode 100644 index 725007a5ba198..0000000000000 --- a/net/net.gyp +++ /dev/null @@ -1,1708 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - 'linux_link_kerberos%': 0, - 'conditions': [ - ['chromeos==1 or embedded==1 or OS=="ios"', { - # Disable Kerberos on ChromeOS and iOS, at least for now. - # It needs configuration (krb5.conf and so on). - 'use_kerberos%': 0, - }, { # chromeos == 0 and embedded==0 and OS!="ios" - 'use_kerberos%': 1, - }], - ['OS=="android" and target_arch != "ia32"', { - # The way the cache uses mmap() is inefficient on some Android devices. - # If this flag is set, we hackily avoid using mmap() in the disk cache. - # We are pretty confident that mmap-ing the index would not hurt any - # existing x86 android devices, but we cannot be so sure about the - # variety of ARM devices. So enable it for x86 only for now. - 'posix_avoid_mmap%': 1, - }, { - 'posix_avoid_mmap%': 0, - }], - ['OS=="ios"', { - # Websockets and socket stream are not used on iOS. - 'enable_websockets%': 0, - # iOS does not use V8. - 'use_v8_in_net%': 0, - 'enable_built_in_dns%': 0, - }, { - 'enable_websockets%': 1, - 'use_v8_in_net%': 1, - 'enable_built_in_dns%': 1, - }], - ], - }, - 'includes': [ - '../build/win_precompile.gypi', - 'net.gypi', - ], - 'targets': [ - { - 'target_name': 'net_derived_sources', - 'type': 'none', - 'sources': [ - 'base/registry_controlled_domains/effective_tld_names.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest1.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest2.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest3.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest4.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest5.gperf', - 'base/registry_controlled_domains/effective_tld_names_unittest6.gperf', - 'base/stale_while_revalidate_experiment_domains.gperf', - ], - 'rules': [ - { - 'rule_name': 'dafsa', - 'extension': 'gperf', - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc', - ], - 'inputs': [ - 'tools/dafsa/make_dafsa.py', - ], - 'action': [ - 'python', - 'tools/dafsa/make_dafsa.py', - '<(RULE_INPUT_PATH)', - '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-inc.cc', - ], - }, - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)' - ], - }, - }, - { - # Protobuf compiler / generator for QUIC crypto protocol buffer. - # GN version: //net:net_quic_proto - 'target_name': 'net_quic_proto', - 'type': 'static_library', - 'sources': [ - 'quic/core/proto/cached_network_parameters.proto', - 'quic/core/proto/source_address_token.proto', - ], - 'variables': { - 'enable_wexit_time_destructors': 1, - 'proto_in_dir': 'quic/core/proto', - 'proto_out_dir': 'net/quic/core/proto', - 'cc_generator_options': 'dllexport_decl=NET_EXPORT_PRIVATE:', - 'cc_include': 'net/base/net_export.h', - }, - 'includes': [ - '../build/protoc.gypi', - ], - 'defines': [ - 'NET_IMPLEMENTATION', - ], - }, - { - # GN version: //net - 'target_name': 'net', - 'dependencies': [ - '../url/url.gyp:url_lib', - ], - 'includes': [ 'net_common.gypi' ], - - 'conditions': [ - # ICU Alternatives - ['use_platform_icu_alternatives == 1', { - 'conditions': [ - ['OS == "android"', { - 'sources': [ - 'base/net_string_util_icu_alternatives_android.cc', - ], - }], - ['OS == "ios"', { - 'sources': [ - 'base/net_string_util_icu_alternatives_ios.mm', - ], - }], - ], - }, - # 'use_platform_icu_alternatives != 1' - { - 'sources': [ - 'base/filename_util_icu.cc', - 'base/net_string_util_icu.cc', - ], - 'dependencies': [ - '../base/base.gyp:base_i18n', - '../third_party/icu/icu.gyp:icui18n', - '../third_party/icu/icu.gyp:icuuc', - '../third_party/protobuf/protobuf.gyp:protobuf_lite', - 'net_quic_proto', - ], - }], - # Brotli support. - ['disable_brotli_filter == 1', { - 'sources': [ - 'filter/brotli_filter_disabled.cc', - ], - }, - # 'disable_brotli_filter != 1' - { - 'sources': [ - 'filter/brotli_filter.cc', - ], - 'dependencies': [ - '../third_party/brotli/brotli.gyp:brotli', - ], - }], - ], - }, - { - # GN version: //net:net_unittests - 'target_name': 'net_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../crypto/crypto.gyp:crypto', - '../crypto/crypto.gyp:crypto_test_support', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - '../third_party/boringssl/boringssl.gyp:boringssl', - '../third_party/zlib/zlib.gyp:zlib', - '../url/url.gyp:url_url_features', - '../url/url.gyp:url_lib', - 'balsa', - 'net', - 'net_quic_proto', - 'net_derived_sources', - 'net_extras', - 'net_test_support', - 'simple_quic_tools', - 'stale_while_revalidate_experiment_domains', - ], - 'sources': [ - '<@(net_test_sources)', - ], - 'conditions': [ - ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { - 'dependencies': [ - 'epoll_quic_tools', - 'epoll_server', - ], - 'sources': [ - '<@(net_linux_test_sources)', - ], - }], - ['OS == "mac" or OS == "ios"', { - 'sources': [ - '<@(net_base_test_mac_ios_sources)', - ], - }], - ['chromeos==1', { - 'sources!': [ - 'proxy/proxy_config_service_linux_unittest.cc', - ], - }], - [ 'OS == "android"', { - 'dependencies': [ - 'net_javatests', - ], - }], - [ 'use_nss_certs != 1', { - 'sources!': [ - 'cert/internal/trust_store_nss_unittest.cc', - 'cert/nss_cert_database_chromeos_unittest.cc', - 'cert/nss_cert_database_unittest.cc', - 'cert/nss_profile_filter_chromeos_unittest.cc', - 'ssl/client_cert_store_nss_unittest.cc', - ], - }], - [ 'use_nss_certs == 1', { - 'conditions': [ - [ 'desktop_linux == 1 or chromeos == 1', { - 'dependencies': [ - '../build/linux/system.gyp:nss', - ], - }, { # desktop_linux == 0 and chromeos == 0 - 'dependencies': [ - '../third_party/nss/nss.gyp:nspr', - '../third_party/nss/nss.gyp:nss', - 'third_party/nss/ssl.gyp:libssl', - ], - }], - ], - }], - [ 'use_kerberos==1', { - 'defines': [ - 'USE_KERBEROS', - ], - }], - [ 'use_kerberos==0 or OS == "android"', { - # These are excluded on Android, because the actual Kerberos support, - # which these test, is in a separate app on Android. - 'sources!': [ - 'http/http_auth_gssapi_posix_unittest.cc', - 'http/mock_gssapi_library_posix.cc', - 'http/mock_gssapi_library_posix.h', - ], - }], - [ 'use_kerberos==0', { - 'sources!': [ - 'http/http_auth_handler_negotiate_unittest.cc', - ], - }], - [ 'use_nss_certs == 0', { - # Only include this test when using NSS for cert verification. - 'sources!': [ - 'cert_net/nss_ocsp_unittest.cc', - ], - }], - [ 'OS == "ios"', { - # Only include these files on iOS when using NSS for cert - # verification. - 'sources!': [ - 'cert/x509_util_ios.cc', - 'cert/x509_util_ios.h', - ], - }], - [ 'use_openssl_certs == 0', { - 'sources!': [ - 'ssl/openssl_client_key_store_unittest.cc', - ], - }], - [ 'enable_websockets == 1', { - 'sources': [ - '<@(net_websockets_test_sources)', - ], - 'defines': [ - 'ENABLE_WEBSOCKETS', - ], - 'dependencies': [ - 'http_server', - ], - }], - ['disable_file_support==1', { - 'sources!': [ - 'base/directory_lister_unittest.cc', - 'base/directory_listing_unittest.cc', - 'url_request/url_request_file_dir_job_unittest.cc', - 'url_request/url_request_file_job_unittest.cc', - ], - }], - [ 'disable_ftp_support==1', { - 'sources/': [ - ['exclude', '^ftp/'], - ], - 'sources!': [ - 'url_request/url_request_ftp_job_unittest.cc', - ], - }, - ], - [ 'enable_built_in_dns!=1', { - 'sources!': [ - 'dns/address_sorter_posix_unittest.cc', - 'dns/address_sorter_unittest.cc', - ], - }, - ], - [ 'use_v8_in_net==1', { - 'dependencies': [ - 'net_with_v8', - ], - }, { # else: !use_v8_in_net - 'sources!': [ - 'proxy/proxy_resolver_v8_tracing_unittest.cc', - 'proxy/proxy_resolver_v8_tracing_wrapper_unittest.cc', - 'proxy/proxy_resolver_v8_unittest.cc', - ], - }, - ], - - [ 'use_v8_in_net==1 and OS != "android"', { - 'dependencies': [ - 'net_with_v8', - 'net_browser_services', - 'net_utility_services', - '../mojo/mojo_edk.gyp:mojo_system_impl', - ], - }, { # else - 'sources!': [ - 'dns/host_resolver_mojo_unittest.cc', - 'dns/mojo_host_resolver_impl_unittest.cc', - 'proxy/mojo_proxy_resolver_factory_impl_unittest.cc', - 'proxy/mojo_proxy_resolver_impl_unittest.cc', - 'proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc', - 'proxy/proxy_resolver_factory_mojo_unittest.cc', - 'proxy/proxy_service_mojo_unittest.cc', - ], - }, - ], - - [ 'enable_mdns != 1', { - 'sources!' : [ - 'dns/mdns_cache_unittest.cc', - 'dns/mdns_client_unittest.cc', - 'dns/mdns_query_unittest.cc', - ], - }], - [ 'OS == "win"', { - 'sources!': [ - 'dns/dns_config_service_posix_unittest.cc', - 'http/http_auth_gssapi_posix_unittest.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - 'conditions': [ - [ 'icu_use_data_file_flag == 0', { - # This is needed to trigger the dll copy step on windows. - # TODO(mark): Specifying this here shouldn't be necessary. - 'dependencies': [ - '../third_party/icu/icu.gyp:icudata', - ], - }], - ], - }, - ], - [ 'OS == "ios"', { - 'actions': [ - { - 'action_name': 'copy_test_data', - 'variables': { - 'test_data_files': [ - '<@(net_test_support_data_sources)', - '<@(net_unittests_data_sources)', - ], - 'test_data_prefix': 'net', - }, - 'includes': [ '../build/copy_test_data_ios.gypi' ], - }, - ], - 'sources!': [ - # Need TestServer. - "cert_net/cert_net_fetcher_impl_unittest.cc", - # TODO(droger): The following tests are disabled because the - # implementation is missing or incomplete. - # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS. - 'base/keygen_handler_unittest.cc', - 'disk_cache/backend_unittest.cc', - 'disk_cache/blockfile/block_files_unittest.cc', - # Need to read input data files. - 'filter/brotli_filter_unittest.cc', - 'filter/gzip_filter_unittest.cc', - 'proxy/proxy_script_fetcher_impl_unittest.cc', - 'socket/ssl_client_socket_unittest.cc', - 'socket/ssl_server_socket_unittest.cc', - 'spdy/fuzzing/hpack_fuzz_util_test.cc', - # Needs GetAppOutput(). - 'test/python_utils_unittest.cc', - 'url_request/url_fetcher_impl_unittest.cc', - 'url_request/url_request_context_builder_unittest.cc', - - # The following tests are disabled because they don't apply to - # iOS. - # OS is not "linux" or "freebsd" or "openbsd". - 'socket/unix_domain_client_socket_posix_unittest.cc', - 'socket/unix_domain_server_socket_posix_unittest.cc', - ], - }], - ['OS == "android"', { - # TODO(mmenke): This depends on test_support_base, which depends on - # icu. Figure out a way to remove that dependency. - 'dependencies': [ - '../testing/android/native_test.gyp:native_test_native_code', - ] - }], - ['use_v8_in_net==1 and v8_use_external_startup_data==1', { - 'dependencies': [ - '../gin/gin.gyp:gin', - ] - }], - # Unit tests that are not supported by the current ICU alternatives on Android. - ['OS == "android" and use_platform_icu_alternatives == 1', { - 'sources!': [ - 'base/filename_util_unittest.cc', - 'url_request/url_request_job_unittest.cc', - ], - }], - # Unit tests that are not supported by the current ICU alternatives on iOS. - ['OS == "ios" and use_platform_icu_alternatives == 1', { - 'sources!': [ - 'base/filename_util_unittest.cc', - 'base/url_util_unittest.cc', - 'cert/x509_certificate_unittest.cc', - 'http/http_auth_handler_basic_unittest.cc', - 'http/http_auth_handler_digest_unittest.cc', - 'http/http_auth_handler_factory_unittest.cc', - 'http/http_auth_unittest.cc', - 'http/http_content_disposition_unittest.cc', - 'http/http_network_transaction_unittest.cc', - 'http/http_proxy_client_socket_pool_unittest.cc', - 'socket/ssl_client_socket_pool_unittest.cc', - 'spdy/spdy_network_transaction_unittest.cc', - 'spdy/spdy_proxy_client_socket_unittest.cc', - 'url_request/url_request_job_unittest.cc', - 'url_request/url_request_unittest.cc', - ], - }], - # Exclude brotli test if the support for brotli is disabled. - ['disable_brotli_filter == 1', { - 'sources!': [ - 'filter/brotli_filter_unittest.cc', - ], - }], - ], - 'target_conditions': [ - # These source files are excluded by default platform rules, but they - # are needed in specific cases on other platforms. Re-including them can - # only be done in target_conditions as it is evaluated after the - # platform rules. - ['OS == "android"', { - 'sources/': [ - ['include', '^base/address_tracker_linux_unittest\\.cc$'], - ], - }], - ['OS == "ios"', { - 'sources/': [ - ['include', '^base/mac/url_conversions_unittest\\.mm$'], - ], - }], - ], - }, - { - 'target_name': 'net_perftests', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../base/base.gyp:test_support_perf', - '../testing/gtest.gyp:gtest', - '../url/url.gyp:url_lib', - 'net', - 'net_extras', - 'net_test_support', - ], - 'sources': [ - 'base/mime_sniffer_perftest.cc', - 'cookies/cookie_monster_perftest.cc', - 'disk_cache/disk_cache_perftest.cc', - 'extras/sqlite/sqlite_persistent_cookie_store_perftest.cc', - 'proxy/proxy_resolver_perftest.cc', - 'udp/udp_socket_perftest.cc', - 'websockets/websocket_frame_perftest.cc', - ], - 'conditions': [ - [ 'use_v8_in_net==1', { - 'dependencies': [ - 'net_with_v8', - ], - }, { # else: !use_v8_in_net - 'sources!': [ - 'proxy/proxy_resolver_perftest.cc', - ], - }, - ], - [ 'OS == "win"', { - 'conditions': [ - [ 'icu_use_data_file_flag == 0', { - # This is needed to trigger the dll copy step on windows. - # TODO(mark): Specifying this here shouldn't be necessary. - 'dependencies': [ - '../third_party/icu/icu.gyp:icudata', - ], - }], - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }], - [ 'enable_websockets != 1', { - 'sources!': [ - 'websockets/websocket_frame_perftest.cc', - ], - }], - ], - }, - { - 'target_name': 'net_test_support', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:test_support_base', - '../crypto/crypto.gyp:crypto', - '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util', - '../testing/gtest.gyp:gtest', - '../testing/gmock.gyp:gmock', - '../url/url.gyp:url_lib', - 'net', - ], - 'export_dependent_settings': [ - '../base/base.gyp:base', - # TODO(mmenke): This depends on icu, figure out a way to build tests - # without icu. - '../base/base.gyp:test_support_base', - '../crypto/crypto.gyp:crypto', - '../testing/gtest.gyp:gtest', - '../testing/gmock.gyp:gmock', - ], - 'sources': [ - 'base/load_timing_info_test_util.cc', - 'base/load_timing_info_test_util.h', - 'base/mock_file_stream.cc', - 'base/mock_file_stream.h', - 'base/test_completion_callback.cc', - 'base/test_completion_callback.h', - 'cert/mock_cert_verifier.cc', - 'cert/mock_cert_verifier.h', - 'cert/mock_client_cert_verifier.cc', - 'cert/mock_client_cert_verifier.h', - 'cookies/cookie_monster_store_test.cc', - 'cookies/cookie_monster_store_test.h', - 'cookies/cookie_store_test_callbacks.cc', - 'cookies/cookie_store_test_callbacks.h', - 'cookies/cookie_store_test_helpers.cc', - 'cookies/cookie_store_test_helpers.h', - 'cookies/cookie_store_unittest.h', - 'disk_cache/disk_cache_test_base.cc', - 'disk_cache/disk_cache_test_base.h', - 'disk_cache/disk_cache_test_util.cc', - 'disk_cache/disk_cache_test_util.h', - 'dns/dns_test_util.cc', - 'dns/dns_test_util.h', - 'dns/mock_host_resolver.cc', - 'dns/mock_host_resolver.h', - 'dns/mock_mdns_socket_factory.cc', - 'dns/mock_mdns_socket_factory.h', - 'http/http_stream_factory_test_util.cc', - 'http/http_stream_factory_test_util.h', - 'http/http_transaction_test_util.cc', - 'http/http_transaction_test_util.h', - 'http/http_stream_factory_test_util.cc', - 'http/http_stream_factory_test_util.h', - 'log/test_net_log.cc', - 'log/test_net_log.h', - 'log/test_net_log_entry.cc', - 'log/test_net_log_entry.h', - 'log/test_net_log_util.cc', - 'log/test_net_log_util.h', - 'proxy/mock_proxy_resolver.cc', - 'proxy/mock_proxy_resolver.h', - 'proxy/mock_proxy_script_fetcher.cc', - 'proxy/mock_proxy_script_fetcher.h', - 'proxy/proxy_config_service_common_unittest.cc', - 'proxy/proxy_config_service_common_unittest.h', - 'socket/socket_test_util.cc', - 'socket/socket_test_util.h', - 'test/cert_test_util.cc', - 'test/cert_test_util.h', - 'test/cert_test_util_nss.cc', - 'test/channel_id_test_util.cc', - 'test/channel_id_test_util.h', - 'test/ct_test_util.cc', - 'test/ct_test_util.h', - 'test/embedded_test_server/default_handlers.cc', - 'test/embedded_test_server/default_handlers.h', - 'test/embedded_test_server/embedded_test_server.cc', - 'test/embedded_test_server/embedded_test_server.h', - 'test/embedded_test_server/http_connection.cc', - 'test/embedded_test_server/http_connection.h', - 'test/embedded_test_server/http_request.cc', - 'test/embedded_test_server/http_request.h', - 'test/embedded_test_server/http_response.cc', - 'test/embedded_test_server/http_response.h', - 'test/embedded_test_server/request_handler_util.cc', - 'test/embedded_test_server/request_handler_util.h', - 'test/event_waiter.h', - 'test/gtest_util.h', - 'test/net_test_suite.cc', - 'test/net_test_suite.h', - 'test/python_utils.cc', - 'test/python_utils.h', - 'test/scoped_disable_exit_on_dfatal.cc', - 'test/scoped_disable_exit_on_dfatal.h', - 'test/spawned_test_server/base_test_server.cc', - 'test/spawned_test_server/base_test_server.h', - 'test/spawned_test_server/local_test_server.cc', - 'test/spawned_test_server/local_test_server.h', - 'test/spawned_test_server/local_test_server_posix.cc', - 'test/spawned_test_server/local_test_server_win.cc', - 'test/spawned_test_server/spawned_test_server.h', - 'test/test_certificate_data.h', - 'test/test_data_directory.cc', - 'test/test_data_directory.h', - 'test/url_request/ssl_certificate_error_job.cc', - 'test/url_request/ssl_certificate_error_job.h', - 'test/url_request/url_request_failed_job.cc', - 'test/url_request/url_request_failed_job.h', - 'test/url_request/url_request_hanging_read_job.cc', - 'test/url_request/url_request_hanging_read_job.h', - 'test/url_request/url_request_mock_data_job.cc', - 'test/url_request/url_request_mock_data_job.h', - 'test/url_request/url_request_slow_download_job.cc', - 'test/url_request/url_request_slow_download_job.h', - 'url_request/test_url_fetcher_factory.cc', - 'url_request/test_url_fetcher_factory.h', - 'url_request/url_request_test_util.cc', - 'url_request/url_request_test_util.h', - ], - 'conditions': [ - ['OS != "ios"', { - 'dependencies': [ - '../third_party/protobuf/protobuf.gyp:py_proto', - ], - }, { - 'sources!': [ - 'test/spawned_test_server/base_test_server.cc', - 'test/spawned_test_server/base_test_server.h', - 'test/spawned_test_server/local_test_server.cc', - 'test/spawned_test_server/local_test_server.h', - 'test/spawned_test_server/local_test_server_posix.cc', - 'test/spawned_test_server/local_test_server_win.cc', - 'test/spawned_test_server/spawned_test_server.h', - ], - }], - ['use_nss_certs == 1', { - 'conditions': [ - [ 'desktop_linux == 1 or chromeos == 1', { - 'dependencies': [ - '../build/linux/system.gyp:nss', - ], - }, { # desktop_linux == 0 and chromeos == 0 - 'dependencies': [ - '../third_party/nss/nss.gyp:nspr', - '../third_party/nss/nss.gyp:nss', - 'third_party/nss/ssl.gyp:libssl', - ], - }], - ], - }], - ['OS == "android"', { - 'dependencies': [ - 'net_test_jni_headers', - ], - 'sources': [ - 'test/embedded_test_server/android/embedded_test_server_android.cc', - 'test/embedded_test_server/android/embedded_test_server_android.h', - 'test/spawned_test_server/remote_test_server.cc', - 'test/spawned_test_server/remote_test_server.h', - 'test/spawned_test_server/spawner_communicator.cc', - 'test/spawned_test_server/spawner_communicator.h', - ], - }], - [ 'use_v8_in_net==1', { - 'dependencies': [ - 'net_with_v8', - ], - }, - ], - [ 'enable_mdns != 1', { - 'sources!' : [ - 'dns/mock_mdns_socket_factory.cc', - 'dns/mock_mdns_socket_factory.h' - ] - }], - [ 'use_nss_certs != 1', { - 'sources!': [ - 'test/cert_test_util_nss.cc', - ], - }], - ['disable_file_support != 1', { - 'sources': [ - 'test/url_request/url_request_mock_http_job.cc', - 'test/url_request/url_request_mock_http_job.h', - 'url_request/test_url_request_interceptor.cc', - 'url_request/test_url_request_interceptor.h', - ], - }], - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'net_resources', - 'type': 'none', - 'variables': { - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net', - }, - 'actions': [ - { - 'action_name': 'net_resources', - 'variables': { - 'grit_grd_file': 'base/net_resources.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, - ], - }, - { - 'target_name': 'net_extras', - 'type': 'static_library', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '../base/base.gyp:base', - '../sql/sql.gyp:sql', - 'net', - ], - 'sources': [ - '<@(net_extras_sources)', - ], - }, - { - 'target_name': 'http_server', - 'type': 'static_library', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'server/http_connection.cc', - 'server/http_connection.h', - 'server/http_server.cc', - 'server/http_server.h', - 'server/http_server_request_info.cc', - 'server/http_server_request_info.h', - 'server/http_server_response_info.cc', - 'server/http_server_response_info.h', - 'server/web_socket.cc', - 'server/web_socket.h', - 'server/web_socket_encoder.cc', - 'server/web_socket_encoder.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { # GN version: //net:balsa - 'target_name': 'balsa', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/balsa/balsa_enums.h', - 'tools/balsa/balsa_frame.cc', - 'tools/balsa/balsa_frame.h', - 'tools/balsa/balsa_headers.cc', - 'tools/balsa/balsa_headers.h', - 'tools/balsa/balsa_headers_token_utils.cc', - 'tools/balsa/balsa_headers_token_utils.h', - 'tools/balsa/balsa_visitor_interface.h', - 'tools/balsa/http_message_constants.cc', - 'tools/balsa/http_message_constants.h', - 'tools/balsa/noop_balsa_visitor.h', - 'tools/balsa/simple_buffer.cc', - 'tools/balsa/simple_buffer.h', - 'tools/balsa/string_piece_utils.h', - 'tools/quic/spdy_balsa_utils.cc', - 'tools/quic/spdy_balsa_utils.h', - ], - }, - { - 'target_name': 'dump_cache', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_test_support', - ], - 'sources': [ - 'tools/dump_cache/dump_cache.cc', - 'tools/dump_cache/dump_files.cc', - 'tools/dump_cache/dump_files.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'simple_quic_tools', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../url/url.gyp:url_lib', - 'net', - 'net_quic_proto', - ], - 'sources': [ - 'tools/quic/chlo_extractor.h', - 'tools/quic/chlo_extractor.cc', - 'tools/quic/quic_client_base.cc', - 'tools/quic/quic_client_base.h', - 'tools/quic/quic_client_session.cc', - 'tools/quic/quic_client_session.h', - 'tools/quic/quic_dispatcher.cc', - 'tools/quic/quic_dispatcher.h', - 'tools/quic/quic_in_memory_cache.cc', - 'tools/quic/quic_in_memory_cache.h', - 'tools/quic/quic_per_connection_packet_writer.cc', - 'tools/quic/quic_per_connection_packet_writer.h', - 'tools/quic/quic_process_packet_interface.h', - 'tools/quic/quic_simple_client.cc', - 'tools/quic/quic_simple_client.h', - 'tools/quic/quic_simple_crypto_server_stream_helper.cc', - 'tools/quic/quic_simple_crypto_server_stream_helper.h', - 'tools/quic/quic_simple_dispatcher.cc', - 'tools/quic/quic_simple_dispatcher.h', - 'tools/quic/quic_simple_per_connection_packet_writer.cc', - 'tools/quic/quic_simple_per_connection_packet_writer.h', - 'tools/quic/quic_simple_server.cc', - 'tools/quic/quic_simple_server.h', - 'tools/quic/quic_simple_server_packet_writer.cc', - 'tools/quic/quic_simple_server_packet_writer.h', - 'tools/quic/quic_simple_server_session.cc', - 'tools/quic/quic_simple_server_session.h', - 'tools/quic/quic_simple_server_session_helper.cc', - 'tools/quic/quic_simple_server_session_helper.h', - 'tools/quic/quic_simple_server_stream.cc', - 'tools/quic/quic_simple_server_stream.h', - 'tools/quic/quic_spdy_client_stream.cc', - 'tools/quic/quic_spdy_client_stream.h', - 'tools/quic/quic_time_wait_list_manager.cc', - 'tools/quic/quic_time_wait_list_manager.h', - 'tools/quic/stateless_rejector.cc', - 'tools/quic/stateless_rejector.h', - 'tools/quic/synchronous_host_resolver.cc', - 'tools/quic/synchronous_host_resolver.h', - ], - }, - { - # GN version: //net:stale_while_revalidate_experiment_domains - 'target_name': 'stale_while_revalidate_experiment_domains', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_derived_sources', - ], - 'sources': [ - 'base/stale_while_revalidate_experiment_domains.cc', - 'base/stale_while_revalidate_experiment_domains.h', - ], - }, - ], - 'conditions': [ - ['use_v8_in_net == 1', { - 'targets': [ - { - 'target_name': 'net_with_v8', - 'type': '<(component)', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '../base/base.gyp:base', - '../gin/gin.gyp:gin', - '../url/url.gyp:url_lib', - '../v8/src/v8.gyp:v8', - 'net' - ], - 'defines': [ - 'NET_IMPLEMENTATION', - ], - 'sources': [ - 'proxy/proxy_resolver_v8.cc', - 'proxy/proxy_resolver_v8.h', - 'proxy/proxy_resolver_v8_tracing.cc', - 'proxy/proxy_resolver_v8_tracing.h', - 'proxy/proxy_resolver_v8_tracing_wrapper.cc', - 'proxy/proxy_resolver_v8_tracing_wrapper.h', - 'proxy/proxy_service_v8.cc', - 'proxy/proxy_service_v8.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - ], - }], - ['use_v8_in_net == 1 and OS != "android"', { - 'targets': [ - { - # GN version: //net/interfaces - 'target_name': 'net_interfaces', - 'type': 'static_library', - 'sources': [ - 'interfaces/host_resolver_service.mojom', - 'interfaces/proxy_resolver_service.mojom', - ], - 'dependencies': [ - '../url/url.gyp:url_mojom', - ], - 'variables': { - 'mojom_typemaps': [ - '../url/mojo/gurl.typemap', - ], - 'use_new_wrapper_types': 'false', - }, - 'includes': [ - '../mojo/mojom_bindings_generator.gypi', - ], - }, - { - # GN version: //net:net_browser_services - 'target_name': 'net_browser_services', - 'type': 'static_library', - 'sources': [ - 'dns/mojo_host_resolver_impl.cc', - 'dns/mojo_host_resolver_impl.h', - 'proxy/in_process_mojo_proxy_resolver_factory.cc', - 'proxy/in_process_mojo_proxy_resolver_factory.h', - 'proxy/mojo_proxy_resolver_factory.h', - 'proxy/proxy_resolver_factory_mojo.cc', - 'proxy/proxy_resolver_factory_mojo.h', - 'proxy/proxy_service_mojo.cc', - 'proxy/proxy_service_mojo.h', - ], - 'dependencies': [ - 'mojo_type_converters', - 'net', - 'net_interfaces', - '../mojo/mojo_base.gyp:mojo_common_lib', - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - - # NOTE(amistry): As long as we support in-process Mojo v8 PAC, we - # need this dependency since in_process_mojo_proxy_resolver_factory - # creates the utility process side Mojo services in the browser - # process. Ultimately, this will go away when we only support - # out-of-process. - 'net_utility_services', - ], - }, - { - # GN version: //net:net_utility_services - 'target_name': 'net_utility_services', - 'type': 'static_library', - 'sources': [ - 'dns/host_resolver_mojo.cc', - 'dns/host_resolver_mojo.h', - 'proxy/mojo_proxy_resolver_factory_impl.cc', - 'proxy/mojo_proxy_resolver_factory_impl.h', - 'proxy/mojo_proxy_resolver_impl.cc', - 'proxy/mojo_proxy_resolver_impl.h', - 'proxy/mojo_proxy_resolver_v8_tracing_bindings.h', - ], - 'dependencies': [ - 'mojo_type_converters', - 'net_interfaces', - 'net_with_v8', - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - ], - }, - { - # GN version: //net:mojo_type_converters - 'target_name': 'mojo_type_converters', - 'type': 'static_library', - 'sources': [ - 'dns/mojo_host_type_converters.cc', - 'dns/mojo_host_type_converters.h', - 'proxy/mojo_proxy_type_converters.cc', - 'proxy/mojo_proxy_type_converters.h', - ], - 'dependencies': [ - 'net', - 'net_interfaces', - '../mojo/mojo_public.gyp:mojo_cpp_bindings', - ], - }, - ], - }], - ['OS != "ios" and OS != "android"', { - 'targets': [ - # iOS doesn't have the concept of simple executables, these targets - # can't be compiled on the platform. - { - 'target_name': 'cert_verify_tool', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_test_support', - ], - 'sources': [ - 'tools/cert_verify_tool/cert_verify_tool.cc', - 'tools/cert_verify_tool/cert_verify_tool_util.cc', - 'tools/cert_verify_tool/cert_verify_tool_util.h', - 'tools/cert_verify_tool/verify_using_cert_verify_proc.cc', - 'tools/cert_verify_tool/verify_using_cert_verify_proc.h', - 'tools/cert_verify_tool/verify_using_path_builder.cc', - 'tools/cert_verify_tool/verify_using_path_builder.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'crash_cache', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_test_support', - ], - 'sources': [ - 'tools/crash_cache/crash_cache.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'crl_set_dump', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/crl_set_dump/crl_set_dump.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - # GN version: //net:dns_fuzz_stub - { - 'target_name': 'dns_fuzz_stub', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/dns_fuzz_stub/dns_fuzz_stub.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'gdig', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/gdig/file_net_log.cc', - 'tools/gdig/gdig.cc', - ], - }, - { - 'target_name': 'get_server_time', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../url/url.gyp:url_lib', - 'net', - ], - 'sources': [ - 'tools/get_server_time/get_server_time.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'hpack_example_generator', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'spdy/fuzzing/hpack_example_generator.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'hpack_fuzz_mutator', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'spdy/fuzzing/hpack_fuzz_mutator.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - # GN version: //net:hpack_fuzz_wrapper - { - 'target_name': 'hpack_fuzz_wrapper', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'spdy/fuzzing/hpack_fuzz_wrapper.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'net_watcher', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_with_v8', - ], - 'sources': [ - 'tools/net_watcher/net_watcher.cc', - ], - }, - { - 'target_name': 'run_testserver', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:test_support_base', - '../testing/gtest.gyp:gtest', - 'net_test_support', - ], - 'sources': [ - 'tools/testserver/run_testserver.cc', - ], - }, - { - 'target_name': 'quic_client', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../url/url.gyp:url_lib', - 'net', - 'simple_quic_tools', - ], - 'sources': [ - 'tools/quic/quic_simple_client_bin.cc', - ], - }, - { - 'target_name': 'quic_packet_printer', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_quic_proto', - 'simple_quic_tools', - ], - 'sources': [ - 'tools/quic/quic_packet_printer_bin.cc', - ], - }, - { - 'target_name': 'crypto_message_printer', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/quic/crypto_message_printer_bin.cc', - ], - }, - { - 'target_name': 'quic_server', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_quic_proto', - 'simple_quic_tools', - ], - 'sources': [ - 'tools/quic/quic_simple_server_bin.cc', - ], - }, - { - 'target_name': 'stress_cache', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_test_support', - ], - 'sources': [ - 'tools/stress_cache/stress_cache.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - { - 'target_name': 'tld_cleanup', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_i18n', - '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util', - ], - 'sources': [ - 'tools/tld_cleanup/tld_cleanup.cc', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - ], - }], - ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { - 'targets': [ - { - 'target_name': 'epoll_server', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/epoll_server/epoll_server.cc', - 'tools/epoll_server/epoll_server.h', - ], - }, - { - 'target_name': 'epoll_quic_tools', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../url/url.gyp:url_lib', - 'balsa', - 'epoll_server', - 'net', - 'net_quic_proto', - ], - 'sources': [ - 'tools/quic/quic_client.cc', - 'tools/quic/quic_client.h', - 'tools/quic/quic_default_packet_writer.cc', - 'tools/quic/quic_default_packet_writer.h', - 'tools/quic/quic_epoll_alarm_factory.cc', - 'tools/quic/quic_epoll_alarm_factory.h', - 'tools/quic/quic_epoll_clock.cc', - 'tools/quic/quic_epoll_clock.h', - 'tools/quic/quic_epoll_connection_helper.cc', - 'tools/quic/quic_epoll_connection_helper.h', - 'tools/quic/quic_packet_reader.cc', - 'tools/quic/quic_packet_reader.h', - 'tools/quic/quic_packet_writer_wrapper.cc', - 'tools/quic/quic_packet_writer_wrapper.h', - 'tools/quic/quic_server.cc', - 'tools/quic/quic_server.h', - 'tools/quic/quic_socket_utils.cc', - 'tools/quic/quic_socket_utils.h', - ], - }, - { - 'target_name': 'epoll_quic_client', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'epoll_quic_tools', - 'simple_quic_tools', - ], - 'sources': [ - 'tools/quic/quic_client_bin.cc', - ], - }, - { - 'target_name': 'epoll_quic_server', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_quic_proto', - 'epoll_quic_tools', - 'simple_quic_tools', - ], - 'sources': [ - 'tools/quic/quic_server_bin.cc', - ], - }, - ] - }], - ['OS=="android"', { - 'targets': [ - { - 'target_name': 'net_jni_headers', - 'type': 'none', - 'sources': [ - 'android/java/src/org/chromium/net/AndroidCellularSignalStrength.java', - 'android/java/src/org/chromium/net/AndroidCertVerifyResult.java', - 'android/java/src/org/chromium/net/AndroidKeyStore.java', - 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java', - 'android/java/src/org/chromium/net/AndroidTrafficStats.java', - 'android/java/src/org/chromium/net/GURLUtils.java', - 'android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java', - 'android/java/src/org/chromium/net/NetStringUtil.java', - 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', - 'android/java/src/org/chromium/net/ProxyChangeListener.java', - 'android/java/src/org/chromium/net/X509Util.java', - ], - 'variables': { - 'jni_gen_package': 'net', - }, - 'includes': [ '../build/jni_generator.gypi' ], - }, - { - 'target_name': 'net_test_jni_headers', - 'type': 'none', - 'sources': [ - 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java', - 'test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java', - 'test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java', - ], - 'variables': { - 'jni_gen_package': 'net/test', - }, - 'includes': [ '../build/jni_generator.gypi' ], - }, - { - 'target_name': 'net_java', - 'type': 'none', - 'variables': { - 'java_in_dir': '../net/android/java', - }, - 'dependencies': [ - '../base/base.gyp:base', - 'cellular_signal_strength_error_java', - 'cert_verify_status_android_java', - 'certificate_mime_types_java', - 'network_change_notifier_types_java', - 'network_change_notifier_android_types_java', - 'net_errors_java', - 'private_key_types_java', - 'traffic_stats_error_java', - ], - 'includes': [ '../build/java.gypi' ], - }, - { - 'target_name': 'embedded_test_server_aidl', - 'type': 'none', - 'variables': { - 'aidl_interface_file': '../net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerInterface.aidl', - }, - 'sources': [ - '../net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerImpl.aidl', - ], - 'includes': [ '../build/java_aidl.gypi' ], - }, - { - 'target_name': 'net_java_test_support', - 'type': 'none', - 'variables': { - 'java_in_dir': '../net/test/android/javatests', - # TODO(jbudorick): remove chromium_code: 0 line once crbug.com/488192 is fixed. - 'chromium_code': 0, - }, - 'dependencies': [ - 'embedded_test_server_aidl', - 'net_java', - 'url_request_failed_job_java', - '../base/base.gyp:base_java', - '../base/base.gyp:base_java_test_support', - '../third_party/android_tools/android_tools.gyp:legacy_http_javalib', - ], - 'includes': [ '../build/java.gypi' ], - }, - { - 'target_name': 'libnet_java_test_support', - 'type': 'shared_library', - 'dependencies': [ - 'net_test_support', - '../base/base.gyp:base', - ], - 'sources': [ - 'test/android/net_test_entry_point.cc', - 'test/android/net_test_jni_onload.cc', - 'test/android/net_test_jni_onload.h', - ], - }, - { - 'target_name': 'net_test_support_apk', - 'type': 'none', - 'dependencies': [ - 'net_java_test_support', - ], - 'variables': { - 'android_manifest_path': 'test/android/javatests/AndroidManifest.xml', - 'apk_name': 'ChromiumNetTestSupport', - 'is_test_apk': 1, - 'java_in_dir': 'test/android/javatests', - 'java_in_dir_suffix': '/src_dummy', - 'native_lib_target': 'libnet_java_test_support', - 'never_lint': 1, - }, - 'includes': [ - '../build/java_apk.gypi', - ], - }, - { - # Targets that need the net test support APK should depend on this - # target. It ensures that the APK is built without passing the - # classpath on to dependent targets. - 'target_name': 'require_net_test_support_apk', - 'type': 'none', - 'actions': [ - { - 'action_name': 'require_ChromiumNetTestSupport', - 'variables': { - 'required_file': '<(PRODUCT_DIR)/net_test_support_apk/ChromiumNetTestSupport.apk.required', - }, - 'inputs': [ - '<(PRODUCT_DIR)/apks/ChromiumNetTestSupport.apk', - ], - 'outputs': [ - '<(required_file)', - ], - 'action': [ - 'python', '../build/android/gyp/touch.py', '<(required_file)', - ], - }, - ], - }, - { - 'target_name': 'url_request_failed_job_java', - 'type': 'none', - 'variables': { - 'source_file': 'test/url_request/url_request_failed_job.h', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'net_javatests', - 'type': 'none', - 'variables': { - 'java_in_dir': '../net/android/javatests', - }, - 'dependencies': [ - '../base/base.gyp:base', - '../base/base.gyp:base_java_test_support', - 'net_java', - 'net_java_test_support', - ], - 'includes': [ '../build/java.gypi' ], - }, - { - 'target_name': 'net_errors_java', - 'type': 'none', - 'sources': [ - 'android/java/NetError.template', - ], - 'variables': { - 'package_name': 'org/chromium/net', - 'template_deps': ['base/net_error_list.h'], - }, - 'includes': [ '../build/android/java_cpp_template.gypi' ], - }, - { - 'target_name': 'cellular_signal_strength_error_java', - 'type': 'none', - 'variables': { - 'source_file': 'android/cellular_signal_strength.cc', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'certificate_mime_types_java', - 'type': 'none', - 'variables': { - 'source_file': 'base/mime_util.h', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'cert_verify_status_android_java', - 'type': 'none', - 'variables': { - 'source_file': 'android/cert_verify_result_android.h', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'network_change_notifier_types_java', - 'type': 'none', - 'variables': { - 'source_file': 'base/network_change_notifier.h', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'network_change_notifier_android_types_java', - 'type': 'none', - 'variables': { - 'source_file': 'android/network_change_notifier_android.cc', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'private_key_types_java', - 'type': 'none', - 'variables': { - 'source_file': 'android/keystore.h', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'traffic_stats_error_java', - 'type': 'none', - 'variables': { - 'source_file': 'android/traffic_stats.cc', - }, - 'includes': [ '../build/android/java_cpp_enum.gypi' ], - }, - { - 'target_name': 'net_unittests_apk', - 'type': 'none', - 'dependencies': [ - 'net_java', - 'net_javatests', - 'net_java_test_support', - 'net_unittests', - ], - 'conditions': [ - ['v8_use_external_startup_data==1', { - 'dependencies': [ - '../v8/src/v8.gyp:v8_external_snapshot', - ], - 'variables': { - 'dest_path': '<(asset_location)', - 'renaming_sources': [ - '<(PRODUCT_DIR)/natives_blob.bin', - '<(PRODUCT_DIR)/snapshot_blob.bin', - ], - 'renaming_destinations': [ - 'natives_blob_<(arch_suffix).bin', - 'snapshot_blob_<(arch_suffix).bin', - ], - 'clear': 1, - }, - 'includes': ['../build/android/copy_ex.gypi'], - }], - ], - 'variables': { - 'test_suite_name': 'net_unittests', - 'isolate_file': 'net_unittests.isolate', - 'android_manifest_path': 'android/unittest_support/AndroidManifest.xml', - 'resource_dir': 'android/unittest_support/res', - 'shard_timeout': 300, - 'conditions': [ - ['v8_use_external_startup_data==1', { - 'asset_location': '<(PRODUCT_DIR)/net_unittests_apk/assets', - 'additional_input_paths': [ - '<(PRODUCT_DIR)/net_unittests_apk/assets/natives_blob_<(arch_suffix).bin', - '<(PRODUCT_DIR)/net_unittests_apk/assets/snapshot_blob_<(arch_suffix).bin', - ], - }], - ], - }, - 'includes': [ - '../build/apk_test.gypi', - '../build/android/v8_external_startup_data_arch_suffix.gypi', - ], - }, - { - 'target_name': 'net_junit_tests', - 'type': 'none', - 'dependencies': [ - 'net_java', - '../base/base.gyp:base', - '../base/base.gyp:base_java_test_support', - '../base/base.gyp:base_junit_test_support', - '../testing/android/junit/junit_test.gyp:junit_test_support', - ], - 'variables': { - 'main_class': 'org.chromium.testing.local.JunitTestMain', - 'src_paths': [ - 'android/junit/', - ], - 'test_type': 'junit', - 'wrapper_script_name': 'helper/<(_target_name)', - }, - 'includes': [ - '../build/android/test_runner.gypi', - '../build/host_jar.gypi', - ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', - { - 'targets': [ - { - 'target_name': 'net_unittests_apk_run', - 'type': 'none', - 'dependencies': [ - 'net_unittests_apk', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'net_unittests_apk.isolate', - ], - }, - ] - } - ], - ], - }], - ['OS == "android" or OS == "linux"', { - 'targets': [ - { - 'target_name': 'disk_cache_memory_test', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'tools/disk_cache_memory_test/disk_cache_memory_test.cc', - ], - }, - ], - }], - ['OS == "linux" or OS == "mac"', { - 'targets': [ - { - 'target_name': 'cachetool', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'net', - 'net_test_support', - ], - 'sources': [ - 'tools/cachetool/cachetool.cc', - ], - }, - { - 'target_name': 'content_decoder_tool', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - '../url/url.gyp:url_lib', - 'net', - ], - 'sources': [ - 'filter/mock_filter_context.cc', - 'tools/content_decoder_tool/content_decoder_tool.cc', - ], - } - ], - }], - ['test_isolation_mode != "noop"', { - 'targets': [ - { - 'target_name': 'net_unittests_run', - 'type': 'none', - 'dependencies': [ - 'net_unittests', - ], - 'includes': [ - '../build/isolate.gypi', - ], - 'sources': [ - 'net_unittests.isolate', - ], - }, - ], - }], - ], -} diff --git a/net/net_common.gypi b/net/net_common.gypi deleted file mode 100644 index 014758adb1adb..0000000000000 --- a/net/net_common.gypi +++ /dev/null @@ -1,360 +0,0 @@ -# Copyright 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 target is included by 'net' target. - 'type': '<(component)', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '../base/base.gyp:base', - '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../crypto/crypto.gyp:crypto', - '../sdch/sdch.gyp:sdch', - '../third_party/boringssl/boringssl.gyp:boringssl', - '../third_party/protobuf/protobuf.gyp:protobuf_lite', - '../third_party/zlib/zlib.gyp:zlib', - '../url/url.gyp:url_url_features', - 'net_derived_sources', - 'net_quic_proto', - 'net_resources', - ], - 'sources': [ - '<@(net_nacl_common_sources)', - '<@(net_non_nacl_sources)', - ], - 'defines': [ - 'NET_IMPLEMENTATION', - ], - 'export_dependent_settings': [ - '../base/base.gyp:base', - '../third_party/boringssl/boringssl.gyp:boringssl', - ], - 'conditions': [ - ['chromeos==1', { - 'sources!': [ - 'base/network_change_notifier_linux.cc', - 'base/network_change_notifier_linux.h', - 'base/network_change_notifier_netlink_linux.cc', - 'base/network_change_notifier_netlink_linux.h', - 'proxy/proxy_config_service_linux.cc', - 'proxy/proxy_config_service_linux.h', - ], - }], - ['use_kerberos==1', { - 'defines': [ - 'USE_KERBEROS', - ], - 'conditions': [ - ['OS=="openbsd"', { - 'include_dirs': [ - '/usr/include/kerberosV' - ], - }], - ['linux_link_kerberos==1', { - 'link_settings': { - 'ldflags': [ - 'bool used in asserts. - '-Wstring-conversion', - ], - }, - 'sources': [ - # Note: file list duplicated in GN build. - 'ext/analysis_canvas.cc', - 'ext/benchmarking_canvas.cc', - 'ext/bitmap_platform_device_cairo.cc', - 'ext/bitmap_platform_device_mac.cc', - 'ext/bitmap_platform_device_skia.cc', - 'ext/bitmap_platform_device_win.cc', - 'ext/convolver.cc', - 'ext/event_tracer_impl.cc', - 'ext/fontmgr_default_win.cc', - 'ext/google_logging.cc', - 'ext/image_operations.cc', - 'ext/opacity_filter_canvas.cc', - 'ext/platform_canvas.cc', - 'ext/platform_device.cc', - 'ext/platform_device_linux.cc', - 'ext/platform_device_mac.cc', - 'ext/platform_device_win.cc', - 'ext/recursive_gaussian_convolution.cc', - 'ext/SkDiscardableMemory_chrome.cc', - 'ext/SkMemory_new_handler.cpp', - 'ext/skia_histogram.cc', - 'ext/skia_memory_dump_provider.cc', - 'ext/skia_trace_memory_dump_impl.cc', - 'ext/skia_utils_base.cc', - 'ext/skia_utils_ios.mm', - 'ext/skia_utils_mac.mm', - 'ext/skia_utils_win.cc', - ], - 'conditions': [ - [ 'OS == "ios"', { - 'sources!': [ - 'ext/platform_canvas.cc', - ], - }], - [ 'OS == "android" and ' - 'enable_basic_printing==0 and enable_print_preview==0', { - 'sources!': [ - 'ext/skia_utils_base.cc', - ], - }], - [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { - 'sources!': [ - 'ext/bitmap_platform_device_skia.cc', - ], - }], - [ 'OS != "ios" and target_arch != "arm" and target_arch != "mipsel" and \ - target_arch != "arm64" and target_arch != "mips64el"', { - 'sources': [ - 'ext/convolver_SSE2.cc', - ], - }], - [ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{ - 'sources': [ - 'ext/convolver_mips_dspr2.cc', - ], - }], - ], - - 'target_conditions': [ - # Pull in specific linux files for android (which have been filtered out - # by file name rules). - [ 'OS == "android"', { - 'sources/': [ - ['include', 'ext/platform_device_linux\\.cc$'], - ], - }], - ], -} diff --git a/skia/skia_common.gypi b/skia/skia_common.gypi deleted file mode 100644 index c57c5952e0ae4..0000000000000 --- a/skia/skia_common.gypi +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright 2013 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 gypi file handles the removal of platform-specific files from the -# Skia build. -{ - 'includes': [ - # chromium_skia_defines.gypi defines chromium_skia_defines - 'chromium_skia_defines.gypi', - - # skia_for_chromium_defines.gypi defines skia_for_chromium_defines - '../third_party/skia/gyp/skia_for_chromium_defines.gypi', - ], - - 'include_dirs': [ - '..', - 'config', - ], - - 'conditions': [ - [ 'OS != "android"', { - 'sources/': [ - ['exclude', '_android\\.(cc|cpp)$'], - ], - }], - [ 'OS != "ios"', { - 'sources/': [ - ['exclude', '_ios\\.(cc|cpp|mm?)$'], - ], - }], - [ 'OS == "ios"', { - 'defines': [ - # When targetting iOS and using gyp to generate the build files, it is - # not possible to select files to build depending on the architecture - # (i.e. it is not possible to use hand optimized assembly version). In - # that configuration, disable all optimisation. - 'SK_BUILD_FOR_IOS', - 'SK_BUILD_NO_OPTS', - ], - }], - [ 'OS != "mac"', { - 'sources/': [ - ['exclude', '_mac\\.(cc|cpp|mm?)$'], - ], - }], - [ 'OS == "mac"', { - 'defines': [ - 'SK_BUILD_FOR_MAC', - ], - }], - [ 'OS != "win"', { - 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], - }], - [ 'OS == "win"', { - 'defines': [ - # On windows, GDI handles are a scarse system-wide resource so we have to keep - # the glyph cache, which holds up to 4 GDI handles per entry, to a fairly small - # size. - # http://crbug.com/314387 - 'SK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256', - 'GR_GL_FUNCTION_TYPE=__stdcall', - ], - }], - [ 'desktop_linux == 0 and chromeos == 0', { - 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], - }], - [ 'use_cairo == 0', { - 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ], - }], - - #Settings for text blitting, chosen to approximate the system browser. - [ 'OS == "linux"', { - 'defines': [ - 'SK_GAMMA_EXPONENT=1.2', - 'SK_GAMMA_CONTRAST=0.2', - ], - }], - ['OS == "android"', { - 'defines': [ - 'SK_GAMMA_APPLY_TO_A8', - 'SK_GAMMA_EXPONENT=1.4', - 'SK_GAMMA_CONTRAST=0.0', - ], - }], - ['OS == "win"', { - 'defines': [ - 'SK_GAMMA_SRGB', - 'SK_GAMMA_CONTRAST=0.5', - ], - }], - ['OS == "mac"', { - 'defines': [ - 'SK_GAMMA_SRGB', - 'SK_GAMMA_CONTRAST=0.0', - ], - }], - - # Neon support. - [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 1', { - 'defines': [ - 'SK_ARM_HAS_NEON', - ], - }], - [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 0 and arm_neon_optional == 1', { - 'defines': [ - 'SK_ARM_HAS_OPTIONAL_NEON', - ], - }], - ], - - 'variables': { - 'variables': { - 'conditions': [ - ['OS== "ios"', { - 'skia_support_gpu': 0, - }, { - 'skia_support_gpu': 1, - }], - ['OS=="ios" or (enable_basic_printing==0 and enable_print_preview==0)', { - 'skia_support_pdf': 0, - }, { - 'skia_support_pdf': 1, - }], - ], - }, - 'skia_support_gpu': '<(skia_support_gpu)', - 'skia_support_pdf': '<(skia_support_pdf)', - - # These two set the paths so we can include skia/gyp/core.gypi - 'skia_src_path': '../third_party/skia/src', - 'skia_include_path': '../third_party/skia/include', - - # This list will contain all defines that also need to be exported to - # dependent components. - 'skia_export_defines': [ - 'SK_SUPPORT_GPU=<(skia_support_gpu)', - - # This variable contains additional defines, specified in the - # chromium_skia_defines.gypi file. - '<@(chromium_skia_defines)', - - # This variable contains additional defines, specified in skia's - # skia_for_chromium_defines.gypi file. - '<@(skia_for_chromium_defines)', - ], - - 'default_font_cache_limit%': '(20*1024*1024)', - - 'conditions': [ - ['OS== "android"', { - # Android devices are typically more memory constrained, so - # default to a smaller glyph cache (it may be overriden at runtime - # when the renderer starts up, depending on the actual device memory). - 'default_font_cache_limit': '(1*1024*1024)', - 'skia_export_defines': [ - 'SK_BUILD_FOR_ANDROID', - ], - }], - ], - }, - - 'defines': [ - '<@(skia_export_defines)', - - 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', - ], - - 'direct_dependent_settings': { - 'defines': [ - '<@(skia_export_defines)', - ], - }, - - # We would prefer this to be direct_dependent_settings, - # however we currently have no means to enforce that direct dependents - # re-export if they include Skia headers in their public headers. - 'all_dependent_settings': { - 'include_dirs': [ - '..', - 'config', - ], - }, - - 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], -} diff --git a/skia/skia_library.gypi b/skia/skia_library.gypi deleted file mode 100644 index 96263e07df97c..0000000000000 --- a/skia/skia_library.gypi +++ /dev/null @@ -1,314 +0,0 @@ -# Copyright 2013 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 gypi file contains the Skia library. -# In component mode (shared_lib) it is folded into a single shared library with -# the Chrome-specific enhancements but in all other cases it is a separate lib. - -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -# variables and defines should go in skia_common.gypi so they can be seen -# by files listed here and in skia_library_opts.gypi. -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -{ - 'dependencies': [ - 'skia_library_opts.gyp:skia_opts', - '../third_party/zlib/zlib.gyp:zlib', - ], - - 'includes': [ - '../third_party/skia/gyp/core.gypi', - '../third_party/skia/gyp/effects.gypi', - '../third_party/skia/gyp/pdf.gypi', - '../third_party/skia/gyp/utils.gypi', - ], - - 'sources': [ - '../third_party/skia/src/ports/SkImageEncoder_none.cpp', - - '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', - '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp', - '../third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp', - '../third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp', - - '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', - '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', - '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', - - '../third_party/skia/src/ports/SkImageGenerator_none.cpp', - - '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', - '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', - '../third_party/skia/src/ports/SkFontHost_mac.cpp', - '../third_party/skia/src/ports/SkFontHost_win.cpp', - "../third_party/skia/src/ports/SkFontMgr_android.cpp", - "../third_party/skia/src/ports/SkFontMgr_android_factory.cpp", - '../third_party/skia/src/ports/SkFontMgr_android_parser.cpp', - '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', - '../third_party/skia/src/ports/SkGlobalInitialization_default.cpp', - '../third_party/skia/src/ports/SkOSFile_posix.cpp', - '../third_party/skia/src/ports/SkOSFile_stdio.cpp', - '../third_party/skia/src/ports/SkOSFile_win.cpp', - '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', - '../third_party/skia/src/ports/SkTLS_pthread.cpp', - '../third_party/skia/src/ports/SkTLS_win.cpp', - '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', - - '../third_party/skia/src/sfnt/SkOTTable_name.cpp', - '../third_party/skia/src/sfnt/SkOTUtils.cpp', - ], - - # Exclude all unused files in skia utils.gypi file - 'sources!': [ - '../third_party/skia/src/utils/SkBoundaryPatch.cpp', - '../third_party/skia/src/utils/SkFrontBufferedStream.cpp', - '../third_party/skia/src/utils/SkCamera.cpp', - '../third_party/skia/src/utils/SkDumpCanvas.cpp', - '../third_party/skia/src/utils/SkInterpolator.cpp', - '../third_party/skia/src/utils/SkLayer.cpp', - '../third_party/skia/src/utils/SkMeshUtils.cpp', - '../third_party/skia/src/utils/SkOSFile.cpp', - '../third_party/skia/src/utils/SkParsePath.cpp', - -#windows - '../third_party/skia/src/utils/win/SkAutoCoInitialize.cpp', - '../third_party/skia/src/utils/win/SkIStream.cpp', - '../third_party/skia/src/utils/win/SkWGL_win.cpp', - -#testing - '../third_party/skia/src/fonts/SkGScalerContext.cpp', - ], - - 'include_dirs': [ - '../third_party/skia/include/c', - '../third_party/skia/include/core', - '../third_party/skia/include/client/android', - '../third_party/skia/include/effects', - '../third_party/skia/include/images', - '../third_party/skia/include/lazy', - '../third_party/skia/include/pathops', - '../third_party/skia/include/pdf', - '../third_party/skia/include/pipe', - '../third_party/skia/include/ports', - '../third_party/skia/include/private', - '../third_party/skia/include/utils', - '../third_party/skia/src/core', - '../third_party/skia/src/opts', - '../third_party/skia/src/image', - '../third_party/skia/src/pdf', - '../third_party/skia/src/ports', - '../third_party/skia/src/sfnt', - '../third_party/skia/src/utils', - '../third_party/skia/src/lazy', - ], - 'conditions': [ - ['skia_support_gpu != 0', { - 'includes': [ - '../third_party/skia/gyp/gpu.gypi', - ], - 'sources': [ - '<@(skgpu_null_gl_sources)', - '<@(skgpu_sources)', - ], - 'include_dirs': [ - '../third_party/skia/include/gpu', - '../third_party/skia/src/gpu', - ], - }], - ['skia_support_pdf == 0', { - 'sources/': [ - ['exclude', '../third_party/skia/src/doc/SkDocument_PDF.cpp'], - ['exclude', '../third_party/skia/src/pdf/'], - ], - }], - ['skia_support_pdf == 1', { - 'dependencies': [ - '../third_party/sfntly/sfntly.gyp:sfntly', - ], - }], - - [ 'OS == "win"', { - 'sources!': [ - # Keeping _win.cpp - "../third_party/skia/src/utils/SkThreadUtils_pthread.cpp", - ], - },{ - 'sources!': [ - # Keeping _pthread.cpp - "../third_party/skia/src/utils/SkThreadUtils_win.cpp", - ], - }], - - [ 'OS != "mac"', { - 'sources/': [ - ['exclude', '/mac/'] - ], - }], - [ 'OS == "android" and target_arch == "arm"', { - 'sources': [ - '../third_party/skia/src/core/SkUtilsArm.cpp', - ], - 'dependencies': [ - '../build/android/ndk.gyp:cpu_features', - ], - }], - [ 'desktop_linux == 1 or chromeos == 1', { - 'dependencies': [ - '../build/linux/system.gyp:fontconfig', - '../build/linux/system.gyp:freetype2', - '../third_party/expat/expat.gyp:expat', - '../third_party/icu/icu.gyp:icuuc', - ], - 'cflags': [ - '-Wno-unused', - '-Wno-unused-function', - ], - }], - [ 'use_cairo == 1 and use_pango == 1', { - 'dependencies': [ - '../build/linux/system.gyp:pangocairo', - ], - }], - [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { - 'sources!': [ - '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', - '../third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp', - '../third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp', - '../third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp', - ], - }], - [ 'OS=="win" or OS=="mac" or OS=="ios"', { - 'sources!': [ - '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', - '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', - - ], - }], - [ 'OS == "android"', { - 'dependencies': [ - '../third_party/expat/expat.gyp:expat', - '../third_party/freetype-android/freetype.gyp:ft2', - ], - # This exports a hard dependency because it needs to run its - # symlink action in order to expose the skia header files. - 'hard_dependency': 1, - 'include_dirs': [ - '../third_party/expat/files/lib', - ], - },{ # not 'OS == "android"' - 'sources!': [ - "../third_party/skia/src/ports/SkFontMgr_android_factory.cpp", - '../third_party/skia/src/ports/SkFontMgr_android_parser.cpp', - ], - }], - [ 'OS == "ios"', { - 'include_dirs': [ - '../third_party/skia/include/utils/ios', - '../third_party/skia/include/utils/mac', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', - ], - }, - 'sources': [ - # This file is used on both iOS and Mac, so it should be removed - # from the ios and mac conditions and moved into the main sources - # list. - '../third_party/skia/src/utils/mac/SkStream_mac.cpp', - ], - - # The main skia_opts target does not currently work on iOS because the - # target architecture on iOS is determined at compile time rather than - # gyp time (simulator builds are x86, device builds are arm). As a - # temporary measure, this is a separate opts target for iOS-only, using - # the _none.cpp files to avoid architecture-dependent implementations. - 'dependencies': [ - 'skia_library_opts.gyp:skia_opts_none', - ], - 'dependencies!': [ - 'skia_library_opts.gyp:skia_opts', - ], - }], - [ 'OS == "mac"', { - 'direct_dependent_settings': { - 'include_dirs': [ - '../third_party/skia/include/utils/mac', - ], - }, - 'include_dirs': [ - '../third_party/skia/include/utils/mac', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', - ], - }, - 'sources': [ - '../third_party/skia/src/utils/mac/SkStream_mac.cpp', - ], - }], - [ 'OS == "win"', { - 'sources!': [ - '../third_party/skia/src/ports/SkOSFile_posix.cpp', - '../third_party/skia/src/ports/SkTLS_pthread.cpp', - ], - 'include_dirs': [ - '../third_party/skia/include/utils/win', - '../third_party/skia/src/utils/win', - ], - },{ # not 'OS == "win"' - 'sources!': [ - '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', - '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', - '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', - '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', - - '../third_party/skia/src/utils/win/SkDWrite.cpp', - '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', - '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', - '../third_party/skia/src/utils/win/SkHRESULT.cpp', - ], - }], - ], - 'target_conditions': [ - # Pull in specific Mac files for iOS (which have been filtered out - # by file name rules). - [ 'OS == "ios"', { - 'sources/': [ - ['include', 'SkFontHost_mac\\.cpp$',], - ['include', 'SkStream_mac\\.cpp$',], - ['include', 'SkCreateCGImageRef\\.cpp$',], - ], - 'xcode_settings' : { - 'WARNING_CFLAGS': [ - # SkFontHost_mac.cpp uses API deprecated in iOS 7, crbug.com/408571 - '-Wno-deprecated-declarations', - ], - }, - }], - # Add the files for the SkFontMgr_Android. This is used to emulate android - # fonts on linux. See content/zygote/zygote_main_linux.cc - [ 'OS == "linux"', { - 'sources/': [ - ['include', 'SkFontMgr_android\\.cpp$',], - ['include', 'SkFontMgr_android_parser\\.cpp$',], - ], - }], - ], - - 'direct_dependent_settings': { - 'include_dirs': [ - '../third_party/skia/include/core', - '../third_party/skia/include/effects', - '../third_party/skia/include/pdf', - '../third_party/skia/include/gpu', - '../third_party/skia/include/lazy', - '../third_party/skia/include/pathops', - '../third_party/skia/include/pipe', - '../third_party/skia/include/ports', - '../third_party/skia/include/utils', - ], - }, -} diff --git a/storage/storage_browser.gyp b/storage/storage_browser.gyp deleted file mode 100644 index f088ac1c7ee3d..0000000000000 --- a/storage/storage_browser.gyp +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //storage/browser - 'target_name': 'storage', - 'type': '<(component)', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/base/base.gyp:base_i18n', - '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '<(DEPTH)/net/net.gyp:net', - '<(DEPTH)/sql/sql.gyp:sql', - '<(DEPTH)/storage/storage_common.gyp:storage_common', - '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', - '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', - '<(DEPTH)/url/url.gyp:url_lib', - ], - 'defines': ['STORAGE_BROWSER_IMPLEMENTATION'], - 'sources': [ - 'browser/blob/blob_async_builder_host.cc', - 'browser/blob/blob_async_builder_host.h', - 'browser/blob/blob_async_transport_request_builder.cc', - 'browser/blob/blob_async_transport_request_builder.h', - 'browser/blob/blob_data_builder.cc', - 'browser/blob/blob_data_builder.h', - 'browser/blob/blob_data_handle.cc', - 'browser/blob/blob_data_handle.h', - 'browser/blob/blob_data_item.cc', - 'browser/blob/blob_data_item.h', - 'browser/blob/blob_data_snapshot.cc', - 'browser/blob/blob_data_snapshot.h', - 'browser/blob/blob_reader.cc', - 'browser/blob/blob_reader.h', - 'browser/blob/blob_storage_context.cc', - 'browser/blob/blob_storage_context.h', - 'browser/blob/blob_storage_registry.cc', - 'browser/blob/blob_storage_registry.h', - 'browser/blob/blob_url_request_job.cc', - 'browser/blob/blob_url_request_job.h', - 'browser/blob/blob_url_request_job_factory.cc', - 'browser/blob/blob_url_request_job_factory.h', - 'browser/blob/internal_blob_data.cc', - 'browser/blob/internal_blob_data.h', - 'browser/blob/scoped_file.cc', - 'browser/blob/scoped_file.h', - 'browser/blob/shareable_blob_data_item.cc', - 'browser/blob/shareable_blob_data_item.h', - 'browser/blob/shareable_file_reference.cc', - 'browser/blob/shareable_file_reference.h', - 'browser/blob/upload_blob_element_reader.h', - 'browser/blob/upload_blob_element_reader.cc', - 'browser/blob/view_blob_internals_job.h', - 'browser/blob/view_blob_internals_job.cc', - 'browser/blob/view_blob_internals_job.h', - 'browser/database/database_quota_client.cc', - 'browser/database/database_quota_client.h', - 'browser/database/database_tracker.cc', - 'browser/database/database_tracker.h', - 'browser/database/database_util.cc', - 'browser/database/database_util.h', - 'browser/database/databases_table.cc', - 'browser/database/databases_table.h', - 'browser/database/vfs_backend.cc', - 'browser/database/vfs_backend.h', - 'browser/fileapi/async_file_util.h', - 'browser/fileapi/async_file_util_adapter.cc', - 'browser/fileapi/async_file_util_adapter.h', - 'browser/fileapi/copy_or_move_file_validator.h', - 'browser/fileapi/copy_or_move_operation_delegate.cc', - 'browser/fileapi/copy_or_move_operation_delegate.h', - 'browser/fileapi/dragged_file_util.cc', - 'browser/fileapi/dragged_file_util.h', - 'browser/fileapi/external_mount_points.cc', - 'browser/fileapi/external_mount_points.h', - 'browser/fileapi/file_observers.h', - 'browser/fileapi/file_permission_policy.h', - 'browser/fileapi/file_stream_reader.cc', - 'browser/fileapi/file_stream_reader.h', - 'browser/fileapi/file_stream_writer.h', - 'browser/fileapi/file_system_backend.h', - 'browser/fileapi/file_system_context.cc', - 'browser/fileapi/file_system_context.h', - 'browser/fileapi/file_system_dir_url_request_job.cc', - 'browser/fileapi/file_system_dir_url_request_job.h', - 'browser/fileapi/file_system_file_stream_reader.cc', - 'browser/fileapi/file_system_file_stream_reader.h', - 'browser/fileapi/file_system_file_util.cc', - 'browser/fileapi/file_system_file_util.h', - 'browser/fileapi/file_system_operation.h', - 'browser/fileapi/file_system_operation_context.cc', - 'browser/fileapi/file_system_operation_context.h', - 'browser/fileapi/file_system_operation_impl.cc', - 'browser/fileapi/file_system_operation_impl.h', - 'browser/fileapi/file_system_operation_runner.cc', - 'browser/fileapi/file_system_operation_runner.h', - 'browser/fileapi/file_system_options.cc', - 'browser/fileapi/file_system_options.h', - 'browser/fileapi/file_system_quota_client.cc', - 'browser/fileapi/file_system_quota_client.h', - 'browser/fileapi/file_system_quota_util.h', - 'browser/fileapi/file_system_url.cc', - 'browser/fileapi/file_system_url.h', - 'browser/fileapi/file_system_url_request_job.cc', - 'browser/fileapi/file_system_url_request_job.h', - 'browser/fileapi/file_system_url_request_job_factory.cc', - 'browser/fileapi/file_system_url_request_job_factory.h', - 'browser/fileapi/file_system_usage_cache.cc', - 'browser/fileapi/file_system_usage_cache.h', - 'browser/fileapi/file_writer_delegate.cc', - 'browser/fileapi/file_writer_delegate.h', - 'browser/fileapi/isolated_context.cc', - 'browser/fileapi/isolated_context.h', - 'browser/fileapi/isolated_file_system_backend.cc', - 'browser/fileapi/isolated_file_system_backend.h', - 'browser/fileapi/local_file_stream_reader.cc', - 'browser/fileapi/local_file_stream_reader.h', - 'browser/fileapi/local_file_stream_writer.cc', - 'browser/fileapi/local_file_stream_writer.h', - 'browser/fileapi/local_file_util.cc', - 'browser/fileapi/local_file_util.h', - 'browser/fileapi/mount_points.cc', - 'browser/fileapi/mount_points.h', - 'browser/fileapi/native_file_util.cc', - 'browser/fileapi/native_file_util.h', - 'browser/fileapi/obfuscated_file_util.cc', - 'browser/fileapi/obfuscated_file_util.h', - 'browser/fileapi/open_file_system_mode.h', - 'browser/fileapi/plugin_private_file_system_backend.cc', - 'browser/fileapi/plugin_private_file_system_backend.h', - 'browser/fileapi/quota/open_file_handle.cc', - 'browser/fileapi/quota/open_file_handle.h', - 'browser/fileapi/quota/open_file_handle_context.cc', - 'browser/fileapi/quota/open_file_handle_context.h', - 'browser/fileapi/quota/quota_backend_impl.cc', - 'browser/fileapi/quota/quota_backend_impl.h', - 'browser/fileapi/quota/quota_reservation.cc', - 'browser/fileapi/quota/quota_reservation.h', - 'browser/fileapi/quota/quota_reservation_buffer.cc', - 'browser/fileapi/quota/quota_reservation_buffer.h', - 'browser/fileapi/quota/quota_reservation_manager.cc', - 'browser/fileapi/quota/quota_reservation_manager.h', - 'browser/fileapi/recursive_operation_delegate.cc', - 'browser/fileapi/recursive_operation_delegate.h', - 'browser/fileapi/remove_operation_delegate.cc', - 'browser/fileapi/remove_operation_delegate.h', - 'browser/fileapi/sandbox_directory_database.cc', - 'browser/fileapi/sandbox_directory_database.h', - 'browser/fileapi/sandbox_file_stream_writer.cc', - 'browser/fileapi/sandbox_file_stream_writer.h', - 'browser/fileapi/sandbox_file_system_backend.cc', - 'browser/fileapi/sandbox_file_system_backend.h', - 'browser/fileapi/sandbox_file_system_backend_delegate.cc', - 'browser/fileapi/sandbox_file_system_backend_delegate.h', - 'browser/fileapi/sandbox_isolated_origin_database.cc', - 'browser/fileapi/sandbox_isolated_origin_database.h', - 'browser/fileapi/sandbox_origin_database.cc', - 'browser/fileapi/sandbox_origin_database.h', - 'browser/fileapi/sandbox_origin_database_interface.cc', - 'browser/fileapi/sandbox_origin_database_interface.h', - 'browser/fileapi/sandbox_prioritized_origin_database.cc', - 'browser/fileapi/sandbox_prioritized_origin_database.h', - 'browser/fileapi/sandbox_quota_observer.cc', - 'browser/fileapi/sandbox_quota_observer.h', - 'browser/fileapi/task_runner_bound_observer_list.h', - 'browser/fileapi/timed_task_helper.cc', - 'browser/fileapi/timed_task_helper.h', - 'browser/fileapi/transient_file_util.cc', - 'browser/fileapi/transient_file_util.h', - 'browser/quota/client_usage_tracker.cc', - 'browser/quota/client_usage_tracker.h', - 'browser/quota/quota_callbacks.h', - 'browser/quota/quota_client.h', - 'browser/quota/quota_database.cc', - 'browser/quota/quota_database.h', - 'browser/quota/quota_manager.cc', - 'browser/quota/quota_manager.h', - 'browser/quota/quota_manager_proxy.cc', - 'browser/quota/quota_manager_proxy.h', - 'browser/quota/quota_task.cc', - 'browser/quota/quota_task.h', - 'browser/quota/quota_temporary_storage_evictor.cc', - 'browser/quota/quota_temporary_storage_evictor.h', - 'browser/quota/special_storage_policy.cc', - 'browser/quota/special_storage_policy.h', - 'browser/quota/storage_monitor.cc', - 'browser/quota/storage_monitor.h', - 'browser/quota/storage_observer.cc', - 'browser/quota/storage_observer.h', - 'browser/quota/usage_tracker.cc', - 'browser/quota/usage_tracker.h', - 'browser/storage_browser_export.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267, ], - - 'conditions': [ - ['chrome_multiple_dll!=1', { - 'dependencies': [ - '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', - ], - }], - ], - }, - { - # GN version: //storage/browser:dump_file_system - 'target_name': 'dump_file_system', - 'type': 'executable', - 'sources': [ - 'browser/fileapi/dump_file_system.cc', - ], - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/storage/storage_common.gyp:storage_common', - 'storage', - ], - }, - ], -} diff --git a/storage/storage_common.gyp b/storage/storage_common.gyp deleted file mode 100644 index 305a61258e171..0000000000000 --- a/storage/storage_common.gyp +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - # GN version: //storage/common - 'target_name': 'storage_common', - 'type': '<(component)', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '<(DEPTH)/net/net.gyp:net', - '<(DEPTH)/url/url.gyp:url_lib', - ], - 'defines': ['STORAGE_COMMON_IMPLEMENTATION'], - 'sources': [ - 'common/blob_storage/blob_item_bytes_request.cc', - 'common/blob_storage/blob_item_bytes_request.h', - 'common/blob_storage/blob_item_bytes_response.cc', - 'common/blob_storage/blob_item_bytes_response.h', - 'common/blob_storage/blob_storage_constants.h', - 'common/data_element.cc', - 'common/data_element.h', - 'common/database/database_connections.cc', - 'common/database/database_connections.h', - 'common/database/database_identifier.cc', - 'common/database/database_identifier.h', - 'common/fileapi/directory_entry.cc', - 'common/fileapi/directory_entry.h', - 'common/fileapi/file_system_info.cc', - 'common/fileapi/file_system_info.h', - 'common/fileapi/file_system_mount_option.h', - 'common/fileapi/file_system_types.h', - 'common/fileapi/file_system_util.cc', - 'common/fileapi/file_system_util.h', - 'common/quota/quota_status_code.cc', - 'common/quota/quota_status_code.h', - 'common/quota/quota_types.h', - 'common/storage_common_export.h', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267, ], - }, - ], -} diff --git a/testing/android/appurify_support.gyp b/testing/android/appurify_support.gyp deleted file mode 100644 index 2904368e72deb..0000000000000 --- a/testing/android/appurify_support.gyp +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 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. - -{ - 'conditions': [ - ['OS=="android"', { - 'targets': [ - { - 'target_name': 'appurify_support_java', - 'type': 'none', - 'variables': { - 'java_in_dir': '../../testing/android/appurify_support/java', - }, - 'includes': [ - '../../build/java.gypi', - ], - }, - ], - }], - ], -} diff --git a/testing/android/junit/junit_test.gyp b/testing/android/junit/junit_test.gyp deleted file mode 100644 index 6b9ab7a6eb757..0000000000000 --- a/testing/android/junit/junit_test.gyp +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - # GN: //testing/android/junit:junit_test_support - 'target_name': 'junit_test_support', - 'type': 'none', - 'dependencies': [ - '../../../third_party/junit/junit.gyp:junit_jar', - '../../../third_party/mockito/mockito.gyp:mockito_jar', - '../../../third_party/robolectric/robolectric.gyp:robolectric_jar' - ], - 'variables': { - 'src_paths': [ - 'java/src', - ], - }, - 'includes': [ - '../../../build/host_jar.gypi', - ], - }, - { - # GN: //testing/android/junit:junit_unittests - 'target_name': 'junit_unit_tests', - 'type': 'none', - 'dependencies': [ - 'junit_test_support', - ], - 'variables': { - 'main_class': 'org.chromium.testing.local.JunitTestMain', - 'src_paths': [ - 'javatests/src', - ], - 'wrapper_script_name': 'helper/<(_target_name)', - }, - 'includes': [ - '../../../build/host_jar.gypi', - ], - }, - ], -} diff --git a/testing/android/native_test.gyp b/testing/android/native_test.gyp deleted file mode 100644 index 2018ad64806f2..0000000000000 --- a/testing/android/native_test.gyp +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'conditions': [ - ['OS=="android"', { - 'targets': [ - { - # GN: //testing/android:native_test_jni_headers - 'target_name': 'native_test_jni_headers', - 'type': 'none', - 'sources': [ - 'native_test/java/src/org/chromium/native_test/NativeTest.java' - ], - 'variables': { - 'jni_gen_package': 'testing', - }, - 'includes': [ '../../build/jni_generator.gypi' ], - }, - { - # GN: //testing/android:native_test_support - 'target_name': 'native_test_support', - 'message': 'building native pieces of native test package', - 'type': 'static_library', - 'sources': [ - 'native_test/native_test_launcher.cc', - 'native_test/native_test_launcher.h', - 'native_test/native_test_util.cc', - 'native_test/native_test_util.h', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:test_support_base', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../gtest.gyp:gtest', - 'native_test_jni_headers', - ], - }, - { - # GN: //testing/android/native_test:native_test_native_code - 'target_name': 'native_test_native_code', - 'message': 'building JNI onload for native test package', - 'type': 'static_library', - 'sources': [ - 'native_test/native_test_jni_onload.cc', - ], - 'dependencies': [ - 'native_test_support', - '../../base/base.gyp:base', - ], - }, - { - # GN: //testing/android/native_test:native_test_java - 'target_name': 'native_test_java', - 'type': 'none', - 'dependencies': [ - 'appurify_support.gyp:appurify_support_java', - 'on_device_instrumentation.gyp:reporter_java', - '../../base/base.gyp:base_native_libraries_gen', - '../../base/base.gyp:base_java', - '../../base/base.gyp:base_java_test_support', - ], - 'variables': { - 'chromium_code': '1', - 'jar_excluded_classes': [ '*/NativeLibraries.class' ], - 'java_in_dir': 'native_test/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], - }] - ], -} diff --git a/testing/android/on_device_instrumentation.gyp b/testing/android/on_device_instrumentation.gyp deleted file mode 100644 index 082855999acd7..0000000000000 --- a/testing/android/on_device_instrumentation.gyp +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 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. - -{ - 'conditions': [ - ['OS=="android"', { - 'variables' : { - 'driver_apk_name': 'OnDeviceInstrumentationDriver', - 'driver_apk_path': '<(PRODUCT_DIR)/apks/<(driver_apk_name).apk' - }, - 'targets': [ - { - 'target_name': 'reporter_java', - 'type': 'none', - 'dependencies': ['../../base/base.gyp:base_java'], - 'variables': { - 'java_in_dir': '../../testing/android/reporter/java', - }, - 'includes': [ - '../../build/java.gypi', - ], - }, - { - 'target_name': 'broker_java', - 'type': 'none', - 'variables': { - 'java_in_dir': '../../testing/android/broker/java', - }, - 'includes': [ - '../../build/java.gypi', - ], - }, - { - 'target_name': 'driver_apk', - 'type': 'none', - 'dependencies': [ - 'broker_java', - 'reporter_java', - 'appurify_support.gyp:appurify_support_java', - '../../base/base.gyp:base_java_test_support', - ], - 'variables': { - 'apk_name': '<(driver_apk_name)', - 'final_apk_path': '<(driver_apk_path)', - 'java_in_dir': '../../testing/android/driver/java', - }, - 'includes': [ - '../../build/java_apk.gypi', - ], - }, - { - # This emulates gn's datadeps fields, allowing other APKs to declare - # that they require that this APK be built without including the - # driver's code. - 'target_name': 'require_driver_apk', - 'type': 'none', - 'actions': [ - { - 'action_name': 'require_<(driver_apk_name)', - 'message': 'Making sure <(driver_apk_path) has been built.', - 'variables': { - 'required_file': '<(PRODUCT_DIR)/driver_apk/<(driver_apk_name).apk.required', - }, - 'inputs': [ - '<(driver_apk_path)', - ], - 'outputs': [ - '<(required_file)', - ], - 'action': [ - 'python', '../../build/android/gyp/touch.py', '<(required_file)', - ], - }, - ], - }, - ], - }], - ], -} diff --git a/testing/chromoting/dependencies.gypi b/testing/chromoting/dependencies.gypi deleted file mode 100644 index e0180b83cbdd2..0000000000000 --- a/testing/chromoting/dependencies.gypi +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 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 is meant to be included by chromoting's integration_tests. - -{ - 'dependencies': [ - '../../chrome/chrome.gyp:browser_tests', - '../../remoting/remoting.gyp:remoting_webapp', - ], - 'type': 'none', - 'includes': [ - '../../build/isolate.gypi', - ], - 'conditions': [ - ['OS=="linux"', { - 'dependencies': [ - '../../remoting/remoting.gyp:chromoting_test_driver', - '../../remoting/remoting.gyp:remoting_me2me_host_archive', - ], - }], # OS=="linux" - ], -} diff --git a/testing/chromoting/integration_tests.gyp b/testing/chromoting/integration_tests.gyp deleted file mode 100644 index 3a9ad53316706..0000000000000 --- a/testing/chromoting/integration_tests.gyp +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright (c) 2014 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. - -{ - 'variables': { - 'run_multi_machine_tests%': '0', - }, - - 'conditions': [ - ['archive_chromoting_tests==1', { - 'conditions': [ - ['OS=="linux"', { - 'targets': [ - { - 'target_name': 'chromoting_integration_tests_run', - 'includes': [ - './dependencies.gypi', - ], - 'sources': [ - 'chromoting_integration_tests.isolate', - ], - }, # target_name: 'chromoting_integration_tests_run' - ], - }], - ['run_multi_machine_tests==1', { - 'targets': [ - { - 'target_name': 'chromoting_multi_machine_example_test', - 'includes': [ - './dependencies.gypi', - ], - 'sources': [ - 'multi_machine_example/example_test_controller.isolate', - 'multi_machine_example/example_task.isolate', - ], - }, # target_name: 'chromoting_multi_machine_example_test' - ], - }], - ], - 'targets': [ - { - 'target_name': 'chromoting_browser_tests_run', - 'includes': [ - './dependencies.gypi', - ], - 'sources': [ - 'chromoting_browser_tests.isolate', - ], - 'conditions': [ - ['OS=="linux"', { - 'actions': [ - { - 'action_name': 'download_test_files', - 'variables': { - 'dl_files_script': './download_test_files.py', - 'files_list': './chromoting_test_files.txt', - 'output_folder': './', - }, - 'inputs': [ - '<(files_list)', - ], - 'outputs': [ - '<(output_folder)', - ], - 'action': [ - 'python', - '<(dl_files_script)', - '--files', - '<(files_list)', - '--output_folder', - '<(output_folder)', - ], - 'message': 'Downloading required Remoting test files.', - }, - ], - }], - ], - }, # target_name: 'chromoting_browser_integration_tests_run' - ], - }], - ], -} diff --git a/testing/gmock.gyp b/testing/gmock.gyp deleted file mode 100644 index 6ef25665da333..0000000000000 --- a/testing/gmock.gyp +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright (c) 2009 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. - -{ - 'targets': [ - { - 'target_name': 'gmock', - 'type': 'static_library', - 'dependencies': [ - 'gtest.gyp:gtest', - ], - 'sources': [ - # Sources based on files in r173 of gmock. - 'gmock/include/gmock/gmock-actions.h', - 'gmock/include/gmock/gmock-cardinalities.h', - 'gmock/include/gmock/gmock-generated-actions.h', - 'gmock/include/gmock/gmock-generated-function-mockers.h', - 'gmock/include/gmock/gmock-generated-matchers.h', - 'gmock/include/gmock/gmock-generated-nice-strict.h', - 'gmock/include/gmock/gmock-matchers.h', - 'gmock/include/gmock/gmock-spec-builders.h', - 'gmock/include/gmock/gmock.h', - 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', - 'gmock/include/gmock/internal/gmock-internal-utils.h', - 'gmock/include/gmock/internal/gmock-port.h', - 'gmock/src/gmock-all.cc', - 'gmock/src/gmock-cardinalities.cc', - 'gmock/src/gmock-internal-utils.cc', - 'gmock/src/gmock-matchers.cc', - 'gmock/src/gmock-spec-builders.cc', - 'gmock/src/gmock.cc', - 'gmock_mutant.h', # gMock helpers - ], - 'sources!': [ - 'gmock/src/gmock-all.cc', # Not needed by our build. - ], - 'include_dirs': [ - 'gmock_custom', - 'gmock/include', - ], - 'all_dependent_settings': { - 'include_dirs': [ - 'gmock_custom', - 'gmock/include', # So that gmock headers can find themselves. - ], - }, - 'export_dependent_settings': [ - 'gtest.gyp:gtest', - ], - 'conditions': [ - ['OS == "ios"', { - 'toolsets': ['host', 'target'], - }], - ], - }, - { - 'target_name': 'gmock_main', - 'type': 'static_library', - 'dependencies': [ - 'gmock', - ], - 'sources': [ - 'gmock/src/gmock_main.cc', - ], - }, - ], -} diff --git a/testing/gtest.gyp b/testing/gtest.gyp deleted file mode 100644 index e248bc1ba903d..0000000000000 --- a/testing/gtest.gyp +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'includes': [ - 'gtest.gypi', - ], - 'targets': [ - { - 'target_name': 'gtest', - 'toolsets': ['host', 'target'], - 'type': 'static_library', - 'sources': [ - '<@(gtest_sources)', - ], - 'include_dirs': [ - 'gtest', - 'gtest/include', - ], - 'dependencies': [ - 'gtest_prod', - ], - 'defines': [ - # In order to allow regex matches in gtest to be shared between Windows - # and other systems, we tell gtest to always use it's internal engine. - 'GTEST_HAS_POSIX_RE=0', - ], - 'all_dependent_settings': { - 'include_dirs': [ - 'gtest/include', - ], - 'defines': [ - 'GTEST_HAS_POSIX_RE=0', - 'GTEST_LANG_CXX11=1', - ], - }, - 'conditions': [ - ['OS == "mac" or OS == "ios"', { - 'sources': [ - 'gtest_mac.h', - 'gtest_mac.mm', - 'platform_test_mac.mm', - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', - ], - }, - }], - ['OS == "ios"', { - 'dependencies' : [ - '<(DEPTH)/testing/iossim/iossim.gyp:iossim#host', - ], - 'direct_dependent_settings': { - 'target_conditions': [ - # Turn all tests into bundles on iOS because that's the only - # type of executable supported for iOS. - ['_type=="executable"', { - 'variables': { - # Use a variable so the path gets fixed up so it is always - # correct when INFOPLIST_FILE finally gets set. - 'ios_unittest_info_plist_path': - '<(DEPTH)/testing/gtest_ios/unittest-Info.plist', - }, - 'mac_bundle': 1, - 'xcode_settings': { - 'BUNDLE_ID_TEST_NAME': '>(_target_name)', - 'INFOPLIST_FILE': '>(ios_unittest_info_plist_path)', - }, - 'mac_bundle_resources': [ - '<(ios_unittest_info_plist_path)', - '<(DEPTH)/testing/gtest_ios/Default.png', - ], - 'mac_bundle_resources!': [ - '<(ios_unittest_info_plist_path)', - ], - }], - ], - }, - 'sources': [ - 'coverage_util_ios.cc', - 'coverage_util_ios.h', - ], - }], - ['OS=="ios" and asan==1', { - 'direct_dependent_settings': { - 'target_conditions': [ - # Package the ASan runtime dylib into the test app bundles. - ['_type=="executable"', { - 'postbuilds': [ - { - 'variables': { - # Define copy_asan_dylib_path in a variable ending in - # _path so that gyp understands it's a path and - # performs proper relativization during dict merging. - 'copy_asan_dylib_path': - '<(DEPTH)/build/mac/copy_asan_runtime_dylib.sh', - }, - 'postbuild_name': 'Copy ASan runtime dylib', - 'action': [ - '>(copy_asan_dylib_path)', - ], - }, - ], - }], - ], - }, - }], - ['OS=="android" and android_app_abi=="x86"', { - 'defines': [ - 'GTEST_HAS_CLONE=0', - ], - 'direct_dependent_settings': { - 'defines': [ - 'GTEST_HAS_CLONE=0', - ], - }, - }], - ], - 'direct_dependent_settings': { - 'defines': [ - 'UNIT_TEST', - ], - 'target_conditions': [ - ['_type=="executable"', { - 'test': 1, - 'conditions': [ - ['OS=="mac"', { - 'run_as': { - 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], - }, - }], - ['OS=="ios"', { - 'variables': { - # Use a variable so the path gets fixed up so it is always - # correct when the action finally gets used. - 'ios_run_unittest_script_path': - '<(DEPTH)/testing/gtest_ios/run-unittest.sh', - }, - 'run_as': { - 'action????': ['>(ios_run_unittest_script_path)'], - }, - }], - ['OS=="win"', { - 'run_as': { - 'action????': ['$(TargetPath)', '--gtest_print_time'], - }, - }], - ], - }], - ], - 'msvs_disabled_warnings': [4800], - }, - }, - { - 'target_name': 'gtest_main', - 'type': 'static_library', - 'dependencies': [ - 'gtest', - ], - 'sources': [ - 'gtest/src/gtest_main.cc', - ], - }, - { - 'target_name': 'gtest_prod', - 'toolsets': ['host', 'target'], - 'type': 'none', - 'sources': [ - 'gtest/include/gtest/gtest_prod.h', - ], - }, - ], -} diff --git a/testing/gtest.gypi b/testing/gtest.gypi deleted file mode 100644 index ca12e1b1ee1a4..0000000000000 --- a/testing/gtest.gypi +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'gtest_sources': [ - 'gtest/include/gtest/gtest-death-test.h', - 'gtest/include/gtest/gtest-message.h', - 'gtest/include/gtest/gtest-param-test.h', - 'gtest/include/gtest/gtest-printers.h', - 'gtest/include/gtest/gtest-spi.h', - 'gtest/include/gtest/gtest-test-part.h', - 'gtest/include/gtest/gtest-typed-test.h', - 'gtest/include/gtest/gtest.h', - 'gtest/include/gtest/gtest_pred_impl.h', - 'gtest/include/gtest/gtest_prod.h', - 'gtest/include/gtest/internal/gtest-death-test-internal.h', - 'gtest/include/gtest/internal/gtest-filepath.h', - 'gtest/include/gtest/internal/gtest-internal.h', - 'gtest/include/gtest/internal/gtest-linked_ptr.h', - 'gtest/include/gtest/internal/gtest-param-util-generated.h', - 'gtest/include/gtest/internal/gtest-param-util.h', - 'gtest/include/gtest/internal/gtest-port.h', - 'gtest/include/gtest/internal/gtest-string.h', - 'gtest/include/gtest/internal/gtest-tuple.h', - 'gtest/include/gtest/internal/gtest-type-util.h', - 'gtest/src/gtest-death-test.cc', - 'gtest/src/gtest-filepath.cc', - 'gtest/src/gtest-internal-inl.h', - 'gtest/src/gtest-port.cc', - 'gtest/src/gtest-printers.cc', - 'gtest/src/gtest-test-part.cc', - 'gtest/src/gtest-typed-test.cc', - 'gtest/src/gtest.cc', - 'multiprocess_func_list.cc', - 'multiprocess_func_list.h', - 'platform_test.h', - ], - }, -} diff --git a/testing/gtest_nacl.gyp b/testing/gtest_nacl.gyp deleted file mode 100644 index 910c9e37890df..0000000000000 --- a/testing/gtest_nacl.gyp +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'includes': [ - '../build/common_untrusted.gypi', - 'gtest.gypi', - ], - 'conditions': [ - ['disable_nacl==0 and disable_nacl_untrusted==0', { - 'targets': [ - { - 'target_name': 'gtest_nacl', - 'type': 'none', - 'variables': { - 'nlib_target': 'libgtest_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_irt': 0, - 'build_pnacl_newlib': 1, - 'build_nonsfi_helper': 1, - }, - 'sources': [ - '<@(gtest_sources)', - ], - 'include_dirs': [ - 'gtest', - 'gtest/include', - ], - 'defines': [ - # In order to allow regex matches in gtest to be shared between - # Windows and other systems, we tell gtest to always use it's - # internal engine. - 'GTEST_HAS_POSIX_RE=0', - ], - 'all_dependent_settings': { - 'defines': [ - 'GTEST_HAS_POSIX_RE=0', - ], - 'link_flags': [ - '-lgtest_nacl', - ], - }, - 'direct_dependent_settings': { - 'defines': [ - 'UNIT_TEST', - ], - 'include_dirs': [ - 'gtest/include', # So that gtest headers can find themselves. - ], - }, - }, - { - 'target_name': 'gtest_main_nacl', - 'type': 'none', - 'variables': { - 'nlib_target': 'libgtest_main_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_irt': 0, - 'build_pnacl_newlib': 1, - 'build_nonsfi_helper': 1, - }, - 'dependencies': [ - 'gtest_nacl', - ], - 'sources': [ - 'gtest/src/gtest_main.cc', - ], - 'all_dependent_settings': { - 'link_flags': [ - '-lgtest_main_nacl', - ], - }, - }, - ], - }], - ], -} diff --git a/testing/iossim/iossim.gyp b/testing/iossim/iossim.gyp deleted file mode 100644 index 2b30b18106ebf..0000000000000 --- a/testing/iossim/iossim.gyp +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'mac_deployment_target': '10.9', - 'mac_sdk_min': '10.9', - 'class_dump_bin': '<(PRODUCT_DIR)/class-dump', - 'class_dump_py': '<(DEPTH)/third_party/class-dump/class-dump.py', - }, - 'targets': [ - { - # GN version //testing/iossim(//build/toolchain/mac:clang_x64) - 'target_name': 'iossim', - 'toolsets': ['host'], - 'type': 'executable', - 'variables': { - 'developer_dir': ', which requires RTTI. - 'GOOGLE_PROTOBUF_NO_RTTI', - 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', - ], - 'dependencies': [ - '../zlib/zlib.gyp:zlib', - ], - }, - ], - }], - ], -} diff --git a/third_party/android_swipe_refresh/android_swipe_refresh.gyp b/third_party/android_swipe_refresh/android_swipe_refresh.gyp deleted file mode 100644 index c7f7e0f542ade..0000000000000 --- a/third_party/android_swipe_refresh/android_swipe_refresh.gyp +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 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. - -{ - 'targets': [ - { - 'target_name': 'android_swipe_refresh_java', - 'type': 'none', - 'dependencies': [ - '../android_tools/android_tools.gyp:android_support_v13_javalib', - ], - 'variables': { - 'java_in_dir': 'java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], -} diff --git a/third_party/apache-portable-runtime/apr.gyp b/third_party/apache-portable-runtime/apr.gyp deleted file mode 100644 index 2b03db07928ce..0000000000000 --- a/third_party/apache-portable-runtime/apr.gyp +++ /dev/null @@ -1,114 +0,0 @@ -# Builds 'Apache Portable Runtime'. See http://apr.apache.org -{ - 'targets': [ - { - 'target_name': 'apr', - 'type': 'static_library', - 'sources': [ - 'src/atomic/unix/builtins.c', - 'src/atomic/unix/ia32.c', - 'src/atomic/unix/mutex.c', - 'src/atomic/unix/ppc.c', - 'src/atomic/unix/s390.c', - 'src/atomic/unix/solaris.c', - 'src/dso/unix/dso.c', - 'src/file_io/unix/buffer.c', - 'src/file_io/unix/copy.c', - 'src/file_io/unix/dir.c', - 'src/file_io/unix/fileacc.c', - 'src/file_io/unix/filedup.c', - 'src/file_io/unix/filepath.c', - 'src/file_io/unix/filepath_util.c', - 'src/file_io/unix/filestat.c', - 'src/file_io/unix/flock.c', - 'src/file_io/unix/fullrw.c', - 'src/file_io/unix/mktemp.c', - 'src/file_io/unix/open.c', - 'src/file_io/unix/pipe.c', - 'src/file_io/unix/readwrite.c', - 'src/file_io/unix/seek.c', - 'src/file_io/unix/tempdir.c', - 'src/include/apr_skiplist.h', - 'src/include/arch/apr_private_common.h', - 'src/include/arch/unix/apr_arch_atomic.h', - 'src/include/arch/unix/apr_arch_dso.h', - 'src/include/arch/unix/apr_arch_file_io.h', - 'src/include/arch/unix/apr_arch_global_mutex.h', - 'src/include/arch/unix/apr_arch_internal_time.h', - 'src/include/arch/unix/apr_arch_misc.h', - 'src/include/arch/unix/apr_arch_networkio.h', - 'src/include/arch/unix/apr_arch_poll_private.h', - 'src/include/arch/unix/apr_arch_proc_mutex.h', - 'src/include/arch/unix/apr_arch_shm.h', - 'src/include/arch/unix/apr_arch_thread_cond.h', - 'src/include/arch/unix/apr_arch_thread_mutex.h', - 'src/include/arch/unix/apr_arch_thread_rwlock.h', - 'src/include/arch/unix/apr_arch_threadproc.h', - 'src/include/arch/unix/apr_private.h', - 'src/locks/unix/global_mutex.c', - 'src/locks/unix/proc_mutex.c', - 'src/locks/unix/thread_cond.c', - 'src/locks/unix/thread_mutex.c', - 'src/locks/unix/thread_rwlock.c', - 'src/memory/unix/apr_pools.c', - 'src/misc/unix/charset.c', - 'src/misc/unix/env.c', - 'src/misc/unix/errorcodes.c', - 'src/misc/unix/getopt.c', - 'src/misc/unix/otherchild.c', - 'src/misc/unix/rand.c', - 'src/misc/unix/start.c', - 'src/misc/unix/version.c', - 'src/mmap/unix/common.c', - 'src/mmap/unix/mmap.c', - 'src/network_io/unix/inet_ntop.c', - 'src/network_io/unix/inet_pton.c', - 'src/network_io/unix/multicast.c', - 'src/network_io/unix/sendrecv.c', - 'src/network_io/unix/sockaddr.c', - 'src/network_io/unix/sockets.c', - 'src/network_io/unix/sockopt.c', - 'src/passwd/apr_getpass.c', - 'src/poll/unix/epoll.c', - 'src/poll/unix/kqueue.c', - 'src/poll/unix/poll.c', - 'src/poll/unix/pollcb.c', - 'src/poll/unix/pollset.c', - 'src/poll/unix/port.c', - 'src/poll/unix/select.c', - 'src/random/unix/apr_random.c', - 'src/random/unix/sha2.c', - 'src/random/unix/sha2.h', - 'src/random/unix/sha2_glue.c', - 'src/shmem/unix/shm.c', - 'src/strings/apr_cpystrn.c', - 'src/strings/apr_fnmatch.c', - 'src/strings/apr_snprintf.c', - 'src/strings/apr_strings.c', - 'src/strings/apr_strnatcmp.c', - 'src/strings/apr_strtok.c', - 'src/support/unix/waitio.c', - 'src/tables/apr_hash.c', - 'src/tables/apr_skiplist.c', - 'src/tables/apr_tables.c', - 'src/threadproc/unix/proc.c', - 'src/threadproc/unix/procsup.c', - 'src/threadproc/unix/signals.c', - 'src/threadproc/unix/thread.c', - 'src/threadproc/unix/threadpriv.c', - 'src/time/unix/time.c', - 'src/time/unix/timestr.c', - 'src/user/unix/groupinfo.c', - 'src/user/unix/userinfo.c', - ], - 'include_dirs': [ - 'src/include', - 'src/include/arch/unix', - ], - 'cflags': [ - '-isystem<(android_ndk_root)/sources/android/support/include', - '-w', - ], - }, - ], -} \ No newline at end of file diff --git a/third_party/apple_sample_code/apple_sample_code.gyp b/third_party/apple_sample_code/apple_sample_code.gyp deleted file mode 100644 index 331c6989a0fdc..0000000000000 --- a/third_party/apple_sample_code/apple_sample_code.gyp +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2013 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. - -{ - 'targets': [ - { - 'target_name': 'apple_sample_code', - 'type': 'static_library', - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', - ], - }, - 'sources': [ - 'ImageAndTextCell.h', - 'ImageAndTextCell.m', - ], - }, - ], -} diff --git a/third_party/ashmem/ashmem.gyp b/third_party/ashmem/ashmem.gyp deleted file mode 100644 index e26ac18f5822f..0000000000000 --- a/third_party/ashmem/ashmem.gyp +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'targets': [ - { - 'target_name': 'ashmem', - 'type': 'static_library', - 'sources': [ - 'ashmem.h', - 'ashmem-dev.c' - ], - }, - ], -} diff --git a/third_party/boringssl/boringssl.gyp b/third_party/boringssl/boringssl.gyp deleted file mode 100644 index 75d08296858ba..0000000000000 --- a/third_party/boringssl/boringssl.gyp +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - 'boringssl.gypi', - ], - 'target_defaults': { - 'conditions': [ - ['os_posix == 1', { - 'cflags_c': [ '-std=c99' ], - 'defines': [ '_XOPEN_SOURCE=700' ], - }], - ], - }, - 'targets': [ - { - 'target_name': 'boringssl_nacl_win64', - 'type': '<(component)', - 'sources': [ - '<@(boringssl_crypto_sources)', - ], - 'defines': [ - 'BORINGSSL_IMPLEMENTATION', - 'BORINGSSL_NO_STATIC_INITIALIZER', - 'OPENSSL_NO_ASM', - 'OPENSSL_SMALL', - ], - 'configurations': { - 'Common_Base': { - 'msvs_target_platform': 'x64', - }, - }, - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - 'conditions': [ - ['component == "shared_library"', { - 'defines': [ - 'BORINGSSL_SHARED_LIBRARY', - ], - }], - ], - 'include_dirs': [ - 'src/include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/include', - ], - 'conditions': [ - ['component == "shared_library"', { - 'defines': [ - 'BORINGSSL_SHARED_LIBRARY', - ], - }], - ], - }, - }, - { - 'target_name': 'boringssl', - 'type': '<(component)', - 'sources': [ - '<@(boringssl_crypto_sources)', - '<@(boringssl_ssl_sources)', - ], - 'defines': [ - 'BORINGSSL_IMPLEMENTATION', - 'BORINGSSL_NO_STATIC_INITIALIZER', - 'OPENSSL_SMALL', - ], - 'dependencies': [ 'boringssl_asm' ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - 'conditions': [ - ['component == "shared_library"', { - 'defines': [ - 'BORINGSSL_SHARED_LIBRARY', - ], - }], - ], - 'include_dirs': [ - 'src/include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/include', - ], - 'conditions': [ - ['component == "shared_library"', { - 'defines': [ - 'BORINGSSL_SHARED_LIBRARY', - ], - }], - ], - }, - }, - { - # boringssl_asm is a separate target to allow for ASM-specific cflags. - 'target_name': 'boringssl_asm', - 'type': 'static_library', - 'include_dirs': [ - 'src/include', - ], - 'conditions': [ - ['target_arch == "arm" and msan == 0', { - 'conditions': [ - ['OS == "linux" or OS == "android"', { - 'sources': [ '<@(boringssl_linux_arm_sources)' ], - }, { - 'direct_dependent_settings': { - 'defines': [ 'OPENSSL_NO_ASM' ], - }, - }], - ], - }], - ['target_arch == "arm" and clang == 1', { - # TODO(hans) Enable integrated-as (crbug.com/124610). - 'cflags': [ '-fno-integrated-as' ], - 'conditions': [ - ['OS == "android"', { - # Else /usr/bin/as gets picked up. - 'cflags': [ '-B<(android_toolchain)' ], - }], - ], - }], - ['target_arch == "arm64" and msan == 0', { - 'conditions': [ - ['OS == "linux" or OS == "android"', { - 'sources': [ '<@(boringssl_linux_aarch64_sources)' ], - # TODO(davidben): Remove explicit arch flag once - # https://crbug.com/576858 is fixed. - 'cflags': [ '-march=armv8-a+crypto' ], - }, { - 'direct_dependent_settings': { - 'defines': [ 'OPENSSL_NO_ASM' ], - }, - }], - ], - }], - ['target_arch == "ia32" and msan == 0', { - 'conditions': [ - ['OS == "mac"', { - 'sources': [ '<@(boringssl_mac_x86_sources)' ], - }], - ['OS == "linux" or OS == "android"', { - 'sources': [ '<@(boringssl_linux_x86_sources)' ], - }], - ['OS == "win"', { - 'sources': [ '<@(boringssl_win_x86_sources)' ], - # Windows' assembly is built with Yasm. The other platforms use - # the platform assembler. - 'variables': { - 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/boringssl', - }, - 'includes': [ - '../yasm/yasm_compile.gypi', - ], - }], - ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"', { - 'direct_dependent_settings': { - 'defines': [ 'OPENSSL_NO_ASM' ], - }, - }], - ] - }], - ['target_arch == "x64" and msan == 0', { - 'conditions': [ - ['OS == "mac"', { - 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], - }], - ['OS == "linux" or OS == "android"', { - 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], - }], - ['OS == "win"', { - 'sources': [ '<@(boringssl_win_x86_64_sources)' ], - # Windows' assembly is built with Yasm. The other platforms use - # the platform assembler. - 'variables': { - 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/boringssl', - }, - 'includes': [ - '../yasm/yasm_compile.gypi', - ], - }], - ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"', { - 'direct_dependent_settings': { - 'defines': [ 'OPENSSL_NO_ASM' ], - }, - }], - ] - }], - ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and target_arch != "x64" and target_arch != "arm64")', { - 'direct_dependent_settings': { - 'defines': [ 'OPENSSL_NO_ASM' ], - }, - }], - ], - }, - ], -} diff --git a/third_party/boringssl/boringssl.gypi b/third_party/boringssl/boringssl.gypi deleted file mode 100644 index 181497baedb52..0000000000000 --- a/third_party/boringssl/boringssl.gypi +++ /dev/null @@ -1,545 +0,0 @@ -# Copyright (c) 2016 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 is created by generate_build_files.py. Do not edit manually. - -{ - 'variables': { - 'boringssl_ssl_sources': [ - 'src/include/openssl/dtls1.h', - 'src/include/openssl/ssl.h', - 'src/include/openssl/ssl3.h', - 'src/include/openssl/tls1.h', - 'src/ssl/custom_extensions.c', - 'src/ssl/d1_both.c', - 'src/ssl/d1_lib.c', - 'src/ssl/d1_pkt.c', - 'src/ssl/d1_srtp.c', - 'src/ssl/dtls_method.c', - 'src/ssl/dtls_record.c', - 'src/ssl/handshake_client.c', - 'src/ssl/handshake_server.c', - 'src/ssl/internal.h', - 'src/ssl/s3_both.c', - 'src/ssl/s3_enc.c', - 'src/ssl/s3_lib.c', - 'src/ssl/s3_pkt.c', - 'src/ssl/ssl_aead_ctx.c', - 'src/ssl/ssl_asn1.c', - 'src/ssl/ssl_buffer.c', - 'src/ssl/ssl_cert.c', - 'src/ssl/ssl_cipher.c', - 'src/ssl/ssl_ecdh.c', - 'src/ssl/ssl_file.c', - 'src/ssl/ssl_lib.c', - 'src/ssl/ssl_rsa.c', - 'src/ssl/ssl_session.c', - 'src/ssl/ssl_stat.c', - 'src/ssl/t1_enc.c', - 'src/ssl/t1_lib.c', - 'src/ssl/tls13_both.c', - 'src/ssl/tls13_client.c', - 'src/ssl/tls13_enc.c', - 'src/ssl/tls13_server.c', - 'src/ssl/tls_method.c', - 'src/ssl/tls_record.c', - ], - 'boringssl_crypto_sources': [ - 'err_data.c', - 'src/crypto/aes/aes.c', - 'src/crypto/aes/internal.h', - 'src/crypto/aes/mode_wrappers.c', - 'src/crypto/asn1/a_bitstr.c', - 'src/crypto/asn1/a_bool.c', - 'src/crypto/asn1/a_d2i_fp.c', - 'src/crypto/asn1/a_dup.c', - 'src/crypto/asn1/a_enum.c', - 'src/crypto/asn1/a_gentm.c', - 'src/crypto/asn1/a_i2d_fp.c', - 'src/crypto/asn1/a_int.c', - 'src/crypto/asn1/a_mbstr.c', - 'src/crypto/asn1/a_object.c', - 'src/crypto/asn1/a_octet.c', - 'src/crypto/asn1/a_print.c', - 'src/crypto/asn1/a_strnid.c', - 'src/crypto/asn1/a_time.c', - 'src/crypto/asn1/a_type.c', - 'src/crypto/asn1/a_utctm.c', - 'src/crypto/asn1/a_utf8.c', - 'src/crypto/asn1/asn1_lib.c', - 'src/crypto/asn1/asn1_locl.h', - 'src/crypto/asn1/asn1_par.c', - 'src/crypto/asn1/asn_pack.c', - 'src/crypto/asn1/f_enum.c', - 'src/crypto/asn1/f_int.c', - 'src/crypto/asn1/f_string.c', - 'src/crypto/asn1/t_bitst.c', - 'src/crypto/asn1/tasn_dec.c', - 'src/crypto/asn1/tasn_enc.c', - 'src/crypto/asn1/tasn_fre.c', - 'src/crypto/asn1/tasn_new.c', - 'src/crypto/asn1/tasn_typ.c', - 'src/crypto/asn1/tasn_utl.c', - 'src/crypto/asn1/x_bignum.c', - 'src/crypto/asn1/x_long.c', - 'src/crypto/base64/base64.c', - 'src/crypto/bio/bio.c', - 'src/crypto/bio/bio_mem.c', - 'src/crypto/bio/buffer.c', - 'src/crypto/bio/connect.c', - 'src/crypto/bio/fd.c', - 'src/crypto/bio/file.c', - 'src/crypto/bio/hexdump.c', - 'src/crypto/bio/internal.h', - 'src/crypto/bio/pair.c', - 'src/crypto/bio/printf.c', - 'src/crypto/bio/socket.c', - 'src/crypto/bio/socket_helper.c', - 'src/crypto/bn/add.c', - 'src/crypto/bn/asm/x86_64-gcc.c', - 'src/crypto/bn/bn.c', - 'src/crypto/bn/bn_asn1.c', - 'src/crypto/bn/cmp.c', - 'src/crypto/bn/convert.c', - 'src/crypto/bn/ctx.c', - 'src/crypto/bn/div.c', - 'src/crypto/bn/exponentiation.c', - 'src/crypto/bn/gcd.c', - 'src/crypto/bn/generic.c', - 'src/crypto/bn/internal.h', - 'src/crypto/bn/kronecker.c', - 'src/crypto/bn/montgomery.c', - 'src/crypto/bn/montgomery_inv.c', - 'src/crypto/bn/mul.c', - 'src/crypto/bn/prime.c', - 'src/crypto/bn/random.c', - 'src/crypto/bn/rsaz_exp.c', - 'src/crypto/bn/rsaz_exp.h', - 'src/crypto/bn/shift.c', - 'src/crypto/bn/sqrt.c', - 'src/crypto/buf/buf.c', - 'src/crypto/bytestring/asn1_compat.c', - 'src/crypto/bytestring/ber.c', - 'src/crypto/bytestring/cbb.c', - 'src/crypto/bytestring/cbs.c', - 'src/crypto/bytestring/internal.h', - 'src/crypto/chacha/chacha.c', - 'src/crypto/cipher/aead.c', - 'src/crypto/cipher/cipher.c', - 'src/crypto/cipher/derive_key.c', - 'src/crypto/cipher/e_aes.c', - 'src/crypto/cipher/e_chacha20poly1305.c', - 'src/crypto/cipher/e_des.c', - 'src/crypto/cipher/e_null.c', - 'src/crypto/cipher/e_rc2.c', - 'src/crypto/cipher/e_rc4.c', - 'src/crypto/cipher/e_ssl3.c', - 'src/crypto/cipher/e_tls.c', - 'src/crypto/cipher/internal.h', - 'src/crypto/cipher/tls_cbc.c', - 'src/crypto/cmac/cmac.c', - 'src/crypto/conf/conf.c', - 'src/crypto/conf/conf_def.h', - 'src/crypto/conf/internal.h', - 'src/crypto/cpu-aarch64-linux.c', - 'src/crypto/cpu-arm-linux.c', - 'src/crypto/cpu-arm.c', - 'src/crypto/cpu-intel.c', - 'src/crypto/crypto.c', - 'src/crypto/curve25519/curve25519.c', - 'src/crypto/curve25519/internal.h', - 'src/crypto/curve25519/spake25519.c', - 'src/crypto/curve25519/x25519-x86_64.c', - 'src/crypto/des/des.c', - 'src/crypto/des/internal.h', - 'src/crypto/dh/check.c', - 'src/crypto/dh/dh.c', - 'src/crypto/dh/dh_asn1.c', - 'src/crypto/dh/params.c', - 'src/crypto/digest/digest.c', - 'src/crypto/digest/digests.c', - 'src/crypto/digest/internal.h', - 'src/crypto/digest/md32_common.h', - 'src/crypto/dsa/dsa.c', - 'src/crypto/dsa/dsa_asn1.c', - 'src/crypto/ec/ec.c', - 'src/crypto/ec/ec_asn1.c', - 'src/crypto/ec/ec_key.c', - 'src/crypto/ec/ec_montgomery.c', - 'src/crypto/ec/internal.h', - 'src/crypto/ec/oct.c', - 'src/crypto/ec/p224-64.c', - 'src/crypto/ec/p256-64.c', - 'src/crypto/ec/p256-x86_64-table.h', - 'src/crypto/ec/p256-x86_64.c', - 'src/crypto/ec/simple.c', - 'src/crypto/ec/util-64.c', - 'src/crypto/ec/wnaf.c', - 'src/crypto/ecdh/ecdh.c', - 'src/crypto/ecdsa/ecdsa.c', - 'src/crypto/ecdsa/ecdsa_asn1.c', - 'src/crypto/engine/engine.c', - 'src/crypto/err/err.c', - 'src/crypto/evp/digestsign.c', - 'src/crypto/evp/evp.c', - 'src/crypto/evp/evp_asn1.c', - 'src/crypto/evp/evp_ctx.c', - 'src/crypto/evp/internal.h', - 'src/crypto/evp/p_dsa_asn1.c', - 'src/crypto/evp/p_ec.c', - 'src/crypto/evp/p_ec_asn1.c', - 'src/crypto/evp/p_rsa.c', - 'src/crypto/evp/p_rsa_asn1.c', - 'src/crypto/evp/pbkdf.c', - 'src/crypto/evp/print.c', - 'src/crypto/evp/sign.c', - 'src/crypto/ex_data.c', - 'src/crypto/hkdf/hkdf.c', - 'src/crypto/hmac/hmac.c', - 'src/crypto/internal.h', - 'src/crypto/lhash/lhash.c', - 'src/crypto/md4/md4.c', - 'src/crypto/md5/md5.c', - 'src/crypto/mem.c', - 'src/crypto/modes/cbc.c', - 'src/crypto/modes/cfb.c', - 'src/crypto/modes/ctr.c', - 'src/crypto/modes/gcm.c', - 'src/crypto/modes/internal.h', - 'src/crypto/modes/ofb.c', - 'src/crypto/newhope/error_correction.c', - 'src/crypto/newhope/internal.h', - 'src/crypto/newhope/newhope.c', - 'src/crypto/newhope/ntt.c', - 'src/crypto/newhope/poly.c', - 'src/crypto/newhope/precomp.c', - 'src/crypto/newhope/reduce.c', - 'src/crypto/obj/obj.c', - 'src/crypto/obj/obj_dat.h', - 'src/crypto/obj/obj_xref.c', - 'src/crypto/obj/obj_xref.h', - 'src/crypto/pem/pem_all.c', - 'src/crypto/pem/pem_info.c', - 'src/crypto/pem/pem_lib.c', - 'src/crypto/pem/pem_oth.c', - 'src/crypto/pem/pem_pk8.c', - 'src/crypto/pem/pem_pkey.c', - 'src/crypto/pem/pem_x509.c', - 'src/crypto/pem/pem_xaux.c', - 'src/crypto/pkcs8/internal.h', - 'src/crypto/pkcs8/p5_pbe.c', - 'src/crypto/pkcs8/p5_pbev2.c', - 'src/crypto/pkcs8/p8_pkey.c', - 'src/crypto/pkcs8/pkcs8.c', - 'src/crypto/poly1305/internal.h', - 'src/crypto/poly1305/poly1305.c', - 'src/crypto/poly1305/poly1305_arm.c', - 'src/crypto/poly1305/poly1305_vec.c', - 'src/crypto/rand/deterministic.c', - 'src/crypto/rand/internal.h', - 'src/crypto/rand/rand.c', - 'src/crypto/rand/urandom.c', - 'src/crypto/rand/windows.c', - 'src/crypto/rc4/rc4.c', - 'src/crypto/refcount_c11.c', - 'src/crypto/refcount_lock.c', - 'src/crypto/rsa/blinding.c', - 'src/crypto/rsa/internal.h', - 'src/crypto/rsa/padding.c', - 'src/crypto/rsa/rsa.c', - 'src/crypto/rsa/rsa_asn1.c', - 'src/crypto/rsa/rsa_impl.c', - 'src/crypto/sha/sha1.c', - 'src/crypto/sha/sha256.c', - 'src/crypto/sha/sha512.c', - 'src/crypto/stack/stack.c', - 'src/crypto/thread.c', - 'src/crypto/thread_none.c', - 'src/crypto/thread_pthread.c', - 'src/crypto/thread_win.c', - 'src/crypto/time_support.c', - 'src/crypto/x509/a_digest.c', - 'src/crypto/x509/a_sign.c', - 'src/crypto/x509/a_strex.c', - 'src/crypto/x509/a_verify.c', - 'src/crypto/x509/algorithm.c', - 'src/crypto/x509/asn1_gen.c', - 'src/crypto/x509/by_dir.c', - 'src/crypto/x509/by_file.c', - 'src/crypto/x509/charmap.h', - 'src/crypto/x509/i2d_pr.c', - 'src/crypto/x509/internal.h', - 'src/crypto/x509/pkcs7.c', - 'src/crypto/x509/rsa_pss.c', - 'src/crypto/x509/t_crl.c', - 'src/crypto/x509/t_req.c', - 'src/crypto/x509/t_x509.c', - 'src/crypto/x509/t_x509a.c', - 'src/crypto/x509/vpm_int.h', - 'src/crypto/x509/x509.c', - 'src/crypto/x509/x509_att.c', - 'src/crypto/x509/x509_cmp.c', - 'src/crypto/x509/x509_d2.c', - 'src/crypto/x509/x509_def.c', - 'src/crypto/x509/x509_ext.c', - 'src/crypto/x509/x509_lu.c', - 'src/crypto/x509/x509_obj.c', - 'src/crypto/x509/x509_r2x.c', - 'src/crypto/x509/x509_req.c', - 'src/crypto/x509/x509_set.c', - 'src/crypto/x509/x509_trs.c', - 'src/crypto/x509/x509_txt.c', - 'src/crypto/x509/x509_v3.c', - 'src/crypto/x509/x509_vfy.c', - 'src/crypto/x509/x509_vpm.c', - 'src/crypto/x509/x509cset.c', - 'src/crypto/x509/x509name.c', - 'src/crypto/x509/x509rset.c', - 'src/crypto/x509/x509spki.c', - 'src/crypto/x509/x509type.c', - 'src/crypto/x509/x_algor.c', - 'src/crypto/x509/x_all.c', - 'src/crypto/x509/x_attrib.c', - 'src/crypto/x509/x_crl.c', - 'src/crypto/x509/x_exten.c', - 'src/crypto/x509/x_info.c', - 'src/crypto/x509/x_name.c', - 'src/crypto/x509/x_pkey.c', - 'src/crypto/x509/x_pubkey.c', - 'src/crypto/x509/x_req.c', - 'src/crypto/x509/x_sig.c', - 'src/crypto/x509/x_spki.c', - 'src/crypto/x509/x_val.c', - 'src/crypto/x509/x_x509.c', - 'src/crypto/x509/x_x509a.c', - 'src/crypto/x509v3/ext_dat.h', - 'src/crypto/x509v3/pcy_cache.c', - 'src/crypto/x509v3/pcy_data.c', - 'src/crypto/x509v3/pcy_int.h', - 'src/crypto/x509v3/pcy_lib.c', - 'src/crypto/x509v3/pcy_map.c', - 'src/crypto/x509v3/pcy_node.c', - 'src/crypto/x509v3/pcy_tree.c', - 'src/crypto/x509v3/v3_akey.c', - 'src/crypto/x509v3/v3_akeya.c', - 'src/crypto/x509v3/v3_alt.c', - 'src/crypto/x509v3/v3_bcons.c', - 'src/crypto/x509v3/v3_bitst.c', - 'src/crypto/x509v3/v3_conf.c', - 'src/crypto/x509v3/v3_cpols.c', - 'src/crypto/x509v3/v3_crld.c', - 'src/crypto/x509v3/v3_enum.c', - 'src/crypto/x509v3/v3_extku.c', - 'src/crypto/x509v3/v3_genn.c', - 'src/crypto/x509v3/v3_ia5.c', - 'src/crypto/x509v3/v3_info.c', - 'src/crypto/x509v3/v3_int.c', - 'src/crypto/x509v3/v3_lib.c', - 'src/crypto/x509v3/v3_ncons.c', - 'src/crypto/x509v3/v3_pci.c', - 'src/crypto/x509v3/v3_pcia.c', - 'src/crypto/x509v3/v3_pcons.c', - 'src/crypto/x509v3/v3_pku.c', - 'src/crypto/x509v3/v3_pmaps.c', - 'src/crypto/x509v3/v3_prn.c', - 'src/crypto/x509v3/v3_purp.c', - 'src/crypto/x509v3/v3_skey.c', - 'src/crypto/x509v3/v3_sxnet.c', - 'src/crypto/x509v3/v3_utl.c', - 'src/include/openssl/aead.h', - 'src/include/openssl/aes.h', - 'src/include/openssl/arm_arch.h', - 'src/include/openssl/asn1.h', - 'src/include/openssl/asn1_mac.h', - 'src/include/openssl/asn1t.h', - 'src/include/openssl/base.h', - 'src/include/openssl/base64.h', - 'src/include/openssl/bio.h', - 'src/include/openssl/blowfish.h', - 'src/include/openssl/bn.h', - 'src/include/openssl/buf.h', - 'src/include/openssl/buffer.h', - 'src/include/openssl/bytestring.h', - 'src/include/openssl/cast.h', - 'src/include/openssl/chacha.h', - 'src/include/openssl/cipher.h', - 'src/include/openssl/cmac.h', - 'src/include/openssl/conf.h', - 'src/include/openssl/cpu.h', - 'src/include/openssl/crypto.h', - 'src/include/openssl/curve25519.h', - 'src/include/openssl/des.h', - 'src/include/openssl/dh.h', - 'src/include/openssl/digest.h', - 'src/include/openssl/dsa.h', - 'src/include/openssl/ec.h', - 'src/include/openssl/ec_key.h', - 'src/include/openssl/ecdh.h', - 'src/include/openssl/ecdsa.h', - 'src/include/openssl/engine.h', - 'src/include/openssl/err.h', - 'src/include/openssl/evp.h', - 'src/include/openssl/ex_data.h', - 'src/include/openssl/hkdf.h', - 'src/include/openssl/hmac.h', - 'src/include/openssl/lhash.h', - 'src/include/openssl/lhash_macros.h', - 'src/include/openssl/md4.h', - 'src/include/openssl/md5.h', - 'src/include/openssl/mem.h', - 'src/include/openssl/newhope.h', - 'src/include/openssl/nid.h', - 'src/include/openssl/obj.h', - 'src/include/openssl/obj_mac.h', - 'src/include/openssl/objects.h', - 'src/include/openssl/opensslconf.h', - 'src/include/openssl/opensslv.h', - 'src/include/openssl/ossl_typ.h', - 'src/include/openssl/pem.h', - 'src/include/openssl/pkcs12.h', - 'src/include/openssl/pkcs7.h', - 'src/include/openssl/pkcs8.h', - 'src/include/openssl/poly1305.h', - 'src/include/openssl/rand.h', - 'src/include/openssl/rc4.h', - 'src/include/openssl/ripemd.h', - 'src/include/openssl/rsa.h', - 'src/include/openssl/safestack.h', - 'src/include/openssl/sha.h', - 'src/include/openssl/srtp.h', - 'src/include/openssl/stack.h', - 'src/include/openssl/stack_macros.h', - 'src/include/openssl/thread.h', - 'src/include/openssl/time_support.h', - 'src/include/openssl/type_check.h', - 'src/include/openssl/x509.h', - 'src/include/openssl/x509_vfy.h', - 'src/include/openssl/x509v3.h', - ], - 'boringssl_linux_aarch64_sources': [ - 'linux-aarch64/crypto/aes/aesv8-armx64.S', - 'linux-aarch64/crypto/bn/armv8-mont.S', - 'linux-aarch64/crypto/chacha/chacha-armv8.S', - 'linux-aarch64/crypto/modes/ghashv8-armx64.S', - 'linux-aarch64/crypto/sha/sha1-armv8.S', - 'linux-aarch64/crypto/sha/sha256-armv8.S', - 'linux-aarch64/crypto/sha/sha512-armv8.S', - ], - 'boringssl_linux_arm_sources': [ - 'linux-arm/crypto/aes/aes-armv4.S', - 'linux-arm/crypto/aes/aesv8-armx32.S', - 'linux-arm/crypto/aes/bsaes-armv7.S', - 'linux-arm/crypto/bn/armv4-mont.S', - 'linux-arm/crypto/chacha/chacha-armv4.S', - 'linux-arm/crypto/modes/ghash-armv4.S', - 'linux-arm/crypto/modes/ghashv8-armx32.S', - 'linux-arm/crypto/sha/sha1-armv4-large.S', - 'linux-arm/crypto/sha/sha256-armv4.S', - 'linux-arm/crypto/sha/sha512-armv4.S', - 'src/crypto/curve25519/asm/x25519-asm-arm.S', - 'src/crypto/poly1305/poly1305_arm_asm.S', - ], - 'boringssl_linux_x86_sources': [ - 'linux-x86/crypto/aes/aes-586.S', - 'linux-x86/crypto/aes/aesni-x86.S', - 'linux-x86/crypto/aes/vpaes-x86.S', - 'linux-x86/crypto/bn/bn-586.S', - 'linux-x86/crypto/bn/co-586.S', - 'linux-x86/crypto/bn/x86-mont.S', - 'linux-x86/crypto/chacha/chacha-x86.S', - 'linux-x86/crypto/md5/md5-586.S', - 'linux-x86/crypto/modes/ghash-x86.S', - 'linux-x86/crypto/sha/sha1-586.S', - 'linux-x86/crypto/sha/sha256-586.S', - 'linux-x86/crypto/sha/sha512-586.S', - ], - 'boringssl_linux_x86_64_sources': [ - 'linux-x86_64/crypto/aes/aes-x86_64.S', - 'linux-x86_64/crypto/aes/aesni-x86_64.S', - 'linux-x86_64/crypto/aes/bsaes-x86_64.S', - 'linux-x86_64/crypto/aes/vpaes-x86_64.S', - 'linux-x86_64/crypto/bn/rsaz-avx2.S', - 'linux-x86_64/crypto/bn/rsaz-x86_64.S', - 'linux-x86_64/crypto/bn/x86_64-mont.S', - 'linux-x86_64/crypto/bn/x86_64-mont5.S', - 'linux-x86_64/crypto/chacha/chacha-x86_64.S', - 'linux-x86_64/crypto/ec/p256-x86_64-asm.S', - 'linux-x86_64/crypto/md5/md5-x86_64.S', - 'linux-x86_64/crypto/modes/aesni-gcm-x86_64.S', - 'linux-x86_64/crypto/modes/ghash-x86_64.S', - 'linux-x86_64/crypto/rand/rdrand-x86_64.S', - 'linux-x86_64/crypto/sha/sha1-x86_64.S', - 'linux-x86_64/crypto/sha/sha256-x86_64.S', - 'linux-x86_64/crypto/sha/sha512-x86_64.S', - 'src/crypto/curve25519/asm/x25519-asm-x86_64.S', - ], - 'boringssl_mac_x86_sources': [ - 'mac-x86/crypto/aes/aes-586.S', - 'mac-x86/crypto/aes/aesni-x86.S', - 'mac-x86/crypto/aes/vpaes-x86.S', - 'mac-x86/crypto/bn/bn-586.S', - 'mac-x86/crypto/bn/co-586.S', - 'mac-x86/crypto/bn/x86-mont.S', - 'mac-x86/crypto/chacha/chacha-x86.S', - 'mac-x86/crypto/md5/md5-586.S', - 'mac-x86/crypto/modes/ghash-x86.S', - 'mac-x86/crypto/sha/sha1-586.S', - 'mac-x86/crypto/sha/sha256-586.S', - 'mac-x86/crypto/sha/sha512-586.S', - ], - 'boringssl_mac_x86_64_sources': [ - 'mac-x86_64/crypto/aes/aes-x86_64.S', - 'mac-x86_64/crypto/aes/aesni-x86_64.S', - 'mac-x86_64/crypto/aes/bsaes-x86_64.S', - 'mac-x86_64/crypto/aes/vpaes-x86_64.S', - 'mac-x86_64/crypto/bn/rsaz-avx2.S', - 'mac-x86_64/crypto/bn/rsaz-x86_64.S', - 'mac-x86_64/crypto/bn/x86_64-mont.S', - 'mac-x86_64/crypto/bn/x86_64-mont5.S', - 'mac-x86_64/crypto/chacha/chacha-x86_64.S', - 'mac-x86_64/crypto/ec/p256-x86_64-asm.S', - 'mac-x86_64/crypto/md5/md5-x86_64.S', - 'mac-x86_64/crypto/modes/aesni-gcm-x86_64.S', - 'mac-x86_64/crypto/modes/ghash-x86_64.S', - 'mac-x86_64/crypto/rand/rdrand-x86_64.S', - 'mac-x86_64/crypto/sha/sha1-x86_64.S', - 'mac-x86_64/crypto/sha/sha256-x86_64.S', - 'mac-x86_64/crypto/sha/sha512-x86_64.S', - 'src/crypto/curve25519/asm/x25519-asm-x86_64.S', - ], - 'boringssl_win_x86_sources': [ - 'win-x86/crypto/aes/aes-586.asm', - 'win-x86/crypto/aes/aesni-x86.asm', - 'win-x86/crypto/aes/vpaes-x86.asm', - 'win-x86/crypto/bn/bn-586.asm', - 'win-x86/crypto/bn/co-586.asm', - 'win-x86/crypto/bn/x86-mont.asm', - 'win-x86/crypto/chacha/chacha-x86.asm', - 'win-x86/crypto/md5/md5-586.asm', - 'win-x86/crypto/modes/ghash-x86.asm', - 'win-x86/crypto/sha/sha1-586.asm', - 'win-x86/crypto/sha/sha256-586.asm', - 'win-x86/crypto/sha/sha512-586.asm', - ], - 'boringssl_win_x86_64_sources': [ - 'win-x86_64/crypto/aes/aes-x86_64.asm', - 'win-x86_64/crypto/aes/aesni-x86_64.asm', - 'win-x86_64/crypto/aes/bsaes-x86_64.asm', - 'win-x86_64/crypto/aes/vpaes-x86_64.asm', - 'win-x86_64/crypto/bn/rsaz-avx2.asm', - 'win-x86_64/crypto/bn/rsaz-x86_64.asm', - 'win-x86_64/crypto/bn/x86_64-mont.asm', - 'win-x86_64/crypto/bn/x86_64-mont5.asm', - 'win-x86_64/crypto/chacha/chacha-x86_64.asm', - 'win-x86_64/crypto/ec/p256-x86_64-asm.asm', - 'win-x86_64/crypto/md5/md5-x86_64.asm', - 'win-x86_64/crypto/modes/aesni-gcm-x86_64.asm', - 'win-x86_64/crypto/modes/ghash-x86_64.asm', - 'win-x86_64/crypto/rand/rdrand-x86_64.asm', - 'win-x86_64/crypto/sha/sha1-x86_64.asm', - 'win-x86_64/crypto/sha/sha256-x86_64.asm', - 'win-x86_64/crypto/sha/sha512-x86_64.asm', - ], - } -} diff --git a/third_party/boringssl/boringssl_nacl.gyp b/third_party/boringssl/boringssl_nacl.gyp deleted file mode 100644 index b99e00221d46b..0000000000000 --- a/third_party/boringssl/boringssl_nacl.gyp +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2014 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. -{ - 'includes': [ - '../../native_client/build/untrusted.gypi', - ], - 'targets': [ - { - 'target_name': 'boringssl_nacl', - 'type': 'none', - 'variables': { - 'nlib_target': 'libboringssl_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - }, - 'dependencies': [ - '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted', - ], - 'includes': [ - # Include the auto-generated gypi file. - 'boringssl.gypi' - ], - 'sources': [ - '<@(boringssl_crypto_sources)', - '<@(boringssl_ssl_sources)', - ], - 'defines': [ - 'OPENSSL_NO_ASM', - ], - 'include_dirs': [ - 'src/include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/include', - ], - }, - 'pnacl_compile_flags': [ - '-Wno-sometimes-uninitialized', - '-Wno-unused-variable', - ], - }, # target boringssl_nacl - ], -} diff --git a/third_party/boringssl/boringssl_tests.gyp b/third_party/boringssl/boringssl_tests.gyp deleted file mode 100644 index a9160315b9efb..0000000000000 --- a/third_party/boringssl/boringssl_tests.gyp +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - 'boringssl_tests.gypi', - ], - 'conditions': [ - ['OS!="ios"', { - 'targets': [ - { - 'target_name': 'boringssl_unittests', - 'type': 'executable', - 'sources': [ - 'boringssl_unittest.cc', - ], - 'dependencies': [ - '<@(boringssl_test_targets)', - '../../base/base.gyp:base', - '../../base/base.gyp:run_all_unittests', - '../../base/base.gyp:test_support_base', - '../../testing/gtest.gyp:gtest', - ], - }, - ], - }], - ], -} diff --git a/third_party/boringssl/boringssl_tests.gypi b/third_party/boringssl/boringssl_tests.gypi deleted file mode 100644 index 37eb031b19504..0000000000000 --- a/third_party/boringssl/boringssl_tests.gypi +++ /dev/null @@ -1,714 +0,0 @@ -# Copyright (c) 2016 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 is created by generate_build_files.py. Do not edit manually. - -{ - 'targets': [ - { - 'target_name': 'boringssl_aes_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/aes/aes_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_asn1_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/asn1/asn1_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_base64_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/base64/base64_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_bio_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/bio/bio_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_bn_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/bn/bn_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_bytestring_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/bytestring/bytestring_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_chacha_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/chacha/chacha_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_aead_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/cipher/aead_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_cipher_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/cipher/cipher_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_cmac_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/cmac/cmac_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_constant_time_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/constant_time_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ed25519_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/curve25519/ed25519_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_spake25519_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/curve25519/spake25519_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_x25519_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/curve25519/x25519_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_dh_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/dh/dh_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_digest_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/digest/digest_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_dsa_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/dsa/dsa_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ec_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ec/ec_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_example_mul', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ec/example_mul.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ecdh_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ecdh/ecdh_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ecdsa_sign_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ecdsa/ecdsa_sign_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ecdsa_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ecdsa/ecdsa_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ecdsa_verify_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/ecdsa/ecdsa_verify_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_err_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/err/err_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_evp_extra_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/evp/evp_extra_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_evp_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/evp/evp_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_pbkdf_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/evp/pbkdf_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_hkdf_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/hkdf/hkdf_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_hmac_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/hmac/hmac_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_lhash_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/lhash/lhash_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_gcm_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/modes/gcm_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_newhope_statistical_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/newhope/newhope_statistical_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_newhope_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/newhope/newhope_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_newhope_vectors_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/newhope/newhope_vectors_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_obj_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/obj/obj_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_pkcs12_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/pkcs8/pkcs12_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_pkcs8_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/pkcs8/pkcs8_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_poly1305_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/poly1305/poly1305_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_refcount_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/refcount_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_rsa_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/rsa/rsa_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_thread_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/thread_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_pkcs7_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/x509/pkcs7_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_x509_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/x509/x509_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_tab_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/x509v3/tab_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_v3name_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/crypto/x509v3/v3name_test.c', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - { - 'target_name': 'boringssl_ssl_test', - 'type': 'executable', - 'dependencies': [ - 'boringssl.gyp:boringssl', - ], - 'sources': [ - 'src/ssl/ssl_test.cc', - '<@(boringssl_test_support_sources)', - ], - # TODO(davidben): Fix size_t truncations in BoringSSL. - # https://crbug.com/429039 - 'msvs_disabled_warnings': [ 4267, ], - }, - ], - 'variables': { - 'boringssl_test_support_sources': [ - 'src/crypto/test/file_test.cc', - 'src/crypto/test/file_test.h', - 'src/crypto/test/malloc.cc', - 'src/crypto/test/test_util.cc', - 'src/crypto/test/test_util.h', - 'src/ssl/test/async_bio.h', - 'src/ssl/test/packeted_bio.h', - 'src/ssl/test/test_config.h', - ], - 'boringssl_test_targets': [ - 'boringssl_aead_test', - 'boringssl_aes_test', - 'boringssl_asn1_test', - 'boringssl_base64_test', - 'boringssl_bio_test', - 'boringssl_bn_test', - 'boringssl_bytestring_test', - 'boringssl_chacha_test', - 'boringssl_cipher_test', - 'boringssl_cmac_test', - 'boringssl_constant_time_test', - 'boringssl_dh_test', - 'boringssl_digest_test', - 'boringssl_dsa_test', - 'boringssl_ec_test', - 'boringssl_ecdh_test', - 'boringssl_ecdsa_sign_test', - 'boringssl_ecdsa_test', - 'boringssl_ecdsa_verify_test', - 'boringssl_ed25519_test', - 'boringssl_err_test', - 'boringssl_evp_extra_test', - 'boringssl_evp_test', - 'boringssl_example_mul', - 'boringssl_gcm_test', - 'boringssl_hkdf_test', - 'boringssl_hmac_test', - 'boringssl_lhash_test', - 'boringssl_newhope_statistical_test', - 'boringssl_newhope_test', - 'boringssl_newhope_vectors_test', - 'boringssl_obj_test', - 'boringssl_pbkdf_test', - 'boringssl_pkcs12_test', - 'boringssl_pkcs7_test', - 'boringssl_pkcs8_test', - 'boringssl_poly1305_test', - 'boringssl_refcount_test', - 'boringssl_rsa_test', - 'boringssl_spake25519_test', - 'boringssl_ssl_test', - 'boringssl_tab_test', - 'boringssl_thread_test', - 'boringssl_v3name_test', - 'boringssl_x25519_test', - 'boringssl_x509_test', - ], - } -} diff --git a/third_party/brotli/bro.gypi b/third_party/brotli/bro.gypi deleted file mode 100644 index a416b92bd30b1..0000000000000 --- a/third_party/brotli/bro.gypi +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (c) 2016 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. - -# Usage: -# { -# 'target_name': 'your_target_name', -# 'type': 'none', -# 'actions': [ -# { -# 'variables': { -# 'input_file': 'file/to/compress', -# 'output_file': 'file/to/put/compressed', -# }, -# 'includes': ['../third_party/brotli/bro.gypi'], -# } -# ], -# 'dependencies': [ -# 'path/to:builds_file_to_compress' -# ], -# }, - -{ - 'action_name': 'genbro', - 'variables': { - 'bro': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bro<(EXECUTABLE_SUFFIX)', - }, - 'inputs': [ - '<(bro)', - '<(input_file)', - ], - 'outputs': [ - '<(output_file)', - ], - 'action': [ - '<(bro)', - '--force', - '--input', - '<(input_file)', - '--output', - '<(output_file)', - ], - 'dependencies': [ - '<(DEPTH)/third_party/brotli/brotli.gyp:bro#host', - ], -} diff --git a/third_party/brotli/brotli.gyp b/third_party/brotli/brotli.gyp deleted file mode 100644 index 59d6b7e95ea4f..0000000000000 --- a/third_party/brotli/brotli.gyp +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2013 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. - -{ - 'targets': [ - { - 'target_name': 'brotli', - 'type': 'static_library', - 'include_dirs': [ - 'dec', - ], - 'sources': [ - 'dec/bit_reader.c', - 'dec/bit_reader.h', - 'dec/context.h', - 'dec/decode.c', - 'dec/decode.h', - 'dec/dictionary.c', - 'dec/dictionary.h', - 'dec/huffman.c', - 'dec/huffman.h', - 'dec/port.h', - 'dec/prefix.h', - 'dec/state.c', - 'dec/state.h', - 'dec/transform.h', - 'dec/types.h', - ], - 'conditions': [ - ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64")', { - 'cflags!': ['-Os'], - 'cflags': ['-O2'], - }], - ], - 'toolsets': ['host', 'target'], - }, - { - 'target_name': 'bro', - 'type': 'executable', - 'dependencies': [ - 'brotli', - ], - 'sources': [ - 'enc/backward_references.cc', - 'enc/backward_references.h', - 'enc/bit_cost.h', - 'enc/block_splitter.cc', - 'enc/block_splitter.h', - 'enc/brotli_bit_stream.cc', - 'enc/brotli_bit_stream.h', - 'enc/cluster.h', - 'enc/command.h', - 'enc/compress_fragment.cc', - 'enc/compress_fragment.h', - 'enc/compress_fragment_two_pass.cc', - 'enc/compress_fragment_two_pass.h', - 'enc/compressor.h', - 'enc/context.h', - 'enc/dictionary_hash.h', - 'enc/encode.cc', - 'enc/encode.h', - 'enc/encode_parallel.cc', - 'enc/encode_parallel.h', - 'enc/entropy_encode.cc', - 'enc/entropy_encode.h', - 'enc/entropy_encode_static.h', - 'enc/fast_log.h', - 'enc/find_match_length.h', - 'enc/hash.h ', - 'enc/histogram.cc', - 'enc/histogram.h', - 'enc/literal_cost.cc', - 'enc/literal_cost.h', - 'enc/metablock.cc', - 'enc/metablock.h', - 'enc/port.h ', - 'enc/prefix.h', - 'enc/ringbuffer.h', - 'enc/static_dict.cc', - 'enc/static_dict.h', - 'enc/static_dict_lut.h', - 'enc/streams.cc', - 'enc/streams.h', - 'enc/transform.h', - 'enc/types.h', - 'enc/utf8_util.cc', - 'enc/utf8_util.h', - 'enc/write_bits.h', - 'tools/bro.cc', - ], - 'toolsets': ['host'], - 'conditions': [ - ['OS=="win" and MSVS_VERSION == "2015"', { - # Disabling "result of 32-bit shift implicitly converted to 64 bits", - # caused by code like: foo |= (1 << i); // warning 4334 - 'msvs_disabled_warnings': [ 4334, ], - }], - ], - } - ], -} diff --git a/third_party/bspatch/bspatch.gyp b/third_party/bspatch/bspatch.gyp deleted file mode 100644 index ea0e2b87bd174..0000000000000 --- a/third_party/bspatch/bspatch.gyp +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (c) 2009 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. - -{ - 'targets': [ - { - 'target_name': 'bspatch', - 'type': 'static_library', - 'dependencies': [ - '../lzma_sdk/lzma_sdk.gyp:lzma_sdk', - ], - 'include_dirs': [ - '.', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - ], - }, - 'sources': [ - 'mbspatch.cc', - 'mbspatch.h', - ], - }, - ], -} diff --git a/third_party/cacheinvalidation/cacheinvalidation.gyp b/third_party/cacheinvalidation/cacheinvalidation.gyp deleted file mode 100644 index dea1f54b5338e..0000000000000 --- a/third_party/cacheinvalidation/cacheinvalidation.gyp +++ /dev/null @@ -1,239 +0,0 @@ -# Copyright 2012 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. - -{ - 'variables': { - # This library should build cleanly with the extra warnings turned on - # for Chromium. - 'chromium_code': 1, - }, - 'targets': [ - # The C++ files generated from the cache invalidation protocol buffers. - { - # GN: //third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalidation_proto_cpp (secondary) - 'target_name': 'cacheinvalidation_proto_cpp', - 'type': 'static_library', - 'variables': { - # The relative path of the cacheinvalidation proto files from this - # gyp-file. - # TODO(akalin): Add a RULE_INPUT_DIR predefined variable to gyp so - # we don't need this variable. - 'proto_dir_relpath': 'google/cacheinvalidation', - # Where files generated from proto files are put. - 'proto_in_dir': 'src/<(proto_dir_relpath)', - 'proto_out_dir': '<(proto_dir_relpath)', - }, - 'sources': [ - '<(proto_in_dir)/android_channel.proto', - '<(proto_in_dir)/channel_common.proto', - '<(proto_in_dir)/client.proto', - '<(proto_in_dir)/client_gateway.proto', - '<(proto_in_dir)/client_protocol.proto', - '<(proto_in_dir)/client_test_internal.proto', - '<(proto_in_dir)/types.proto', - ], - 'includes': [ '../../build/protoc.gypi' ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(proto_out_dir)', - ], - }, - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - # channel_common.proto contains definition of ANDROID constant which on - # android build conflicts with compiler option -DANDROID. Remove protos - # from android build. - 'conditions': [ - ['OS=="android"', { - 'sources!': [ - '<(proto_in_dir)/android_channel.proto', - '<(proto_in_dir)/channel_common.proto', - ], - }], - ], - }, - # The main cache invalidation library. External clients should depend - # only on this. - { - # GN: //third_party/cacheinvalidation (secondary) - 'target_name': 'cacheinvalidation', - 'type': 'static_library', - 'sources': [ - 'overrides/google/cacheinvalidation/deps/callback.h', - 'overrides/google/cacheinvalidation/deps/gmock.h', - 'overrides/google/cacheinvalidation/deps/googletest.h', - 'overrides/google/cacheinvalidation/deps/logging.h', - 'overrides/google/cacheinvalidation/deps/mutex.h', - 'overrides/google/cacheinvalidation/deps/random.h', - 'overrides/google/cacheinvalidation/deps/random.cc', - 'overrides/google/cacheinvalidation/deps/sha1-digest-function.h', - 'overrides/google/cacheinvalidation/deps/scoped_ptr.h', - 'overrides/google/cacheinvalidation/deps/stl-namespace.h', - 'overrides/google/cacheinvalidation/deps/string_util.h', - 'overrides/google/cacheinvalidation/deps/time.h', - 'src/google/cacheinvalidation/deps/digest-function.h', - 'src/google/cacheinvalidation/impl/basic-system-resources.cc', - 'src/google/cacheinvalidation/impl/basic-system-resources.h', - 'src/google/cacheinvalidation/impl/checking-invalidation-listener.cc', - 'src/google/cacheinvalidation/impl/checking-invalidation-listener.h', - 'src/google/cacheinvalidation/impl/client-protocol-namespace-fix.h', - 'src/google/cacheinvalidation/impl/constants.cc', - 'src/google/cacheinvalidation/impl/constants.h', - 'src/google/cacheinvalidation/impl/digest-store.h', - 'src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.cc', - 'src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h', - 'src/google/cacheinvalidation/impl/invalidation-client-core.cc', - 'src/google/cacheinvalidation/impl/invalidation-client-core.h', - 'src/google/cacheinvalidation/impl/invalidation-client-factory.cc', - 'src/google/cacheinvalidation/impl/invalidation-client-impl.cc', - 'src/google/cacheinvalidation/impl/invalidation-client-impl.h', - 'src/google/cacheinvalidation/impl/invalidation-client-util.h', - 'src/google/cacheinvalidation/impl/log-macro.h', - 'src/google/cacheinvalidation/impl/object-id-digest-utils.cc', - 'src/google/cacheinvalidation/impl/object-id-digest-utils.h', - 'src/google/cacheinvalidation/impl/persistence-utils.cc', - 'src/google/cacheinvalidation/impl/persistence-utils.h', - 'src/google/cacheinvalidation/impl/proto-converter.cc', - 'src/google/cacheinvalidation/impl/proto-converter.h', - 'src/google/cacheinvalidation/impl/proto-helpers.h', - 'src/google/cacheinvalidation/impl/proto-helpers.cc', - 'src/google/cacheinvalidation/impl/protocol-handler.cc', - 'src/google/cacheinvalidation/impl/protocol-handler.h', - 'src/google/cacheinvalidation/impl/recurring-task.cc', - 'src/google/cacheinvalidation/impl/recurring-task.h', - 'src/google/cacheinvalidation/impl/registration-manager.cc', - 'src/google/cacheinvalidation/impl/registration-manager.h', - 'src/google/cacheinvalidation/impl/repeated-field-namespace-fix.h', - 'src/google/cacheinvalidation/impl/run-state.h', - 'src/google/cacheinvalidation/impl/safe-storage.cc', - 'src/google/cacheinvalidation/impl/safe-storage.h', - 'src/google/cacheinvalidation/impl/simple-registration-store.cc', - 'src/google/cacheinvalidation/impl/simple-registration-store.h', - 'src/google/cacheinvalidation/impl/smearer.h', - 'src/google/cacheinvalidation/impl/statistics.cc', - 'src/google/cacheinvalidation/impl/statistics.h', - 'src/google/cacheinvalidation/impl/throttle.cc', - 'src/google/cacheinvalidation/impl/throttle.h', - 'src/google/cacheinvalidation/impl/ticl-message-validator.cc', - 'src/google/cacheinvalidation/impl/ticl-message-validator.h', - 'src/google/cacheinvalidation/include/invalidation-client.h', - 'src/google/cacheinvalidation/include/invalidation-client-factory.h', - 'src/google/cacheinvalidation/include/invalidation-listener.h', - 'src/google/cacheinvalidation/include/system-resources.h', - 'src/google/cacheinvalidation/include/types.h', - ], - 'include_dirs': [ - './overrides', - './src', - ], - 'dependencies': [ - '../../base/base.gyp:base', - 'cacheinvalidation_proto_cpp', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - './overrides', - './src', - ], - }, - # We avoid including header files from - # cacheinvalidation_proto_cpp in our public header files so we - # don't need to export its settings. - 'export_dependent_settings': [ - '../../base/base.gyp:base', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [4267, ], - }, - # Unittests for the cache invalidation library. - # TODO(ghc): Write native tests and include them here. - { - # GN: //third_party/cacheinvalidation:cacheinvalidation_unittests (secondary) - 'target_name': 'cacheinvalidation_unittests', - 'type': 'executable', - 'sources': [ - 'src/google/cacheinvalidation/test/deterministic-scheduler.cc', - 'src/google/cacheinvalidation/test/deterministic-scheduler.h', - 'src/google/cacheinvalidation/test/test-logger.cc', - 'src/google/cacheinvalidation/test/test-logger.h', - 'src/google/cacheinvalidation/test/test-utils.cc', - 'src/google/cacheinvalidation/test/test-utils.h', - 'src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc', - 'src/google/cacheinvalidation/impl/protocol-handler_test.cc', - 'src/google/cacheinvalidation/impl/recurring-task_test.cc', - 'src/google/cacheinvalidation/impl/throttle_test.cc', - ], - 'dependencies': [ - '../../base/base.gyp:base', - '../../base/base.gyp:run_all_unittests', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - 'cacheinvalidation', - 'cacheinvalidation_proto_cpp', - ], - }, - ], - 'conditions': [ - ['test_isolation_mode != "noop"', { - 'targets': [ - { - # TODO(GN) - 'target_name': 'cacheinvalidation_unittests_run', - 'type': 'none', - 'dependencies': [ - 'cacheinvalidation_unittests', - ], - 'includes': [ - '../../build/isolate.gypi', - ], - 'sources': [ - 'cacheinvalidation_unittests.isolate', - ], - }, - ], - }], - ['OS == "android"', { - 'variables': { - 'emma_never_instrument': 1, - }, - 'targets': [ - { - # GN: //third_party/cacheinvalidation:cacheinvalidation_proto_java (secondary) - 'target_name': 'cacheinvalidation_proto_java', - 'type': 'none', - 'variables': { - 'proto_in_dir': '../../third_party/cacheinvalidation/src/proto', - }, - 'sources': [ - '<(proto_in_dir)/android_channel.proto', - '<(proto_in_dir)/android_listener.proto', - '<(proto_in_dir)/android_service.proto', - '<(proto_in_dir)/channel_common.proto', - '<(proto_in_dir)/client.proto', - '<(proto_in_dir)/client_protocol.proto', - '<(proto_in_dir)/java_client.proto', - '<(proto_in_dir)/types.proto', - ], - 'includes': [ '../../build/protoc_java.gypi' ], - }, - { - # GN: //third_party/cacheinvalidation:cacheinvalidation_javalib (secondary) - 'target_name': 'cacheinvalidation_javalib', - 'type': 'none', - 'dependencies': [ - '../../third_party/android_tools/android_tools.gyp:android_gcm', - '../../third_party/android_tools/android_tools.gyp:google_play_services_javalib', - 'cacheinvalidation_proto_java', - ], - 'variables': { - 'java_in_dir': '../../build/android/empty', - 'additional_src_dirs': [ 'src/java/' ], - 'run_findbugs': 0, - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], - }], - ], -} diff --git a/third_party/ced/ced.gyp b/third_party/ced/ced.gyp deleted file mode 100644 index 1123752913dd6..0000000000000 --- a/third_party/ced/ced.gyp +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (c) 2016 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. - -{ - 'includes': [ - 'ced.gypi', - '../../build/win_precompile.gypi', - ], - 'targets': [ - { - 'target_name': 'ced', - 'type': 'static_library', - 'include_dirs': [ - 'src', - ], - 'sources': [ - '<@(ced_sources)', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - }, - 'conditions': [ - ['OS == "ios"', { - 'toolsets': ['host', 'target'], - }], - ['OS=="win"', { - 'direct_dependent_settings': { - 'defines': [ - 'COMPILER_MSVC', - ], - }, - 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800, 4267], - }, { - 'direct_dependent_settings': { - 'defines': [ - 'COMPILER_GCC', - ], - }, - }], - ], - }, - { - 'target_name': 'ced_unittests', - 'type': 'executable', - 'dependencies': [ - '<(DEPTH)/testing/gtest.gyp:gtest', - '<(DEPTH)/testing/gtest.gyp:gtest_main', - 'ced', - ], - 'include_dirs': [ - '<(DEPTH)', - ], - 'sources': [ - 'src/compact_enc_det/compact_enc_det_fuzz_test.cc', - 'src/compact_enc_det/compact_enc_det_unittest.cc', - 'src/compact_enc_det/detail_head_string.inc', - 'src/util/encodings/encodings_unittest.cc', - ], - }, - ], -} diff --git a/third_party/ced/ced.gypi b/third_party/ced/ced.gypi deleted file mode 100644 index 12984fb0e2cca..0000000000000 --- a/third_party/ced/ced.gypi +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2016 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. - -{ - 'variables': { - 'ced_sources': [ - # find src -maxdepth 3 ! -type d | egrep '\.(h|cc)$' | grep -v test.cc | \ - # LC_COLLATE=c sort | sed "s/^\(.*\)$/ '\1',/" - 'src/compact_enc_det/compact_enc_det.cc', - 'src/compact_enc_det/compact_enc_det.h', - 'src/compact_enc_det/compact_enc_det_generated_tables2.h', - 'src/compact_enc_det/compact_enc_det_generated_tables.h', - 'src/compact_enc_det/compact_enc_det_hint_code.cc', - 'src/compact_enc_det/compact_enc_det_hint_code.h', - 'src/util/basictypes.h', - 'src/util/case_insensitive_hash.h', - 'src/util/commandlineflags.h', - 'src/util/encodings/encodings.cc', - 'src/util/encodings/encodings.h', - 'src/util/encodings/encodings.pb.h', - 'src/util/languages/languages.cc', - 'src/util/languages/languages.h', - 'src/util/languages/languages.pb.h', - 'src/util/logging.h', - 'src/util/port.h', - 'src/util/string_util.h', - 'src/util/varsetter.h', - ], - } -} diff --git a/third_party/ced/ced_nacl.gyp b/third_party/ced/ced_nacl.gyp deleted file mode 100644 index 54250d151072d..0000000000000 --- a/third_party/ced/ced_nacl.gyp +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (c) 2016 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. - -{ - 'includes': [ - 'ced.gypi', - '../../native_client/build/untrusted.gypi', - ], - 'target_defaults': { - 'pnacl_compile_flags': [ - '-Wno-c++11-narrowing', - '-Wno-unused-variable' - ], - }, - 'targets': [ - { - 'target_name': 'ced_nacl', - 'type': 'none', - 'include_dirs': [ - 'src', - ], - 'variables': { - 'nlib_target': 'libced_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - }, - 'sources': [ - '<@(ced_sources)', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - }, - }, - ], -} - - diff --git a/third_party/class-dump/class-dump.gyp b/third_party/class-dump/class-dump.gyp deleted file mode 100644 index e880d347fb999..0000000000000 --- a/third_party/class-dump/class-dump.gyp +++ /dev/null @@ -1,195 +0,0 @@ -# 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. - -{ - 'variables': { - 'mac_deployment_target': '10.9', - 'mac_sdk_min': '10.9', - }, - 'targets': [ - { - # GN version //third_party/class-dump(//build/toolchain/mac:clang_x64) - 'target_name': 'class-dump', - 'toolsets': ['host'], - 'type': 'executable', - 'sources': [ - 'src/class-dump.m', - 'src/Source/CDBalanceFormatter.h', - 'src/Source/CDBalanceFormatter.m', - 'src/Source/CDClassDump.h', - 'src/Source/CDClassDump.m', - 'src/Source/CDClassDumpVisitor.h', - 'src/Source/CDClassDumpVisitor.m', - 'src/Source/CDClassFrameworkVisitor.h', - 'src/Source/CDClassFrameworkVisitor.m', - 'src/Source/CDDataCursor.h', - 'src/Source/CDDataCursor.m', - 'src/Source/CDExtensions.h', - 'src/Source/CDFatArch.h', - 'src/Source/CDFatArch.m', - 'src/Source/CDFatFile.h', - 'src/Source/CDFatFile.m', - 'src/Source/CDFile.h', - 'src/Source/CDFile.m', - 'src/Source/CDFindMethodVisitor.h', - 'src/Source/CDFindMethodVisitor.m', - 'src/Source/CDLCDataInCode.h', - 'src/Source/CDLCDataInCode.m', - 'src/Source/CDLCDyldInfo.h', - 'src/Source/CDLCDyldInfo.m', - 'src/Source/CDLCDylib.h', - 'src/Source/CDLCDylib.m', - 'src/Source/CDLCDylinker.h', - 'src/Source/CDLCDylinker.m', - 'src/Source/CDLCDynamicSymbolTable.h', - 'src/Source/CDLCDynamicSymbolTable.m', - 'src/Source/CDLCEncryptionInfo.h', - 'src/Source/CDLCEncryptionInfo.m', - 'src/Source/CDLCFunctionStarts.h', - 'src/Source/CDLCFunctionStarts.m', - 'src/Source/CDLCLinkeditData.h', - 'src/Source/CDLCLinkeditData.m', - 'src/Source/CDLCMain.h', - 'src/Source/CDLCMain.m', - 'src/Source/CDLCPrebindChecksum.h', - 'src/Source/CDLCPrebindChecksum.m', - 'src/Source/CDLCPreboundDylib.h', - 'src/Source/CDLCPreboundDylib.m', - 'src/Source/CDLCRoutines32.h', - 'src/Source/CDLCRoutines32.m', - 'src/Source/CDLCRoutines64.h', - 'src/Source/CDLCRoutines64.m', - 'src/Source/CDLCRunPath.h', - 'src/Source/CDLCRunPath.m', - 'src/Source/CDLCSegment.h', - 'src/Source/CDLCSegment.m', - 'src/Source/CDLCSourceVersion.h', - 'src/Source/CDLCSourceVersion.m', - 'src/Source/CDLCSubClient.h', - 'src/Source/CDLCSubClient.m', - 'src/Source/CDLCSubFramework.h', - 'src/Source/CDLCSubFramework.m', - 'src/Source/CDLCSubLibrary.h', - 'src/Source/CDLCSubLibrary.m', - 'src/Source/CDLCSubUmbrella.h', - 'src/Source/CDLCSubUmbrella.m', - 'src/Source/CDLCSymbolTable.h', - 'src/Source/CDLCSymbolTable.m', - 'src/Source/CDLCTwoLevelHints.h', - 'src/Source/CDLCTwoLevelHints.m', - 'src/Source/CDLCUnixThread.h', - 'src/Source/CDLCUnixThread.m', - 'src/Source/CDLCUnknown.h', - 'src/Source/CDLCUnknown.m', - 'src/Source/CDLCUUID.h', - 'src/Source/CDLCUUID.m', - 'src/Source/CDLCVersionMinimum.h', - 'src/Source/CDLCVersionMinimum.m', - 'src/Source/CDLoadCommand.h', - 'src/Source/CDLoadCommand.m', - 'src/Source/CDMachOFile.h', - 'src/Source/CDMachOFile.m', - 'src/Source/CDMachOFileDataCursor.h', - 'src/Source/CDMachOFileDataCursor.m', - 'src/Source/CDMethodType.h', - 'src/Source/CDMethodType.m', - 'src/Source/CDMultiFileVisitor.h', - 'src/Source/CDMultiFileVisitor.m', - 'src/Source/CDObjectiveC1Processor.h', - 'src/Source/CDObjectiveC1Processor.m', - 'src/Source/CDObjectiveC2Processor.h', - 'src/Source/CDObjectiveC2Processor.m', - 'src/Source/CDObjectiveCProcessor.h', - 'src/Source/CDObjectiveCProcessor.m', - 'src/Source/CDOCCategory.h', - 'src/Source/CDOCCategory.m', - 'src/Source/CDOCClass.h', - 'src/Source/CDOCClass.m', - 'src/Source/CDOCClassReference.h', - 'src/Source/CDOCClassReference.m', - 'src/Source/CDOCInstanceVariable.h', - 'src/Source/CDOCInstanceVariable.m', - 'src/Source/CDOCMethod.h', - 'src/Source/CDOCMethod.m', - 'src/Source/CDOCModule.h', - 'src/Source/CDOCModule.m', - 'src/Source/CDOCProperty.h', - 'src/Source/CDOCProperty.m', - 'src/Source/CDOCProtocol.h', - 'src/Source/CDOCProtocol.m', - 'src/Source/CDOCSymtab.h', - 'src/Source/CDOCSymtab.m', - 'src/Source/CDProtocolUniquer.h', - 'src/Source/CDProtocolUniquer.m', - 'src/Source/CDRelocationInfo.h', - 'src/Source/CDRelocationInfo.m', - 'src/Source/CDSearchPathState.h', - 'src/Source/CDSearchPathState.m', - 'src/Source/CDSection.h', - 'src/Source/CDSection.m', - 'src/Source/CDStructureInfo.h', - 'src/Source/CDStructureInfo.m', - 'src/Source/CDStructureTable.h', - 'src/Source/CDStructureTable.m', - 'src/Source/CDSymbol.h', - 'src/Source/CDSymbol.m', - 'src/Source/CDTextClassDumpVisitor.h', - 'src/Source/CDTextClassDumpVisitor.m', - 'src/Source/CDTopologicalSortProtocol.h', - 'src/Source/CDTopoSortNode.h', - 'src/Source/CDTopoSortNode.m', - 'src/Source/CDType.h', - 'src/Source/CDType.m', - 'src/Source/CDTypeController.h', - 'src/Source/CDTypeController.m', - 'src/Source/CDTypeFormatter.h', - 'src/Source/CDTypeFormatter.m', - 'src/Source/CDTypeLexer.h', - 'src/Source/CDTypeLexer.m', - 'src/Source/CDTypeName.h', - 'src/Source/CDTypeName.m', - 'src/Source/CDTypeParser.h', - 'src/Source/CDTypeParser.m', - 'src/Source/CDVisitor.h', - 'src/Source/CDVisitor.m', - 'src/Source/CDVisitorPropertyState.h', - 'src/Source/CDVisitorPropertyState.m', - 'src/Source/NSArray-CDExtensions.h', - 'src/Source/NSArray-CDExtensions.m', - 'src/Source/NSData-CDExtensions.h', - 'src/Source/NSData-CDExtensions.m', - 'src/Source/NSError-CDExtensions.h', - 'src/Source/NSError-CDExtensions.m', - 'src/Source/NSScanner-CDExtensions.h', - 'src/Source/NSScanner-CDExtensions.m', - 'src/Source/NSString-CDExtensions.h', - 'src/Source/NSString-CDExtensions.m', - 'src/Source/ULEB128.h', - 'src/Source/ULEB128.m', - 'src/Source/cd_objc2.h', - ], - 'variables': { - 'clang_warning_flags': [ - # hundreds of technically incorrect calls to stringWithFormat - '-Wno-format', - # e.g. CDRebaseTypeDescription in CDLCDyldInfo.m - '-Wno-unused-function', - ], - }, - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', - ], - }, - 'include_dirs': [ - 'src/Source', - ], - 'xcode_settings': { - 'GCC_PREFIX_HEADER': 'src/class-dump-Prefix.pch', - 'CLANG_ENABLE_OBJC_ARC': 'YES', - 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', - }, - }, - ], # targets -} diff --git a/third_party/cld_2/cld_2.gyp b/third_party/cld_2/cld_2.gyp deleted file mode 100644 index ab89beb46bb9c..0000000000000 --- a/third_party/cld_2/cld_2.gyp +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2013 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. - -# MAINTAINERS: -# See the BUILD.gn file for more extensive comments and documentation. This -# .gyp file exists only for compatibility with gyp. The variables defined below -# are used in equivalent targets in BUILD.GN. - -{ - 'variables': { - # These sources need to be included in both static and dynamic builds as - # well as the dynamic data tool. - 'cld2_core_sources': [ - 'src/internal/cld2tablesummary.h', - 'src/internal/cldutil.h', - 'src/internal/cldutil_shared.h', - 'src/internal/compact_lang_det_hint_code.h', - 'src/internal/compact_lang_det_impl.h', - 'src/internal/debug.h', - 'src/internal/fixunicodevalue.h', - 'src/internal/generated_language.h', - 'src/internal/generated_ulscript.h', - 'src/internal/getonescriptspan.h', - 'src/internal/integral_types.h', - 'src/internal/lang_script.h', - 'src/internal/langspan.h', - 'src/internal/offsetmap.h', - 'src/internal/port.h', - 'src/internal/scoreonescriptspan.h', - 'src/internal/stringpiece.h', - 'src/internal/tote.h', - 'src/internal/utf8prop_lettermarkscriptnum.h', - 'src/internal/utf8repl_lettermarklower.h', - 'src/internal/utf8scannot_lettermarkspecial.h', - 'src/internal/utf8statetable.h', - 'src/public/compact_lang_det.h', - 'src/public/encodings.h', - ], - - # These sources may have different compilation results based on flags. - 'cld2_core_impl_sources': [ - 'src/internal/cldutil.cc', - 'src/internal/cldutil_shared.cc', - 'src/internal/compact_lang_det.cc', - 'src/internal/compact_lang_det_hint_code.cc', - 'src/internal/compact_lang_det_impl.cc', - 'src/internal/debug_empty.cc', - 'src/internal/fixunicodevalue.cc', - 'src/internal/generated_entities.cc', - 'src/internal/generated_language.cc', - 'src/internal/generated_ulscript.cc', - 'src/internal/getonescriptspan.cc', - 'src/internal/lang_script.cc', - 'src/internal/offsetmap.cc', - 'src/internal/scoreonescriptspan.cc', - 'src/internal/tote.cc', - 'src/internal/utf8statetable.cc', - ], - - # These sources are for both small-table and large-table data sets. - 'cld2_data_sources': [ - 'src/internal/cld2_generated_cjk_compatible.cc', - 'src/internal/cld2_generated_deltaoctachrome.cc', - 'src/internal/cld2_generated_distinctoctachrome.cc', - 'src/internal/cld_generated_cjk_delta_bi_4.cc', - 'src/internal/cld_generated_cjk_uni_prop_80.cc', - 'src/internal/cld_generated_score_quad_octa_2.cc', - 'src/internal/generated_distinct_bi_0.cc', - ], - - # Used when cld2_table_size == 0 (small tables) - # See 'cld2_table_size' in build/common.gypi for more information. - 'cld2_data_smallest_sources': [ - 'src/internal/cld2_generated_quadchrome_16.cc' - ], - - # Used when cld2_table_size == 2 (large tables) - # See 'cld2_table_size' in build/common.gypi for more information. - 'cld2_data_largest_sources': [ - 'src/internal/cld2_generated_quadchrome_2.cc' - ], - }, - - 'targets': [ - { - # GN version: //third_party/cld_2 - 'target_name': 'cld_2', - 'type': 'static_library', - 'include_dirs': [ - 'src/internal', - 'src/public', - ], - 'sources': [ - '<@(cld2_core_sources)', - '<@(cld2_core_impl_sources)', - '<@(cld2_data_sources)', - ], - 'conditions': [ - ['OS=="win"', { - 'msvs_disabled_warnings': [4267], # size_t -> int conversion. - }], - ['cld2_table_size==0', { - 'sources+': ['<@(cld2_data_smallest_sources)'] - }], - ['cld2_table_size==2', { - 'sources+': ['<@(cld2_data_largest_sources)'] - }], - ], - 'variables': { - 'clang_warning_flags': [ - # The generated files don't have braces around subobject initializers. - '-Wno-missing-braces', - # cld_2 contains unused private fields, - # https://code.google.com/p/cld2/issues/detail?id=37 - '-Wno-unused-private-field', - ], - }, - }, - ], -} diff --git a/third_party/codesighs/codesighs.gyp b/third_party/codesighs/codesighs.gyp deleted file mode 100644 index 6f7311e25e7fd..0000000000000 --- a/third_party/codesighs/codesighs.gyp +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright (c) 2009 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. - -{ - 'target_defaults': { - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267, ], - }, - 'targets': [ - { - 'target_name': 'codesighs', - 'type': 'executable', - 'sources': [ - 'codesighs.c', - ], - }, - { - 'target_name': 'maptsvdifftool', - 'type': 'executable', - 'sources': [ - 'maptsvdifftool.c', - ], - }, - ], - 'conditions': [ - ['OS=="win"', { - 'targets': [ - { - 'target_name': 'msmap2tsv', - 'type': 'executable', - 'sources': [ - 'msmap2tsv.c', - ], - 'link_settings': { - 'libraries': [ - '-lDbgHelp.lib', - ], - }, - }, - { - 'target_name': 'msdump2symdb', - 'type': 'executable', - 'sources': [ - 'msdump2symdb.c', - ], - }, - ], - }, { # else: OS != "windows" - 'targets': [ - { - 'target_name': 'nm2tsv', - 'type': 'executable', - 'sources': [ - 'nm2tsv.c', - ], - }, - ], - }], - ], -} diff --git a/third_party/custom_tabs_client/custom_tabs_client.gyp b/third_party/custom_tabs_client/custom_tabs_client.gyp deleted file mode 100644 index 1ac57c8ef214d..0000000000000 --- a/third_party/custom_tabs_client/custom_tabs_client.gyp +++ /dev/null @@ -1,65 +0,0 @@ -# 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. - -{ - 'targets': [ - { - 'target_name': 'custom_tabs_client_example_apk', - 'type': 'none', - 'variables': { - 'java_in_dir': 'src/Application/src/main/', - 'java_in_dir_suffix': 'java/', - 'resource_dir': '<(java_in_dir)/res', - 'apk_name': 'CustomTabsClientExample', - 'run_findbugs': 0, - }, - 'dependencies': [ - 'custom_tabs_support_lib', - 'custom_tabs_client_shared_lib', - ], - 'includes': [ '../../build/java_apk.gypi' ], - }, - { - 'target_name': 'custom_tabs_client_shared_lib', - 'type': 'none', - 'variables': { - 'java_in_dir': 'src/shared/src/main/java/org/chromium/customtabsclient/shared/', - 'java_in_dir_suffix': '', - }, - 'dependencies': [ - 'custom_tabs_support_lib', - ], - 'includes': [ '../../build/java.gypi' ], - }, - { - 'target_name': 'custom_tabs_support_lib', - 'type': 'none', - 'variables': { - 'java_in_dir': 'src/customtabs/src/', - 'java_in_dir_suffix': '', - }, - 'dependencies': [ - 'chrome_custom_tabs_service_aidl', - '../android_tools/android_tools.gyp:android_support_v13_javalib', - ], - 'includes': [ '../../build/java.gypi' ], - }, - { - 'target_name': "chrome_custom_tabs_service_aidl", - 'type': 'none', - 'variables': { - 'java_in_dir': 'src/customtabs/src/android/support/customtabs/', - 'java_in_dir_suffix': '', - # The filename should not end with ".aidl", as it upsets gradle. - # 'aidl_interface_file': '<(java_in_dir)/common.aidl.txt', - 'aidl_interface_file': 'common.aidl', - }, - 'sources': [ - '<(java_in_dir)/ICustomTabsCallback.aidl', - '<(java_in_dir)/ICustomTabsService.aidl', - ], - 'includes': [ '../../build/java_aidl.gypi' ], - }, - ], -} diff --git a/third_party/decklink/decklink.gyp b/third_party/decklink/decklink.gyp deleted file mode 100644 index 30772c48ffffc..0000000000000 --- a/third_party/decklink/decklink.gyp +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2014 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. - -# GN version: //third_party/decklink -{ - 'conditions': [ - ['OS=="mac"', { - 'targets': [ - { - 'target_name': 'decklink', - 'type': 'static_library', - 'sources' : [ - 'mac/include/DeckLinkAPIDispatch.cpp', - ], - }, # target decklink - ] - }], - ] -} diff --git a/third_party/dom_distiller_js/dom_distiller_js.gyp b/third_party/dom_distiller_js/dom_distiller_js.gyp deleted file mode 100644 index 5e2cdf5b71569..0000000000000 --- a/third_party/dom_distiller_js/dom_distiller_js.gyp +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2014 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. -{ - 'targets': [ - { - # GN version: //third_party/dom_distiller_js:proto - 'target_name': 'dom_distiller_js_proto', - 'type': 'static_library', - 'sources': [ 'dist/proto/dom_distiller.proto', ], - 'variables': { - 'proto_in_dir': 'dist/proto', - 'proto_out_dir': 'third_party/dom_distiller_js', - }, - 'direct_dependent_settings': { - 'include_dirs': ['dist/proto_gen'], - }, - 'includes': [ '../../build/protoc.gypi', ], - } - ] -} - diff --git a/third_party/elfutils/elfutils.gyp b/third_party/elfutils/elfutils.gyp deleted file mode 100644 index 0df7eb4f4014f..0000000000000 --- a/third_party/elfutils/elfutils.gyp +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - 'target_name': 'libelf', - 'toolsets': ['host'], - 'type': 'static_library', - 'defines': [ - '_GNU_SOURCE', - 'HAVE_CONFIG_H', - ], - 'cflags': [ - '-std=gnu99', - '-Wall', - '-Wshadow', - '-Werror', - '-Wunused', - '-Wextra', - '-Wformat=2', - ], - 'include_dirs': [ - '.', - './src/libelf', - './src/lib', - ], - 'sources': [ - 'config.h', - - 'src/libelf/abstract.h', - 'src/libelf/common.h', - 'src/libelf/dl-hash.h', - 'src/libelf/elf.h', - 'src/libelf/elf-knowledge.h', - 'src/libelf/exttypes.h', - 'src/libelf/gelf.h', - 'src/libelf/gelf_xlate.h', - 'src/libelf/gnuhash_xlate.h', - 'src/libelf/libelf.h', - 'src/libelf/libelfP.h', - 'src/libelf/nlist.h', - 'src/libelf/note_xlate.h', - 'src/libelf/version_xlate.h', - - 'src/libelf/elf32_checksum.c', - 'src/libelf/elf32_fsize.c', - 'src/libelf/elf32_getehdr.c', - 'src/libelf/elf32_getphdr.c', - 'src/libelf/elf32_getshdr.c', - 'src/libelf/elf32_newehdr.c', - 'src/libelf/elf32_newphdr.c', - 'src/libelf/elf32_offscn.c', - 'src/libelf/elf32_updatefile.c', - 'src/libelf/elf32_updatenull.c', - 'src/libelf/elf32_xlatetof.c', - 'src/libelf/elf32_xlatetom.c', - 'src/libelf/elf64_checksum.c', - 'src/libelf/elf64_fsize.c', - 'src/libelf/elf64_getehdr.c', - 'src/libelf/elf64_getphdr.c', - 'src/libelf/elf64_getshdr.c', - 'src/libelf/elf64_newehdr.c', - 'src/libelf/elf64_newphdr.c', - 'src/libelf/elf64_offscn.c', - 'src/libelf/elf64_updatefile.c', - 'src/libelf/elf64_updatenull.c', - 'src/libelf/elf64_xlatetof.c', - 'src/libelf/elf64_xlatetom.c', - 'src/libelf/elf_begin.c', - 'src/libelf/elf_clone.c', - 'src/libelf/elf_cntl.c', - 'src/libelf/elf_end.c', - 'src/libelf/elf_error.c', - 'src/libelf/elf_fill.c', - 'src/libelf/elf_flagdata.c', - 'src/libelf/elf_flagehdr.c', - 'src/libelf/elf_flagelf.c', - 'src/libelf/elf_flagphdr.c', - 'src/libelf/elf_flagscn.c', - 'src/libelf/elf_flagshdr.c', - 'src/libelf/elf_getarhdr.c', - 'src/libelf/elf_getaroff.c', - 'src/libelf/elf_getarsym.c', - 'src/libelf/elf_getbase.c', - 'src/libelf/elf_getdata.c', - 'src/libelf/elf_getdata_rawchunk.c', - 'src/libelf/elf_getident.c', - 'src/libelf/elf_getphdrnum.c', - 'src/libelf/elf_getscn.c', - 'src/libelf/elf_getshdrnum.c', - 'src/libelf/elf_getshdrstrndx.c', - 'src/libelf/elf_gnu_hash.c', - 'src/libelf/elf_hash.c', - 'src/libelf/elf_kind.c', - 'src/libelf/elf_memory.c', - 'src/libelf/elf_ndxscn.c', - 'src/libelf/elf_newdata.c', - 'src/libelf/elf_newscn.c', - 'src/libelf/elf_next.c', - 'src/libelf/elf_nextscn.c', - 'src/libelf/elf_rand.c', - 'src/libelf/elf_rawdata.c', - 'src/libelf/elf_rawfile.c', - 'src/libelf/elf_readall.c', - 'src/libelf/elf_scnshndx.c', - 'src/libelf/elf_strptr.c', - 'src/libelf/elf_update.c', - 'src/libelf/elf_version.c', - 'src/libelf/gelf_checksum.c', - 'src/libelf/gelf_fsize.c', - 'src/libelf/gelf_getauxv.c', - 'src/libelf/gelf_getclass.c', - 'src/libelf/gelf_getdyn.c', - 'src/libelf/gelf_getehdr.c', - 'src/libelf/gelf_getlib.c', - 'src/libelf/gelf_getmove.c', - 'src/libelf/gelf_getnote.c', - 'src/libelf/gelf_getphdr.c', - 'src/libelf/gelf_getrela.c', - 'src/libelf/gelf_getrel.c', - 'src/libelf/gelf_getshdr.c', - 'src/libelf/gelf_getsym.c', - 'src/libelf/gelf_getsyminfo.c', - 'src/libelf/gelf_getsymshndx.c', - 'src/libelf/gelf_getverdaux.c', - 'src/libelf/gelf_getverdef.c', - 'src/libelf/gelf_getvernaux.c', - 'src/libelf/gelf_getverneed.c', - 'src/libelf/gelf_getversym.c', - 'src/libelf/gelf_newehdr.c', - 'src/libelf/gelf_newphdr.c', - 'src/libelf/gelf_offscn.c', - 'src/libelf/gelf_update_auxv.c', - 'src/libelf/gelf_update_dyn.c', - 'src/libelf/gelf_update_ehdr.c', - 'src/libelf/gelf_update_lib.c', - 'src/libelf/gelf_update_move.c', - 'src/libelf/gelf_update_phdr.c', - 'src/libelf/gelf_update_rela.c', - 'src/libelf/gelf_update_rel.c', - 'src/libelf/gelf_update_shdr.c', - 'src/libelf/gelf_update_sym.c', - 'src/libelf/gelf_update_syminfo.c', - 'src/libelf/gelf_update_symshndx.c', - 'src/libelf/gelf_update_verdaux.c', - 'src/libelf/gelf_update_verdef.c', - 'src/libelf/gelf_update_vernaux.c', - 'src/libelf/gelf_update_verneed.c', - 'src/libelf/gelf_update_versym.c', - 'src/libelf/gelf_xlate.c', - 'src/libelf/gelf_xlatetof.c', - 'src/libelf/gelf_xlatetom.c', - 'src/libelf/libelf_crc32.c', - 'src/libelf/libelf_next_prime.c', - 'src/libelf/nlist.c', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - './src/libelf', - ], - }, - }], -} diff --git a/third_party/errorprone/errorprone.gyp b/third_party/errorprone/errorprone.gyp deleted file mode 100644 index c9bb4832fe2e0..0000000000000 --- a/third_party/errorprone/errorprone.gyp +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'errorprone_script_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone', - }, - 'targets': [ - { - # GN: //third_party/errorprone:error_prone_annotation_java - 'target_name': 'error_prone_annotation_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/error_prone_annotation-2.0.5.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/errorprone:error_prone_annotations_java - 'target_name': 'error_prone_annotations_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/error_prone_annotations-2.0.5.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/errorprone:dataflow_java - 'target_name': 'dataflow_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/dataflow-1.8.10.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/errorprone:javacutil_java - 'target_name': 'javacutil_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/javacutil-1.8.10.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/errorprone:javac_java - 'target_name': 'javac_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/javac-1.9.0-dev-r2644-1.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/errorprone:chromium_errorprone - 'target_name': 'chromium_errorprone', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/error_prone_core-2.0.5.jar', - }, - 'dependencies': [ - '../../third_party/findbugs/findbugs.gyp:format_string_jar', - 'error_prone_annotation_jar', - 'error_prone_annotations_jar', - 'dataflow_jar', - 'javac_jar', - 'javacutil_jar', - ], - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ], - 'actions': [ - { - 'action_name': 'create_errorprone_binary_script', - 'inputs': [ - '<(DEPTH)/build/android/gyp/create_java_binary_script.py', - '<(DEPTH)/build/android/gyp/util/build_utils.py', - # Ensure that the script is touched when the jar is. - '<(jar_path)', - ], - 'outputs': [ - '<(errorprone_script_path)', - ], - 'action': [ - 'python', '<(DEPTH)/build/android/gyp/create_java_binary_script.py', - '--output', '<(PRODUCT_DIR)/bin.java/chromium_errorprone', - # TODO(mikecase): Remove this extra arg when the bots are on jdk8 or higher. - '--bootclasspath', '<(PRODUCT_DIR)/lib.java/javac_jar.jar', - '--jar-path=<(jar_path)', - '--classpath=>@(input_jars_paths)', - '--main-class=com.google.errorprone.ErrorProneCompiler', - ], - }, - ], - }, - { - # This emulates gn's datadeps fields. We don't want the errorprone jars - # to be added to the classpaths of targets that depend on errorprone. - 'target_name': 'require_errorprone', - 'type': 'none', - 'actions': [ - { - 'action_name': 'require_errorprone', - 'message': 'Making sure errorprone has been built.', - 'variables': { - 'required_file': '<(PRODUCT_DIR)/bin.java/errorprone.required', - }, - 'inputs': [ - '<(errorprone_script_path)', - ], - 'outputs': [ - '<(required_file)', - ], - 'action': [ - 'python', '../../build/android/gyp/touch.py', '<(required_file)', - ], - }, - ], - }, - ], -} diff --git a/third_party/expat/expat.gyp b/third_party/expat/expat.gyp deleted file mode 100644 index 145e7481405d6..0000000000000 --- a/third_party/expat/expat.gyp +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'conditions': [ - # On Linux, we implicitly already depend on expat via fontconfig; - # let's not pull it in twice. - ['os_posix==1 and OS!="mac" and OS!="ios" and OS!="android" and chromecast!=1', { - 'use_system_expat%': 1, - }, { - 'use_system_expat%': 0, - }], - ], - }, - 'target_defaults': { - 'defines': [ - '_LIB', - 'XML_STATIC', # Compile for static linkage. - ], - 'include_dirs': [ - 'files/lib', - ], - }, - 'conditions': [ - ['use_system_expat == 1', { - 'targets': [ - { - 'target_name': 'expat', - 'type': 'none', - 'link_settings': { - 'libraries': [ - '-lexpat', - ], - }, - }, - ], - }, { # else: use_system_expat != 1 - 'targets': [ - { - 'target_name': 'expat', - 'type': 'static_library', - 'sources': [ - 'files/lib/expat.h', - 'files/lib/xmlparse.c', - 'files/lib/xmlrole.c', - 'files/lib/xmltok.c', - ], - - # Prefer adding a dependency to expat and relying on the following - # direct_dependent_settings rule over manually adding the include - # path. This is because you'll want any translation units that - # #include these files to pick up the #defines as well. - 'direct_dependent_settings': { - 'include_dirs': [ - 'files/lib' - ], - 'defines': [ - 'XML_STATIC', # Tell dependants to expect static linkage. - ], - }, - 'conditions': [ - ['OS=="win"', { - 'defines': [ - 'COMPILED_FROM_DSP', - ], - }], - ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1 or chromecast==1', { - 'defines': [ - 'HAVE_EXPAT_CONFIG_H', - ], - }], - ], - }, - ], - }], - ], -} diff --git a/third_party/expat/expat_nacl.gyp b/third_party/expat/expat_nacl.gyp deleted file mode 100644 index ea7811c191baa..0000000000000 --- a/third_party/expat/expat_nacl.gyp +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - '../../native_client/build/untrusted.gypi', - ], - 'targets': [ - { - 'target_name': 'expat_nacl', - 'type': 'none', - 'variables': { - 'nlib_target': 'libexpat_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - }, - 'sources': [ - 'files/lib/expat.h', - 'files/lib/xmlparse.c', - 'files/lib/xmlrole.c', - 'files/lib/xmltok.c', - ], - 'include_dirs': [ - 'files/lib', - ], - 'defines': [ - '_LIB', - 'XML_STATIC', - 'HAVE_MEMMOVE', - ], - 'compile_flags': [ - '-Wno-enum-conversion', - '-Wno-switch', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'files/lib' - ], - 'defines': [ - 'XML_STATIC', # Tell dependants to expect static linkage. - ], - }, - }, - ], -} diff --git a/third_party/fips181/fips181.gyp b/third_party/fips181/fips181.gyp deleted file mode 100644 index 23c9c05ef2fb6..0000000000000 --- a/third_party/fips181/fips181.gyp +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - 'target_name': 'fips181', - 'type': 'static_library', - 'include_dirs': [ - '.', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - ], - }, - 'sources': [ - 'convert.cc', - 'convert.h', - 'fips181.cc', - 'fips181.h', - 'owntypes.h', - 'randpass.cc', - 'randpass.h', - 'smbl.h', - ], - 'dependencies': [ - '../../base/base.gyp:base', - ], - }, - ], -} diff --git a/third_party/flatbuffers/flatbuffers.gyp b/third_party/flatbuffers/flatbuffers.gyp deleted file mode 100644 index 7907cfe5126cb..0000000000000 --- a/third_party/flatbuffers/flatbuffers.gyp +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - 'target_name': 'compiler_files', - 'type': 'static_library', - 'toolsets': ['host'], - 'include_dirs': [ - 'src/include', - ], - 'sources': [ - 'src/src/idl_gen_cpp.cpp', - 'src/src/idl_gen_fbs.cpp', - 'src/src/idl_gen_general.cpp', - 'src/src/idl_gen_go.cpp', - 'src/src/idl_gen_js.cpp', - 'src/src/idl_gen_php.cpp', - 'src/src/idl_gen_python.cpp', - 'src/src/idl_gen_text.cpp', - 'src/src/idl_parser.cpp', - 'src/src/reflection.cpp', - 'src/src/util.cpp', - 'src/include/flatbuffers/code_generators.h', - 'src/include/flatbuffers/idl.h', - 'src/include/flatbuffers/util.h', - ], - }, - { - 'target_name': 'flatbuffers', - 'type': 'none', - 'toolsets': ['host', 'target'], - 'include_dirs': [ - 'src/include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/include', - ], - }, - 'sources': [ - 'src/include/flatbuffers/flatbuffers.h', - 'src/include/flatbuffers/hash.h', - ] - }, - { - 'target_name': 'flatc', - 'type': 'executable', - 'toolsets': ['host'], - 'dependencies': [ - 'compiler_files', - 'flatbuffers', - ], - 'sources': [ - 'src/src/flatc.cpp', - ], - }, - - # The following is just for testing. - { - 'target_name': 'flatbuffers_samplebuffer', - 'type': 'static_library', - 'sources': [ - # Disabled as workaround for crbug.com/611351. - # 'src/tests/include_test1.fbs', - # 'src/tests/include_test2.fbs', - 'src/tests/monster_test.fbs', - 'src/tests/namespace_test/namespace_test1.fbs', - 'src/tests/namespace_test/namespace_test2.fbs', - ], - 'variables': { - 'flatc_out_dir': '.', - }, - 'includes': [ 'flatc.gypi' ], - 'dependencies': [ - ':flatbuffers', - ], - }, - { - # Note that you need to execute this test from the flatbuffers directory: - # cd third_party/flatbuffers/ && ../../out/Debug/flatbuffers_unittest - 'target_name': 'flatbuffers_unittest', - 'type': 'executable', - 'toolsets': ['host'], - 'dependencies': [ - 'compiler_files', - 'flatbuffers' - ], - 'sources': [ - # The following files are not included in :flatbuffers - # but are listed here because test.cpp tests more than - # what will get included into Chrome (reflection and generation). - 'src/include/reflection_generated.h', - 'src/include/reflection.h', - # This is the actual test. - 'src/tests/test.cpp', - ] - } - ], -} diff --git a/third_party/flatbuffers/flatc.gypi b/third_party/flatbuffers/flatc.gypi deleted file mode 100644 index e6b1f65d833a5..0000000000000 --- a/third_party/flatbuffers/flatc.gypi +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright (c) 2016 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 is meant to be included into a target to provide a rule to invoke -# the flatc compiler in a consistent manner. -# -# To use this, create a gyp target with the following form: -# { -# 'target_name': 'my_flatc_lib', -# 'type': 'static_library', -# 'sources': [ -# 'foo.fbs', -# ], -# 'variables': { -# 'flatc_out_dir': 'dir/for/my_flatc_lib' -# }, -# 'includes': ['path/to/this/gypi/file'], -# 'dependencies': [ -# '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatbuffers', -# ] -# } -{ - 'variables': { - 'flatc': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)flatc<(EXECUTABLE_SUFFIX)', - 'cc_dir': '<(SHARED_INTERMEDIATE_DIR)/flatc_out/<(flatc_out_dir)', - }, - 'rules': [ - { - 'rule_name': 'genflatc', - 'extension': 'fbs', - 'inputs': [ - '<(flatc)', - ], - 'outputs': [ - '<(cc_dir)/<(RULE_INPUT_ROOT)_generated.h', - ], - 'action': [ - '<(flatc)', - '-c', - '-o', - '<(cc_dir)', - '<(RULE_INPUT_PATH)' - ], - 'message': 'Generating C++ code from <(RULE_INPUT_PATH)', - 'process_outputs_as_sources': 1, - } - ], - 'dependencies': [ - '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatc#host', - ], - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/flatc_out', - '<(DEPTH)', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/flatc_out', - '<(DEPTH)', - ] - }, - 'export_dependent_settings': [ - # The generated headers reference headers within flatbuffers, - # so dependencies must be able to find those headers too. - '<(DEPTH)/third_party/flatbuffers/flatbuffers.gyp:flatbuffers', - ], - # This target exports a hard dependency because it generates header - # files. - 'hard_dependency': 1, -} diff --git a/third_party/fontconfig/fontconfig.gyp b/third_party/fontconfig/fontconfig.gyp deleted file mode 100644 index 3565a7f77f243..0000000000000 --- a/third_party/fontconfig/fontconfig.gyp +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - 'target_name': 'fontconfig', - 'type': '<(component)', - 'dependencies' : [ - '../zlib/zlib.gyp:zlib', - '../../build/linux/system.gyp:freetype2', - '../libxml/libxml.gyp:libxml', - ], - 'defines': [ - 'HAVE_CONFIG_H', - 'FC_CACHEDIR="/var/cache/fontconfig"', - 'FONTCONFIG_PATH="/etc/fonts"', - ], - 'conditions': [ - ['clang==1', { - # Work around a null-conversion warning. See crbug.com/358852. - 'cflags': [ - '-Wno-non-literal-null-conversion', - ], - }], - ], - 'sources': [ - 'chromium/empty.cc', - 'src/src/fcarch.h', - 'src/src/fcatomic.c', - 'src/src/fcblanks.c', - 'src/src/fccache.c', - 'src/src/fccfg.c', - 'src/src/fccharset.c', - 'src/src/fccompat.c', - 'src/src/fcdbg.c', - 'src/src/fcdefault.c', - 'src/src/fcdir.c', - 'src/src/fcformat.c', - 'src/src/fcfreetype.c', - 'src/src/fcfs.c', - 'src/src/fchash.c', - 'src/src/fcinit.c', - 'src/src/fclang.c', - 'src/src/fclist.c', - 'src/src/fcmatch.c', - 'src/src/fcmatrix.c', - 'src/src/fcname.c', - 'src/src/fcobjs.c', - 'src/src/fcpat.c', - 'src/src/fcserialize.c', - 'src/src/fcstat.c', - 'src/src/fcstr.c', - 'src/src/fcxml.c', - 'src/src/ftglue.h', - 'src/src/ftglue.c', - ], - 'include_dirs': [ - 'src', - 'include', - 'include/src', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - }, - }, - ], -} diff --git a/third_party/freetype-android/freetype.gyp b/third_party/freetype-android/freetype.gyp deleted file mode 100644 index c5ee3e13e41a9..0000000000000 --- a/third_party/freetype-android/freetype.gyp +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'variables': { - 'ft2_dir': 'src', - }, - 'conditions': [ - [ 'OS=="android" or chromecast==1', { - 'targets': [ - { - 'target_name': 'ft2', - 'type': 'static_library', - 'sources': [ - # The following files are not sorted alphabetically, but in the - # same order as in Android.mk to ease maintenance. - '<(ft2_dir)/src/base/ftbbox.c', - '<(ft2_dir)/src/base/ftbitmap.c', - '<(ft2_dir)/src/base/ftfntfmt.c', - '<(ft2_dir)/src/base/ftfstype.c', - '<(ft2_dir)/src/base/ftglyph.c', - '<(ft2_dir)/src/base/ftlcdfil.c', - '<(ft2_dir)/src/base/ftstroke.c', - '<(ft2_dir)/src/base/fttype1.c', - '<(ft2_dir)/src/base/ftbase.c', - '<(ft2_dir)/src/base/ftsystem.c', - '<(ft2_dir)/src/base/ftinit.c', - '<(ft2_dir)/src/base/ftgasp.c', - '<(ft2_dir)/src/base/ftmm.c', - '<(ft2_dir)/src/gzip/ftgzip.c', - '<(ft2_dir)/src/raster/raster.c', - '<(ft2_dir)/src/sfnt/sfnt.c', - '<(ft2_dir)/src/smooth/smooth.c', - '<(ft2_dir)/src/autofit/autofit.c', - '<(ft2_dir)/src/truetype/truetype.c', - '<(ft2_dir)/src/cff/cff.c', - '<(ft2_dir)/src/psnames/psnames.c', - '<(ft2_dir)/src/pshinter/pshinter.c', - ], - 'dependencies': [ - '../libpng/libpng.gyp:libpng', - '../zlib/zlib.gyp:zlib', - ], - 'include_dirs': [ - 'include', - '<(ft2_dir)/include', - ], - 'defines': [ - 'FT2_BUILD_LIBRARY', - 'DARWIN_NO_CARBON', - # Long directory name to avoid accidentally using wrong headers. - 'FT_CONFIG_MODULES_H=', - 'FT_CONFIG_OPTIONS_H=', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'include', - '<(ft2_dir)/include', - ], - }, - 'conditions': [ - ['OS=="android"', { - 'toolsets': ['target'], - }, 'chromecast==1', { - 'sources': [ '<(ft2_dir)/src/base/ftbdf.c', ], - }] - ], - }, - ], - }], - ], -} diff --git a/third_party/freetype2/freetype2.gyp b/third_party/freetype2/freetype2.gyp deleted file mode 100644 index c2a279dcc2f78..0000000000000 --- a/third_party/freetype2/freetype2.gyp +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright (c) 2013 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. - -{ - 'variables': { - 'ft2_dir': 'src', - }, - 'targets': [ - { - # We use a hard-coded shared library version in product_extension - # in order to match the version used on Ubuntu Precise. - # We also disable bzip2 and the ftpatent code to match the version - # that shipped on Ubuntu Lucid. - 'target_name': 'freetype2', - 'type': 'shared_library', - 'product_name': 'freetype', - 'product_extension': 'so.6', - 'toolsets': ['target'], - 'sources': [ - '<(ft2_dir)/src/base/ftsystem.c', - '<(ft2_dir)/src/base/ftinit.c', - '<(ft2_dir)/src/base/ftdebug.c', - - '<(ft2_dir)/src/base/ftbase.c', - - '<(ft2_dir)/src/base/ftbbox.c', - '<(ft2_dir)/src/base/ftglyph.c', - - '<(ft2_dir)/src/base/ftbdf.c', - '<(ft2_dir)/src/base/ftbitmap.c', - '<(ft2_dir)/src/base/ftcid.c', - '<(ft2_dir)/src/base/ftfstype.c', - '<(ft2_dir)/src/base/ftgasp.c', - '<(ft2_dir)/src/base/ftgxval.c', - '<(ft2_dir)/src/base/ftlcdfil.c', - '<(ft2_dir)/src/base/ftmm.c', - '<(ft2_dir)/src/base/ftpfr.c', - '<(ft2_dir)/src/base/ftstroke.c', - '<(ft2_dir)/src/base/ftsynth.c', - '<(ft2_dir)/src/base/fttype1.c', - '<(ft2_dir)/src/base/ftwinfnt.c', - '<(ft2_dir)/src/base/ftxf86.c', - - '<(ft2_dir)/src/bdf/bdf.c', - '<(ft2_dir)/src/cff/cff.c', - '<(ft2_dir)/src/cid/type1cid.c', - '<(ft2_dir)/src/pcf/pcf.c', - '<(ft2_dir)/src/pfr/pfr.c', - '<(ft2_dir)/src/sfnt/sfnt.c', - '<(ft2_dir)/src/truetype/truetype.c', - '<(ft2_dir)/src/type1/type1.c', - '<(ft2_dir)/src/type42/type42.c', - '<(ft2_dir)/src/winfonts/winfnt.c', - - '<(ft2_dir)/src/psaux/psaux.c', - '<(ft2_dir)/src/psnames/psnames.c', - '<(ft2_dir)/src/pshinter/pshinter.c', - - '<(ft2_dir)/src/raster/raster.c', - '<(ft2_dir)/src/smooth/smooth.c', - - '<(ft2_dir)/src/autofit/autofit.c', - '<(ft2_dir)/src/gzip/ftgzip.c', - '<(ft2_dir)/src/lzw/ftlzw.c', - ], - 'defines': [ - 'FT_CONFIG_OPTION_SYSTEM_ZLIB', - 'FT2_BUILD_LIBRARY', - 'FT_CONFIG_CONFIG_H=', # See comments in README.chromium. - 'FT_CONFIG_MODULES_H=', # See comments in README.chromium. - ], - 'include_dirs': [ - 'include', - '<(ft2_dir)/include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'include', - '<(ft2_dir)/include', - ], - }, - 'link_settings': { - 'libraries': [ - '-lz', - ], - }, - }, - ], # targets -} diff --git a/third_party/gif_player/gif_player.gyp b/third_party/gif_player/gif_player.gyp deleted file mode 100644 index 552c1ff8fe07e..0000000000000 --- a/third_party/gif_player/gif_player.gyp +++ /dev/null @@ -1,17 +0,0 @@ -# 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. - -{ - 'targets': [ - { - 'target_name': 'gif_player_java', - 'type': 'none', - 'variables': { - 'java_in_dir': './', - 'run_findbugs': 0, - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], -} diff --git a/third_party/google_input_tools/inputview.gyp b/third_party/google_input_tools/inputview.gyp deleted file mode 100644 index b33e98b6dd0b3..0000000000000 --- a/third_party/google_input_tools/inputview.gyp +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - 'target_name': 'inputview', - 'type': 'none', - 'includes': [ 'inputview.gypi' ], - 'actions': [ - { - 'action_name': 'inputview', - 'inputs': [ - 'builder.py', - '<@(inputview_sources)', - 'inputview.gypi', - ], - 'outputs': [ - '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/resources/inputview.js', - ], - 'action': [ - 'python', - 'builder.py', - '--target', - '<@(_outputs)', - '--json_file', - 'inputview.gypi', - '--json_sources', - 'variables.inputview_sources' - ], - 'message': 'Generating <@(_outputs)' - }, - ], - }, - ], -} \ No newline at end of file diff --git a/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp b/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp deleted file mode 100644 index 1598250f3b43b..0000000000000 --- a/third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 2013 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. - -{ - 'targets': [ - { - 'target_name': 'google_toolbox_for_mac', - 'type': '<(component)', - 'include_dirs': [ - '.', - 'src', - 'src/AppKit', - 'src/DebugUtils', - 'src/Foundation', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - 'src', - 'src/AppKit', - 'src/DebugUtils', - 'src/Foundation', - ], - }, - 'sources': [ - 'src/AppKit/GTMCarbonEvent.h', - 'src/AppKit/GTMCarbonEvent.m', - 'src/AppKit/GTMFadeTruncatingTextFieldCell.h', - 'src/AppKit/GTMFadeTruncatingTextFieldCell.m', - 'src/AppKit/GTMIBArray.h', - 'src/AppKit/GTMIBArray.m', - 'src/AppKit/GTMKeyValueAnimation.h', - 'src/AppKit/GTMKeyValueAnimation.m', - 'src/AppKit/GTMNSAnimation+Duration.h', - 'src/AppKit/GTMNSAnimation+Duration.m', - 'src/AppKit/GTMNSBezierPath+CGPath.h', - 'src/AppKit/GTMNSBezierPath+CGPath.m', - 'src/AppKit/GTMNSBezierPath+RoundRect.h', - 'src/AppKit/GTMNSBezierPath+RoundRect.m', - 'src/AppKit/GTMNSColor+Luminance.h', - 'src/AppKit/GTMNSColor+Luminance.m', - 'src/AppKit/GTMUILocalizer.h', - 'src/AppKit/GTMUILocalizer.m', - 'src/AppKit/GTMUILocalizerAndLayoutTweaker.h', - 'src/AppKit/GTMUILocalizerAndLayoutTweaker.m', - 'src/DebugUtils/GTMDebugSelectorValidation.h', - 'src/DebugUtils/GTMMethodCheck.h', - 'src/DebugUtils/GTMMethodCheck.m', - 'src/DebugUtils/GTMTypeCasting.h', - 'src/Foundation/GTMLightweightProxy.h', - 'src/Foundation/GTMLightweightProxy.m', - 'src/Foundation/GTMLogger.h', - 'src/Foundation/GTMLogger.m', - 'src/Foundation/GTMNSDictionary+URLArguments.h', - 'src/Foundation/GTMNSDictionary+URLArguments.m', - 'src/Foundation/GTMNSString+URLArguments.h', - 'src/Foundation/GTMNSString+URLArguments.m', - 'src/Foundation/GTMServiceManagement.c', - 'src/Foundation/GTMServiceManagement.h', - 'src/Foundation/GTMStringEncoding.h', - 'src/Foundation/GTMStringEncoding.m', - 'src/GTMDefines.h', - 'src/iPhone/GTMFadeTruncatingLabel.h', - 'src/iPhone/GTMFadeTruncatingLabel.m', - 'src/iPhone/GTMRoundedRectPath.h', - 'src/iPhone/GTMRoundedRectPath.m', - 'src/iPhone/GTMUIImage+Resize.h', - 'src/iPhone/GTMUIImage+Resize.m', - 'src/iPhone/GTMUILocalizer.h', - 'src/iPhone/GTMUILocalizer.m', - ], - 'conditions': [ - ['component=="shared_library"', - { - # GTM is third-party code, so we don't want to add _EXPORT - # annotations to it, so build it without -fvisibility=hidden - # (else the interface class symbols will be hidden in a 64bit - # build). Only do this in a component build, so that the shipping - # chrome binary doesn't end up with unnecessarily exported - # symbols. - 'xcode_settings': { - 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', - }, - } - ], - ['OS!="ios"', { - 'sources/': [ - ['exclude', '^src/iPhone/'], - ['exclude', '^src/DebugUtils/GTMMethodCheck\\.m$'], - ['exclude', '^src/Foundation/GTMLogger\\.m$'], - ['exclude', '^src/Foundation/GTMNSDictionary\\+URLArguments\\.m$'], - ], - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/AddressBook.framework', - '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', - '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', - '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', - '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', - ], - }, - }, { # OS=="ios" - 'sources/': [ - # Exclude everything except what's needed for iOS. - ['exclude', '\\.(c|m)$'], - ['include', '^src/DebugUtils/GTMMethodCheck\\.m$'], - ['include', '^src/Foundation/GTMLightweightProxy\\.m$'], - ['include', '^src/Foundation/GTMLogger\\.m$'], - ['include', '^src/Foundation/GTMNSDictionary\\+URLArguments\\.m$'], - ['include', '^src/Foundation/GTMNSString\\+URLArguments\\.m$'], - ['include', '^src/Foundation/GTMStringEncoding\\.m$'], - ['include', '^src/iPhone/'], - ], - # TODO(crbug.com/569158): Suppresses warnings that are treated as - # errors when minimum iOS version support is increased to iOS 9. This - # should be removed once all deprecation violations have been fixed. - 'xcode_settings': { - 'WARNING_CFLAGS': ['-Wno-deprecated-declarations'], - }, - }], - ], - }, - ], -} diff --git a/third_party/haha/haha.gyp b/third_party/haha/haha.gyp deleted file mode 100644 index 5854eb235e802..0000000000000 --- a/third_party/haha/haha.gyp +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 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. - -{ - 'targets': [ - { - 'target_name': 'haha_java', - 'type': 'none', - 'variables': { - 'jar_path': 'haha-2.0.2.jar', - }, - 'includes': [ '../../build/java_prebuilt.gypi' ], - }, - ], -} diff --git a/third_party/harfbuzz-ng/harfbuzz.gyp b/third_party/harfbuzz-ng/harfbuzz.gyp deleted file mode 100644 index 335e2d4fedbe5..0000000000000 --- a/third_party/harfbuzz-ng/harfbuzz.gyp +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'includes': [ - '../../build/win_precompile.gypi', - ], - 'variables': { - # Blink uses a cutting-edge version of Harfbuzz; most Linux distros do not - # contain a new enough version of the code to work correctly. However, - # ChromeOS chroots (i.e, real ChromeOS builds for devices) do contain a - # new enough version of the library, and so this variable exists so that - # ChromeOS can build against the system lib and keep binary sizes smaller. - 'use_system_harfbuzz%': 0, - }, - 'conditions': [ - ['use_system_harfbuzz==0', { - 'targets': [ - { - 'target_name': 'harfbuzz-ng', - 'type': 'static_library', - 'defines': [ - 'HAVE_OT', - 'HAVE_ICU', - 'HAVE_ICU_BUILTIN', - 'HB_NO_MT', - ], - 'sources': [ - 'src/hb-atomic-private.hh', - 'src/hb-blob.cc', - 'src/hb-blob.h', - 'src/hb-buffer.cc', - 'src/hb-buffer-deserialize-json.hh', - 'src/hb-buffer-deserialize-text.hh', - 'src/hb-buffer.h', - 'src/hb-buffer-private.hh', - 'src/hb-buffer-serialize.cc', - 'src/hb-cache-private.hh', - 'src/hb-common.cc', - 'src/hb-common.h', - 'src/hb-deprecated.h', - 'src/hb-face.cc', - 'src/hb-face.h', - 'src/hb-face-private.hh', - 'src/hb-fallback-shape.cc', - 'src/hb-font.cc', - 'src/hb-font.h', - 'src/hb-font-private.hh', - 'src/hb.h', - 'src/hb-icu.cc', - 'src/hb-icu.h', - 'src/hb-mutex-private.hh', - 'src/hb-object-private.hh', - 'src/hb-open-file-private.hh', - 'src/hb-open-type-private.hh', - 'src/hb-ot.h', - 'src/hb-ot-font.cc', - 'src/hb-ot-font.h', - 'src/hb-ot-head-table.hh', - 'src/hb-ot-hhea-table.hh', - 'src/hb-ot-hmtx-table.hh', - 'src/hb-ot-layout.cc', - 'src/hb-ot-layout-common-private.hh', - 'src/hb-ot-layout-gdef-table.hh', - 'src/hb-ot-layout-gpos-table.hh', - 'src/hb-ot-layout-gsubgpos-private.hh', - 'src/hb-ot-layout-gsub-table.hh', - 'src/hb-ot-layout.h', - 'src/hb-ot-layout-private.hh', - 'src/hb-ot-map.cc', - 'src/hb-ot-map-private.hh', - 'src/hb-ot-maxp-table.hh', - 'src/hb-ot-name-table.hh', - 'src/hb-ot-post-table.hh', - 'src/hb-ot-shape.cc', - 'src/hb-ot-shape-complex-arabic.cc', - 'src/hb-ot-shape-complex-arabic-fallback.hh', - 'src/hb-ot-shape-complex-arabic-private.hh', - 'src/hb-ot-shape-complex-arabic-table.hh', - 'src/hb-ot-shape-complex-default.cc', - 'src/hb-ot-shape-complex-hangul.cc', - 'src/hb-ot-shape-complex-hebrew.cc', - 'src/hb-ot-shape-complex-indic.cc', - 'src/hb-ot-shape-complex-indic-machine.hh', - 'src/hb-ot-shape-complex-indic-private.hh', - 'src/hb-ot-shape-complex-indic-table.cc', - 'src/hb-ot-shape-complex-myanmar.cc', - 'src/hb-ot-shape-complex-myanmar-machine.hh', - 'src/hb-ot-shape-complex-private.hh', - 'src/hb-ot-shape-complex-thai.cc', - 'src/hb-ot-shape-complex-tibetan.cc', - 'src/hb-ot-shape-complex-use.cc', - 'src/hb-ot-shape-complex-use-machine.hh', - 'src/hb-ot-shape-complex-use-private.hh', - 'src/hb-ot-shape-complex-use-table.cc', - 'src/hb-ot-shape-fallback.cc', - 'src/hb-ot-shape-fallback-private.hh', - 'src/hb-ot-shape.h', - 'src/hb-ot-shape-normalize.cc', - 'src/hb-ot-shape-normalize-private.hh', - 'src/hb-ot-shape-private.hh', - 'src/hb-ot-tag.cc', - 'src/hb-ot-tag.h', - 'src/hb-private.hh', - 'src/hb-set.cc', - 'src/hb-set.h', - 'src/hb-set-private.hh', - 'src/hb-shape.cc', - 'src/hb-shape.h', - 'src/hb-shape-plan.cc', - 'src/hb-shape-plan.h', - 'src/hb-shape-plan-private.hh', - 'src/hb-shaper.cc', - 'src/hb-shaper-impl-private.hh', - 'src/hb-shaper-list.hh', - 'src/hb-shaper-private.hh', - 'src/hb-unicode.cc', - 'src/hb-unicode.h', - 'src/hb-unicode-private.hh', - 'src/hb-utf-private.hh', - 'src/hb-version.h', - 'src/hb-warning.cc', - ], - 'include_dirs': [ - 'src', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - }, - 'dependencies': [ - '../../third_party/icu/icu.gyp:icuuc', - ], - 'variables': { - 'clang_warning_flags': [ - '-Wno-unused-value', - # Harfbuzz uses unused typedefs for its static asserts (and its - # static asserts are strange enough that they can't be replaced - # by static_assert). - '-Wno-unused-local-typedef', - ], - }, - 'conditions': [ - ['OS=="win"', { - # TODO(eae): C4267 on amd64. size_t -> int, size_t -> unsigned int - 'msvs_disabled_warnings': [4267, 4334], - }], - ['OS=="mac"', { - 'defines': [ - 'HAVE_CORETEXT', - ], - 'sources': [ - 'src/hb-coretext.cc', - 'src/hb-coretext.h', - ], - }], - # When without -fvisibility=hidden for pango to use the harfbuzz - # in the tree, all symbols pango needs must be included, or - # pango uses mixed versions of harfbuzz and leads to crash. - # See crbug.com/462689. - ['use_pango==1 and OS=="linux" and chromeos==0 and buildtype!="Official" and target_arch!="arm" and target_arch!="mipsel"', { - 'cflags!': ['-fvisibility=hidden'], - 'sources': [ - 'src/hb-ft.cc', - 'src/hb-ft.h', - 'src/hb-glib.cc', - 'src/hb-glib.h', - ], - 'link_settings': { - 'ldflags': [ - # These symbols are referenced from libpangoft2, which will be - # dynamically linked later. - '-Wl,-uhb_ft_face_create_cached,-uhb_glib_get_unicode_funcs', - ], - }, - 'dependencies': [ - '../../build/linux/system.gyp:freetype2', - '../../build/linux/system.gyp:glib', - ], - }], - ], - }, - ], - }, { # use_system_harfbuzz==1 - 'targets': [ - { - 'target_name': 'harfbuzz-ng', - 'type': 'none', - 'cflags': [ - ' int - 'msvs_disabled_warnings': [ 4267 ], - 'conditions': [ - ['os_posix == 1 and OS != "mac" and clang==0', { - 'cflags': [ - '-Wno-unused-value', - '-Wno-unused-variable', - '-Wno-write-strings', - # affentry.hxx has NULL as default parameter for a FLAG in two - # places. - '-Wno-conversion-null', - ], - }], - ], - }, - ], -} diff --git a/third_party/iaccessible2/iaccessible2.gyp b/third_party/iaccessible2/iaccessible2.gyp deleted file mode 100644 index 753394c7e0b3c..0000000000000 --- a/third_party/iaccessible2/iaccessible2.gyp +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/iaccessible2', - }, - 'targets': [ - { - 'target_name': 'iaccessible2', - 'type': 'static_library', - 'variables': { - 'clang_warning_flags': [ - # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" - '-Wno-extra-tokens', - ], - }, - 'sources': [ - 'ia2_api_all.idl', - '<(midl_out_dir)/ia2_api_all.h', - '<(midl_out_dir)/ia2_api_all_i.c', - ], - 'hard_dependency': 1, - 'msvs_settings': { - 'VCMIDLTool': { - 'OutputDirectory': '<(midl_out_dir)', - 'DLLDataFileName': 'dlldata.c', - }, - }, - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)', - ], - }, - }, - ], -} diff --git a/third_party/iccjpeg/iccjpeg.gyp b/third_party/iccjpeg/iccjpeg.gyp deleted file mode 100644 index 780114858afb8..0000000000000 --- a/third_party/iccjpeg/iccjpeg.gyp +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'targets': [ - { - 'target_name': 'iccjpeg', - 'type': 'static_library', - 'dependencies': [ - '<(libjpeg_gyp_path):libjpeg', - ], - 'sources': [ - 'iccjpeg.c', - 'iccjpeg.h', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - ], - }, - }, - ], -} diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp deleted file mode 100644 index e6dbe692373f3..0000000000000 --- a/third_party/instrumented_libraries/instrumented_libraries.gyp +++ /dev/null @@ -1,883 +0,0 @@ -# Copyright 2013 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. - -{ - 'variables': { - 'verbose_libraries_build%': 0, - 'instrumented_libraries_jobs%': 1, - 'instrumented_libraries_cc%': '(_build_method)', - '--cc=<(_cc)', - '--cflags=>(_package_cflags)', - '--cxx=<(_cxx)', - '--extra-configure-flags=>(_extra_configure_flags)', - '--intermediate-dir=<(INTERMEDIATE_DIR)', - '--jobs=>(_jobs)', - '--ldflags=>(_package_ldflags)', - '--libdir=<(_libdir)', - '--package=<(_package_name)', - '--product-dir=<(PRODUCT_DIR)', - '--sanitizer=<(_sanitizer_type)', - ], - 'conditions': [ - ['verbose_libraries_build==1', { - 'action+': [ - '--verbose', - ], - }], - ], - 'target_conditions': [ - ['">(_patch)"!=""', { - 'action+': [ - '--patch=>(_patch)', - ], - 'inputs+': [ - '>(_patch)', - ], - }], - ['">(_pre_build)"!=""', { - 'action+': [ - '--pre-build=>(_pre_build)', - ], - 'inputs+': [ - '>(_pre_build)', - ], - }], - ['">(_<(_sanitizer_type)_blacklist)"!=""', { - 'action+': [ - '--sanitizer-blacklist=>(_<(_sanitizer_type)_blacklist)', - ], - 'inputs+': [ - '>(_<(_sanitizer_type)_blacklist)', - ], - }], - ], - }, - ], -} diff --git a/third_party/isimpledom/isimpledom.gyp b/third_party/isimpledom/isimpledom.gyp deleted file mode 100644 index 9f3fbee91e3cb..0000000000000 --- a/third_party/isimpledom/isimpledom.gyp +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'targets': [ - { - 'target_name': 'isimpledom', - 'type': 'static_library', - 'variables': { - 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom', - 'clang_warning_flags': [ - # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" - '-Wno-extra-tokens', - ], - }, - 'sources': [ - 'ISimpleDOMDocument.idl', - 'ISimpleDOMNode.idl', - 'ISimpleDOMText.idl', - '<(midl_out_dir)/ISimpleDOMDocument.h', - '<(midl_out_dir)/ISimpleDOMDocument_i.c', - '<(midl_out_dir)/ISimpleDOMNode.h', - '<(midl_out_dir)/ISimpleDOMNode_i.c', - '<(midl_out_dir)/ISimpleDOMText.h', - '<(midl_out_dir)/ISimpleDOMText_i.c', - ], - 'hard_dependency': 1, - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)', - ], - }, - 'msvs_settings': { - 'VCMIDLTool': { - 'GenerateTypeLibrary': 'false', - 'OutputDirectory': '<(midl_out_dir)', - }, - }, - }, - ], -} diff --git a/third_party/jsoncpp/jsoncpp.gyp b/third_party/jsoncpp/jsoncpp.gyp deleted file mode 100644 index ffb4eb3743b3f..0000000000000 --- a/third_party/jsoncpp/jsoncpp.gyp +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'includes': [ - 'jsoncpp.gypi', - ], - 'targets': [ - { - 'target_name': 'jsoncpp', - 'type': 'static_library', - }, - ], -} - -# Local Variables: -# tab-width:2 -# indent-tabs-mode:nil -# End: -# vim: set expandtab tabstop=2 shiftwidth=2: diff --git a/third_party/jsoncpp/jsoncpp.gypi b/third_party/jsoncpp/jsoncpp.gypi deleted file mode 100644 index dfad8051e7273..0000000000000 --- a/third_party/jsoncpp/jsoncpp.gypi +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2013 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. - -{ - 'target_defaults': { - 'defines': [ - 'JSON_USE_EXCEPTION=0', - ], - 'sources': [ - 'source/include/json/assertions.h', - 'source/include/json/autolink.h', - 'source/include/json/config.h', - 'source/include/json/features.h', - 'source/include/json/forwards.h', - 'source/include/json/json.h', - 'source/include/json/reader.h', - 'overrides/include/json/value.h', - 'source/include/json/writer.h', - 'source/src/lib_json/json_batchallocator.h', - 'overrides/src/lib_json/json_reader.cpp', - 'source/src/lib_json/json_tool.h', - 'overrides/src/lib_json/json_value.cpp', - 'source/src/lib_json/json_writer.cpp', - ], - 'include_dirs': [ - '../..', - 'overrides/include/', - 'source/include/', - 'source/src/lib_json/', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'overrides/include/', - 'source/include/', - ], - }, - }, -} diff --git a/third_party/jsoncpp/jsoncpp_nacl.gyp b/third_party/jsoncpp/jsoncpp_nacl.gyp deleted file mode 100644 index e4051fc26b5e5..0000000000000 --- a/third_party/jsoncpp/jsoncpp_nacl.gyp +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - '../../build/common_untrusted.gypi', - 'jsoncpp.gypi', - ], - 'conditions': [ - ['disable_nacl==0 and disable_nacl_untrusted==0', { - 'targets': [ - { - 'target_name': 'jsoncpp_nacl', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'libjsoncpp_nacl.a', - 'build_newlib': 1, - }, - 'compile_flags': [ - # Turn off optimizations based on strict aliasing - # because of the workaround at - # overrides/src/lib_json/json_value.cpp:38. - '-fno-strict-aliasing', - ], - }, - ], - }], - ], -} diff --git a/third_party/jsr-305/jsr-305.gyp b/third_party/jsr-305/jsr-305.gyp deleted file mode 100644 index 37af4b20a547f..0000000000000 --- a/third_party/jsr-305/jsr-305.gyp +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'jsr_305_javalib', - 'type': 'none', - 'variables': { - # The sources are not located in a folder that is called src/, so we - # need to set it in additional_src_dirs parameter instead. - 'java_in_dir': '../../build/android/empty', - 'additional_src_dirs': [ 'src/ri/' ], - }, - 'includes': [ '../../build/java.gypi' ], - }, - ] -} diff --git a/third_party/junit/junit.gyp b/third_party/junit/junit.gyp deleted file mode 100644 index 9fa92b82867ce..0000000000000 --- a/third_party/junit/junit.gyp +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2014 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. - -{ - 'targets': [ - { - # GN: //third_party/junit:hamcrest - 'target_name': 'hamcrest_jar', - 'type': 'none', - 'variables': { - 'jar_path': 'src/lib/hamcrest-core-1.1.jar', - 'enable_errorprone': '0', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/junit:junit - 'target_name': 'junit_jar', - 'type': 'none', - 'dependencies': [ - 'hamcrest_jar', - ], - 'variables': { - 'src_paths': [ 'src/src/main/java' ], - 'enable_errorprone': '0', - }, - 'includes': [ - '../../build/host_jar.gypi', - ], - }, - ], -} - diff --git a/third_party/kasko/kasko.gyp b/third_party/kasko/kasko.gyp deleted file mode 100644 index 0dc13fc2e7fc7..0000000000000 --- a/third_party/kasko/kasko.gyp +++ /dev/null @@ -1,85 +0,0 @@ -{ - 'targets': [ - { - # GN: //third_party/kasko:kasko_features - 'target_name': 'kasko_features', - 'type': 'none', - 'includes': [ '../../build/buildflag_header.gypi' ], - 'variables': { - 'buildflag_header_path': 'third_party/kasko/kasko_features.h', - 'buildflag_flags': [ - 'ENABLE_KASKO=<(kasko)', - ], - }, - }, - ], - 'conditions': [ - ['kasko==1', { - 'targets': [ - { - # GN: //third_party/kasko:copy_kasko_dll - 'target_name': 'copy_kasko_dll', - 'type': 'none', - 'variables': { - 'kasko_exe_dir': '<(DEPTH)/third_party/kasko/binaries', - }, - 'outputs': [ - '<(PRODUCT_DIR)/kasko.dll', - '<(PRODUCT_DIR)/kasko.dll.pdb', - ], - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)', - 'files': [ - '<(kasko_exe_dir)/kasko.dll', - '<(kasko_exe_dir)/kasko.dll.pdb', - ], - }, - ], - }, - { - # GN: //third_party/kasko - 'target_name': 'kasko', - 'type': 'none', - 'hard_dependency': 1, - 'dependencies': [ - 'copy_kasko_dll', - 'kasko_features', - ], - 'direct_dependent_settings': { - 'msvs_settings': { - 'VCLinkerTool': { - 'AdditionalDependencies': [ - 'kasko.dll.lib', - ], - 'AdditionalLibraryDirectories': [ - '../third_party/kasko/binaries' - ], - }, - }, - 'include_dirs': [ - '../../third_party/kasko/binaries/include', - ], - }, - 'export_dependent_settings': [ - 'kasko_features', - ] - }, - ], - }, { # 'kasko==0' - 'targets': [ - { - # GN: //third_party/kasko - 'target_name': 'kasko', - 'type': 'none', - 'dependencies': [ - 'kasko_features', - ], - 'export_dependent_settings': [ - 'kasko_features', - ] - }, - ], - }], - ], # 'conditions' -} diff --git a/third_party/khronos/khronos.gyp b/third_party/khronos/khronos.gyp deleted file mode 100644 index 8a855728d5282..0000000000000 --- a/third_party/khronos/khronos.gyp +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'khronos_headers', - 'type': 'none', - 'all_dependent_settings': { - 'include_dirs': [ - '.', - '../../gpu', # Contains GLES2/gl2chromium.h - ], - }, - }, - ], -} diff --git a/third_party/leakcanary/leakcanary.gyp b/third_party/leakcanary/leakcanary.gyp deleted file mode 100644 index eb143e781e7a8..0000000000000 --- a/third_party/leakcanary/leakcanary.gyp +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2016 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. - -{ - 'targets': [ - { - # Leak Canary added to GN only. - 'target_name': 'leakcanary_java', - 'type': 'none', - 'variables': { - 'java_in_dir': 'src/leakcanary-android-no-op/src/main', - 'java_in_dir_suffix': '/java', - }, - 'includes': [ '../../build/java.gypi' ], - }, - ], -} diff --git a/third_party/leveldatabase/leveldatabase.gyp b/third_party/leveldatabase/leveldatabase.gyp deleted file mode 100644 index 95614921bf3cf..0000000000000 --- a/third_party/leveldatabase/leveldatabase.gyp +++ /dev/null @@ -1,394 +0,0 @@ -# Copyright (c) 2011 The LevelDB Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. See the AUTHORS file for names of contributors. - -{ - 'conditions': [ - ['OS=="android"', { - 'targets': [{ - 'target_name': 'env_chromium_unittests_apk', - 'type': 'none', - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base_java', - 'env_chromium_unittests', - ], - 'variables': { - 'test_suite_name': 'env_chromium_unittests', - }, - 'includes': [ '../../build/apk_test.gypi' ], - }], - }], - ], - 'target_defaults': { - 'defines': [ - 'LEVELDB_PLATFORM_CHROMIUM=1', - ], - 'include_dirs': [ - '.', - 'src/', - 'src/include/', - ], - }, - 'targets': [ - { - 'target_name': 'leveldatabase', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - # base::LazyInstance is a template that pulls in dynamic_annotations so - # we need to explictly link in the code for dynamic_annotations. - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../third_party/re2/re2.gyp:re2', - '../../third_party/snappy/snappy.gyp:snappy', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/include/', - 'src/', - '.', - ], - }, - # Patch posted for upstream, can be removed once that's landed and - # rolled into Chromium. - # Internal link: https://mondrian.corp.google.com/#review/29997992 - 'msvs_disabled_warnings': [ - # Signed/unsigned comparison. - 4018, - - # TODO(jschuh): http://crbug.com/167187 size_t -> int - 4267, - ], - 'sources': [ - # Include and then exclude so that all files show up in IDEs, even if - # they don't build. - 'chromium_logger.h', - 'env_chromium.cc', - 'env_chromium.h', - 'port/port_chromium.cc', - 'port/port_chromium.h', - 'src/db/builder.cc', - 'src/db/builder.h', - 'src/db/db_impl.cc', - 'src/db/db_impl.h', - 'src/db/db_iter.cc', - 'src/db/db_iter.h', - 'src/db/dbformat.cc', - 'src/db/dbformat.h', - 'src/db/dumpfile.cc', - 'src/db/filename.cc', - 'src/db/filename.h', - 'src/db/log_format.h', - 'src/db/log_reader.cc', - 'src/db/log_reader.h', - 'src/db/log_writer.cc', - 'src/db/log_writer.h', - 'src/db/memtable.cc', - 'src/db/memtable.h', - 'src/db/repair.cc', - 'src/db/skiplist.h', - 'src/db/snapshot.h', - 'src/db/table_cache.cc', - 'src/db/table_cache.h', - 'src/db/version_edit.cc', - 'src/db/version_edit.h', - 'src/db/version_set.cc', - 'src/db/version_set.h', - 'src/db/write_batch.cc', - 'src/db/write_batch_internal.h', - 'src/helpers/memenv/memenv.cc', - 'src/helpers/memenv/memenv.h', - 'src/include/leveldb/cache.h', - 'src/include/leveldb/comparator.h', - 'src/include/leveldb/db.h', - 'src/include/leveldb/dumpfile.h', - 'src/include/leveldb/env.h', - 'src/include/leveldb/filter_policy.h', - 'src/include/leveldb/iterator.h', - 'src/include/leveldb/options.h', - 'src/include/leveldb/slice.h', - 'src/include/leveldb/status.h', - 'src/include/leveldb/table.h', - 'src/include/leveldb/table_builder.h', - 'src/include/leveldb/write_batch.h', - 'src/port/port.h', - 'src/table/block.cc', - 'src/table/block.h', - 'src/table/block_builder.cc', - 'src/table/block_builder.h', - 'src/table/filter_block.cc', - 'src/table/filter_block.h', - 'src/table/format.cc', - 'src/table/format.h', - 'src/table/iterator.cc', - 'src/table/iterator_wrapper.h', - 'src/table/merger.cc', - 'src/table/merger.h', - 'src/table/table.cc', - 'src/table/table_builder.cc', - 'src/table/two_level_iterator.cc', - 'src/table/two_level_iterator.h', - 'src/util/arena.cc', - 'src/util/arena.h', - 'src/util/bloom.cc', - 'src/util/cache.cc', - 'src/util/coding.cc', - 'src/util/coding.h', - 'src/util/comparator.cc', - 'src/util/crc32c.cc', - 'src/util/crc32c.h', - 'src/util/env.cc', - 'src/util/filter_policy.cc', - 'src/util/hash.cc', - 'src/util/hash.h', - 'src/util/logging.cc', - 'src/util/logging.h', - 'src/util/mutexlock.h', - 'src/util/options.cc', - 'src/util/random.h', - 'src/util/status.cc', - ], - }, - { - 'target_name': 'env_chromium_unittests', - 'type': '<(gtest_target_type)', - 'dependencies': [ - 'leveldatabase', - '../../base/base.gyp:test_support_base', - '../../testing/gtest.gyp:gtest', - ], - 'sources': [ - 'env_chromium_unittest.cc', - ], - 'conditions': [ - ['OS=="android"', { - 'type': 'shared_library', - 'dependencies': [ - '../../testing/android/native_test.gyp:native_test_native_code', - '../../tools/android/forwarder2/forwarder.gyp:forwarder2', - ], - }], - ], - }, - { - 'target_name': 'leveldb_testutil', - 'type': 'static_library', - 'dependencies': [ - '../../base/base.gyp:base', - 'leveldatabase', - ], - 'export_dependent_settings': [ - # The tests use include directories from these projects. - '../../base/base.gyp:base', - 'leveldatabase', - ], - 'sources': [ - 'src/util/histogram.cc', - 'src/util/histogram.h', - 'src/util/testharness.cc', - 'src/util/testharness.h', - 'src/util/testutil.cc', - 'src/util/testutil.h', - ], - }, - { - 'target_name': 'leveldb_arena_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/arena_test.cc', - ], - }, - { - 'target_name': 'leveldb_bloom_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/bloom_test.cc', - ], - }, - { - 'target_name': 'leveldb_cache_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/cache_test.cc', - ], - }, - { - 'target_name': 'leveldb_coding_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/coding_test.cc', - ], - }, - { - 'target_name': 'leveldb_corruption_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/corruption_test.cc', - ], - }, - { - 'target_name': 'leveldb_fault_injection_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/fault_injection_test.cc', - ], - }, - { - 'target_name': 'leveldb_recovery_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/recovery_test.cc', - ], - }, - { - 'target_name': 'leveldb_crc32c_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/crc32c_test.cc', - ], - }, - { - 'target_name': 'leveldb_db_bench', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/db_bench.cc', - ], - }, - { - 'target_name': 'leveldb_db_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/db_test.cc', - ], - }, - { - 'target_name': 'leveldb_dbformat_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/dbformat_test.cc', - ], - }, - { - 'target_name': 'leveldb_env_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/util/env_test.cc', - ], - }, - { - 'target_name': 'leveldb_filename_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/filename_test.cc', - ], - }, - { - 'target_name': 'leveldb_filter_block_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/table/filter_block_test.cc', - ], - }, - { - 'target_name': 'leveldb_log_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/log_test.cc', - ], - }, - { - 'target_name': 'leveldb_skiplist_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/skiplist_test.cc', - ], - }, - { - 'target_name': 'leveldb_table_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/table/table_test.cc', - ], - }, - { - 'target_name': 'leveldb_version_edit_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/version_edit_test.cc', - ], - }, - { - 'target_name': 'leveldb_write_batch_test', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/write_batch_test.cc', - ], - }, - { - 'target_name': 'leveldb_main', - 'type': 'executable', - 'dependencies': [ - 'leveldb_testutil', - ], - 'sources': [ - 'src/db/leveldb_main.cc', - ], - }, - ], -} diff --git a/third_party/libXNVCtrl/libXNVCtrl.gyp b/third_party/libXNVCtrl/libXNVCtrl.gyp deleted file mode 100644 index c72c795218dea..0000000000000 --- a/third_party/libXNVCtrl/libXNVCtrl.gyp +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'libXNVCtrl', - 'type': 'static_library', - 'sources': [ - 'NVCtrl.c', - 'NVCtrl.h', - 'NVCtrlLib.h', - 'nv_control.h', - ], - }, - ], -} diff --git a/third_party/libjingle/libjingle.gyp b/third_party/libjingle/libjingle.gyp deleted file mode 100644 index 85a3f12eb2d0d..0000000000000 --- a/third_party/libjingle/libjingle.gyp +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'includes': [ - '../../build/win_precompile.gypi', - ], - # Most of these settings have been split according to their scope into - # :jingle_unexported_configs and :jingle_public_config in the GN build. - 'target_defaults': { - 'include_dirs': [ - '../../third_party/webrtc_overrides', - '../..', - '../../testing/gtest/include', - '../../third_party', - '../../third_party/libyuv/include', - '../../third_party/usrsctp/usrsctplib', - ], - # These dependencies have been translated into :jingle_deps in the GN build. - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/net/net.gyp:net', - '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', - '<(DEPTH)/third_party/expat/expat.gyp:expat', - ], - 'export_dependent_settings': [ - '<(DEPTH)/third_party/expat/expat.gyp:expat', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '../../third_party/webrtc_overrides', - '../..', - '../../testing/gtest/include', - '../../third_party', - ], - 'conditions': [ - ['OS=="win"', { - 'link_settings': { - 'libraries': [ - '-lsecur32.lib', - '-lcrypt32.lib', - '-liphlpapi.lib', - ], - }, - }], - ['OS=="win"', { - 'include_dirs': [ - '../third_party/platformsdk_win7/files/Include', - ], - # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. - 'msvs_disabled_warnings': [ 4267 ], - }], - ], - }, - 'variables': { - 'clang_warning_flags_unset': [ - # Don't warn about string->bool used in asserts. - '-Wstring-conversion', - ], - }, - 'conditions': [ - ['OS=="win"', { - 'include_dirs': [ - '../third_party/platformsdk_win7/files/Include', - ], - }], - ], - }, - 'targets': [ - # GN version: //third_party/libjingle - { - 'target_name': 'libjingle', - 'type': 'static_library', - 'includes': [ 'libjingle_common.gypi' ], - 'dependencies': [ - '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', - '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', - ], - # TODO(kjellander): Start cleaning up this target as soon as - # https://codereview.chromium.org/2022833002/ is landed. The target should - # be removed entirely if possible. - 'export_dependent_settings': [ - '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', - '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', - ], - }, # target libjingle - ], - 'conditions': [ - ['enable_webrtc==1', { - 'targets': [ - { - # GN version: //third_party/libjingle:libjingle_webrtc_common - 'target_name': 'libjingle_webrtc_common', - 'type': 'static_library', - 'dependencies': [ - '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', - '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', - '<(DEPTH)/third_party/webrtc/api/api.gyp:libjingle_peerconnection', - '<(DEPTH)/third_party/webrtc/media/media.gyp:rtc_media', - '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', - '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', - '<(DEPTH)/third_party/webrtc/pc/pc.gyp:rtc_pc', - '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine', - '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', - 'libjingle', - ], - }, # target libjingle_webrtc_common - { - # TODO(kjellander): Move this target into - # //third_party/webrtc_overrides as soon as the work in - # bugs.webrtc.org/4256 has gotten rid of the duplicated source - # listings above. - # GN version: //third_party/libjingle:libjingle_webrtc - 'target_name': 'libjingle_webrtc', - 'type': 'static_library', - 'sources': [ - '../webrtc_overrides/init_webrtc.cc', - '../webrtc_overrides/init_webrtc.h', - ], - 'dependencies': [ - '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', - 'libjingle_webrtc_common', - ], - }, - ], - }], - ], -} diff --git a/third_party/libjingle/libjingle_common.gypi b/third_party/libjingle/libjingle_common.gypi deleted file mode 100644 index 62766fe94c378..0000000000000 --- a/third_party/libjingle/libjingle_common.gypi +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2014 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. - -{ - 'sources': [ - '../webrtc_overrides/field_trial.cc', - ], - 'conditions': [ - ['OS=="win"', { - 'msvs_disabled_warnings': [ - 4005, # WIN32_LEAN_AND_MEAN. - 4267, # size_t to int truncations. - ], - }], - ], -} diff --git a/third_party/libjingle/libjingle_nacl.gyp b/third_party/libjingle/libjingle_nacl.gyp deleted file mode 100644 index 487cee4e33399..0000000000000 --- a/third_party/libjingle/libjingle_nacl.gyp +++ /dev/null @@ -1,291 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'webrtc_base': "../webrtc/base", - 'webrtc_xmllite': "../webrtc/libjingle/xmllite", - 'webrtc_p2p': "../webrtc/p2p", - 'webrtc_system_wrappers': "../webrtc/system_wrappers", - }, - 'includes': [ - '../../native_client/build/untrusted.gypi', - ], - 'targets': [ - { - 'target_name': 'libjingle_nacl', - 'type': 'none', - 'variables': { - 'nlib_target': 'libjingle_nacl.a', - 'nacl_untrusted_build': 1, - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - 'use_openssl': 1, - }, - 'dependencies': [ - '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted', - '<(DEPTH)/third_party/expat/expat_nacl.gyp:expat_nacl', - '<(DEPTH)/third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', - ], - 'defines': [ - 'EXPAT_RELATIVE_PATH', - 'FEATURE_ENABLE_SSL', - 'GTEST_RELATIVE_PATH', - 'HAVE_OPENSSL_SSL_H', - 'NO_MAIN_THREAD_WRAPPING', - 'NO_SOUND_SYSTEM', - 'WEBRTC_POSIX', - 'SRTP_RELATIVE_PATH', - 'SSL_USE_OPENSSL', - 'USE_WEBRTC_DEV_BRANCH', - 'timezone=_timezone', - ], - 'include_dirs': [ - '../', - ], - 'includes': ['libjingle_common.gypi', ], - # TODO(sergeyu): Depend on webrtc/base.gyp:rtc_base_approved? - 'sources': [ - '<(webrtc_base)/asyncfile.cc', - '<(webrtc_base)/asyncfile.h', - '<(webrtc_base)/asyncinvoker.cc', - '<(webrtc_base)/asyncinvoker.h', - '<(webrtc_base)/asyncinvoker-inl.h', - '<(webrtc_base)/asyncpacketsocket.cc', - '<(webrtc_base)/asyncpacketsocket.h', - '<(webrtc_base)/asyncresolverinterface.cc', - '<(webrtc_base)/asyncresolverinterface.h', - '<(webrtc_base)/asyncsocket.cc', - '<(webrtc_base)/asyncsocket.h', - '<(webrtc_base)/asynctcpsocket.cc', - '<(webrtc_base)/asynctcpsocket.h', - '<(webrtc_base)/asyncudpsocket.cc', - '<(webrtc_base)/asyncudpsocket.h', - '<(webrtc_base)/autodetectproxy.cc', - '<(webrtc_base)/autodetectproxy.h', - '<(webrtc_base)/base64.cc', - '<(webrtc_base)/base64.h', - '<(webrtc_base)/buffer.cc', - '<(webrtc_base)/buffer.h', - '<(webrtc_base)/copyonwritebuffer.cc', - '<(webrtc_base)/copyonwritebuffer.h', - '<(webrtc_base)/bytebuffer.cc', - '<(webrtc_base)/bytebuffer.h', - '<(webrtc_base)/byteorder.h', - '<(webrtc_base)/checks.cc', - '<(webrtc_base)/checks.h', - '<(webrtc_base)/common.cc', - '<(webrtc_base)/common.h', - '<(webrtc_base)/crc32.cc', - '<(webrtc_base)/crc32.h', - '<(webrtc_base)/criticalsection.cc', - '<(webrtc_base)/criticalsection.h', - '<(webrtc_base)/cryptstring.cc', - '<(webrtc_base)/cryptstring.h', - '<(webrtc_base)/diskcache.cc', - '<(webrtc_base)/diskcache.h', - '<(webrtc_base)/dscp.h', - '<(webrtc_base)/event.cc', - '<(webrtc_base)/event.h', - '<(webrtc_base)/event_tracer.cc', - '<(webrtc_base)/event_tracer.h', - '<(webrtc_base)/fileutils.cc', - '<(webrtc_base)/fileutils.h', - '<(webrtc_base)/firewallsocketserver.cc', - '<(webrtc_base)/firewallsocketserver.h', - '<(webrtc_base)/flags.cc', - '<(webrtc_base)/flags.h', - '<(webrtc_base)/helpers.cc', - '<(webrtc_base)/helpers.h', - '<(webrtc_base)/httpbase.cc', - '<(webrtc_base)/httpbase.h', - '<(webrtc_base)/httpclient.cc', - '<(webrtc_base)/httpclient.h', - '<(webrtc_base)/httpcommon-inl.h', - '<(webrtc_base)/httpcommon.cc', - '<(webrtc_base)/httpcommon.h', - '<(webrtc_base)/httprequest.cc', - '<(webrtc_base)/httprequest.h', - '<(webrtc_base)/ipaddress.cc', - '<(webrtc_base)/ipaddress.h', - '<(webrtc_base)/linked_ptr.h', - '<(webrtc_base)/location.cc', - '<(webrtc_base)/location.h', - '<(webrtc_base)/logging.cc', - '<(webrtc_base)/logging.h', - '<(webrtc_base)/maccocoathreadhelper.h', - '<(webrtc_base)/maccocoathreadhelper.mm', - '<(webrtc_base)/macconversion.cc', - '<(webrtc_base)/macconversion.h', - '<(webrtc_base)/macutils.cc', - '<(webrtc_base)/macutils.h', - '<(webrtc_base)/md5.cc', - '<(webrtc_base)/md5.h', - '<(webrtc_base)/md5digest.h', - '<(webrtc_base)/messagedigest.cc', - '<(webrtc_base)/messagedigest.h', - '<(webrtc_base)/messagehandler.cc', - '<(webrtc_base)/messagehandler.h', - '<(webrtc_base)/messagequeue.cc', - '<(webrtc_base)/messagequeue.h', - '<(webrtc_base)/nethelpers.cc', - '<(webrtc_base)/nethelpers.h', - '<(webrtc_base)/network.cc', - '<(webrtc_base)/network.h', - '<(webrtc_base)/networkmonitor.cc', - '<(webrtc_base)/networkmonitor.h', - '<(webrtc_base)/nullsocketserver.cc', - '<(webrtc_base)/nullsocketserver.h', - '<(webrtc_base)/openssladapter.cc', - '<(webrtc_base)/openssldigest.cc', - '<(webrtc_base)/opensslidentity.cc', - '<(webrtc_base)/opensslstreamadapter.cc', - '<(webrtc_base)/pathutils.cc', - '<(webrtc_base)/pathutils.h', - '<(webrtc_base)/physicalsocketserver.cc', - '<(webrtc_base)/physicalsocketserver.h', - '<(webrtc_base)/platform_thread.cc', - '<(webrtc_base)/platform_thread.h', - '<(webrtc_base)/proxydetect.cc', - '<(webrtc_base)/proxydetect.h', - '<(webrtc_base)/proxyinfo.cc', - '<(webrtc_base)/proxyinfo.h', - '<(webrtc_base)/ratelimiter.cc', - '<(webrtc_base)/ratelimiter.h', - '<(webrtc_base)/ratetracker.cc', - '<(webrtc_base)/ratetracker.h', - '<(webrtc_base)/scoped_autorelease_pool.h', - '<(webrtc_base)/scoped_autorelease_pool.mm', - '<(webrtc_base)/sec_buffer.h', - '<(webrtc_base)/sha1.cc', - '<(webrtc_base)/sha1.h', - '<(webrtc_base)/sha1digest.h', - '<(webrtc_base)/sharedexclusivelock.cc', - '<(webrtc_base)/sharedexclusivelock.h', - '<(webrtc_base)/signalthread.cc', - '<(webrtc_base)/signalthread.h', - '<(webrtc_base)/sigslot.cc', - '<(webrtc_base)/sigslot.h', - '<(webrtc_base)/sigslotrepeater.h', - '<(webrtc_base)/socket.h', - '<(webrtc_base)/socketadapters.cc', - '<(webrtc_base)/socketadapters.h', - '<(webrtc_base)/socketaddress.cc', - '<(webrtc_base)/socketaddress.h', - '<(webrtc_base)/socketaddresspair.cc', - '<(webrtc_base)/socketaddresspair.h', - '<(webrtc_base)/socketfactory.h', - '<(webrtc_base)/socketpool.cc', - '<(webrtc_base)/socketpool.h', - '<(webrtc_base)/socketserver.h', - '<(webrtc_base)/socketstream.cc', - '<(webrtc_base)/socketstream.h', - '<(webrtc_base)/ssladapter.cc', - '<(webrtc_base)/ssladapter.h', - '<(webrtc_base)/sslfingerprint.cc', - '<(webrtc_base)/sslfingerprint.h', - '<(webrtc_base)/sslidentity.cc', - '<(webrtc_base)/sslidentity.h', - '<(webrtc_base)/sslsocketfactory.cc', - '<(webrtc_base)/sslsocketfactory.h', - '<(webrtc_base)/sslstreamadapter.cc', - '<(webrtc_base)/sslstreamadapter.h', - '<(webrtc_base)/stream.cc', - '<(webrtc_base)/stream.h', - '<(webrtc_base)/stringencode.cc', - '<(webrtc_base)/stringencode.h', - '<(webrtc_base)/stringutils.cc', - '<(webrtc_base)/stringutils.h', - '<(webrtc_base)/task.cc', - '<(webrtc_base)/task.h', - '<(webrtc_base)/taskparent.cc', - '<(webrtc_base)/taskparent.h', - '<(webrtc_base)/taskrunner.cc', - '<(webrtc_base)/taskrunner.h', - '<(webrtc_base)/template_util.h', - '<(webrtc_base)/thread.cc', - '<(webrtc_base)/thread.h', - '<(webrtc_base)/thread_checker.h', - '<(webrtc_base)/thread_checker_impl.cc', - '<(webrtc_base)/thread_checker_impl.h', - '<(webrtc_base)/timeutils.cc', - '<(webrtc_base)/timeutils.h', - '<(webrtc_base)/timing.cc', - '<(webrtc_base)/timing.h', - '<(webrtc_base)/unixfilesystem.cc', - '<(webrtc_base)/unixfilesystem.h', - '<(webrtc_base)/urlencode.cc', - '<(webrtc_base)/urlencode.h', - '<(webrtc_base)/win32.cc', - '<(webrtc_base)/win32.h', - '<(webrtc_base)/win32filesystem.cc', - '<(webrtc_base)/win32filesystem.h', - '<(webrtc_base)/win32securityerrors.cc', - '<(webrtc_base)/win32window.cc', - '<(webrtc_base)/win32window.h', - '<(webrtc_base)/winfirewall.cc', - '<(webrtc_base)/winfirewall.h', - '<(webrtc_base)/winping.cc', - '<(webrtc_base)/winping.h', - '<(webrtc_base)/worker.cc', - '<(webrtc_base)/worker.h', - '<(webrtc_xmllite)/qname.cc', - '<(webrtc_xmllite)/qname.h', - '<(webrtc_xmllite)/xmlbuilder.cc', - '<(webrtc_xmllite)/xmlbuilder.h', - '<(webrtc_xmllite)/xmlconstants.cc', - '<(webrtc_xmllite)/xmlconstants.h', - '<(webrtc_xmllite)/xmlelement.cc', - '<(webrtc_xmllite)/xmlelement.h', - '<(webrtc_xmllite)/xmlnsstack.cc', - '<(webrtc_xmllite)/xmlnsstack.h', - '<(webrtc_xmllite)/xmlparser.cc', - '<(webrtc_xmllite)/xmlparser.h', - '<(webrtc_xmllite)/xmlprinter.cc', - '<(webrtc_xmllite)/xmlprinter.h', - '<(webrtc_system_wrappers)/include/field_trial_default.h', - '<(webrtc_system_wrappers)/include/field_trial.h', - '<(webrtc_system_wrappers)/source/field_trial_default.cc', - ], - 'sources!': [ - # For NACL, we have the field_trial_default and don't need the - # field_trail.cc. - '../webrtc_overrides/field_trial.cc', - ], - 'sources/': [ - ['exclude', '/mac[a-z]+\\.(h|cc)$'], - ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'], - ], - 'conditions': [ - ['OS!="win"', { - 'sources/': [ - ['exclude', '/win[a-z0-9]+\\.(h|cc)$'], - ], - }], - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '../../third_party/webrtc_overrides', - '../../third_party', - '../../third_party/webrtc', - ], - 'defines': [ - 'EXPAT_RELATIVE_PATH', - 'FEATURE_ENABLE_SSL', - 'GTEST_RELATIVE_PATH', - 'NO_MAIN_THREAD_WRAPPING', - 'NO_SOUND_SYSTEM', - 'WEBRTC_POSIX', - 'SRTP_RELATIVE_PATH', - 'SSL_USE_OPENSSL', - 'USE_WEBRTC_DEV_BRANCH', - ], - }, - 'export_dependent_settings': [ - '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted', - ], - }, # end of target 'libjingle_nacl' - ], -} diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp deleted file mode 100644 index 8af796e38552b..0000000000000 --- a/third_party/libjpeg/libjpeg.gyp +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright (c) 2009 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 handles building both with our local libjpeg and with the system - # libjpeg. - 'conditions': [ - ['use_system_libjpeg==0', { - 'targets': [ - { - 'target_name': 'libjpeg', - 'type': 'static_library', - 'defines': [ - 'NO_GETENV', # getenv() is not thread-safe. - ], - 'sources': [ - 'jcapimin.c', - 'jcapistd.c', - 'jccoefct.c', - 'jccolor.c', - 'jcdctmgr.c', - 'jchuff.c', - 'jchuff.h', - 'jcinit.c', - 'jcmainct.c', - 'jcmarker.c', - 'jcmaster.c', - 'jcomapi.c', - 'jconfig.h', - 'jcparam.c', - 'jcphuff.c', - 'jcprepct.c', - 'jcsample.c', - 'jdapimin.c', - 'jdapistd.c', - 'jdatadst.c', - 'jdatasrc.c', - 'jdcoefct.c', - 'jdcolor.c', - 'jdct.h', - 'jddctmgr.c', - 'jdhuff.c', - 'jdhuff.h', - 'jdinput.c', - 'jdmainct.c', - 'jdmarker.c', - 'jdmaster.c', - 'jdmerge.c', - 'jdphuff.c', - 'jdpostct.c', - 'jdsample.c', - 'jerror.c', - 'jerror.h', - 'jfdctflt.c', - 'jfdctfst.c', - 'jfdctint.c', - 'jidctflt.c', - 'jidctfst.c', - 'jidctint.c', - 'jinclude.h', - 'jmemmgr.c', - 'jmemnobs.c', - 'jmemsys.h', - 'jmorecfg.h', - 'jpegint.h', - 'jpeglib.h', - 'jquant1.c', - 'jquant2.c', - 'jutils.c', - 'jversion.h', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - ], - }, - 'conditions': [ - ['OS!="win"', {'product_name': 'jpeg'}], - ], - }, - ], - }, { - 'targets': [ - { - 'target_name': 'libjpeg', - 'type': 'none', - 'direct_dependent_settings': { - 'defines': [ - 'USE_SYSTEM_LIBJPEG', - ], - 'conditions': [ - ['os_bsd==1', { - 'include_dirs': [ - '/usr/local/include', - ], - }], - ], - }, - 'link_settings': { - 'libraries': [ - '-ljpeg', - ], - }, - } - ], - }], - ], -} diff --git a/third_party/liblouis/liblouis_nacl.gyp b/third_party/liblouis/liblouis_nacl.gyp deleted file mode 100644 index 924b5caf1d298..0000000000000 --- a/third_party/liblouis/liblouis_nacl.gyp +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'braille_test_data_dir': '<(PRODUCT_DIR)/chromevox_test_data/braille', - 'braille_chromevox_dir': '<(PRODUCT_DIR)/resources/chromeos/chromevox/braille', - 'table_files': [ - '>!@pymod_do_main(liblouis_list_tables -D . -D src/tables -e cvox-common.cti tables.json)', - ], - }, - # x86 targets build both 32 and 64 bit binaries by default. We only need - # the one that matches our target architecture. - 'target_defaults': { - 'conditions': [ - ['target_arch=="ia32"', { - 'variables': { - 'enable_x86_64': 0, - }, - }], - ['target_arch=="x64"', { - 'variables': { - 'enable_x86_32': 0, - }, - }], - ], - }, - 'includes': [ - '../../build/common_untrusted.gypi', - ], - 'conditions': [ - ['disable_nacl==0 and disable_nacl_untrusted==0', { - 'targets': [ - { - 'target_name': 'liblouis_nacl', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'liblouis_nacl.a', - 'build_newlib': 1, - }, - 'compile_flags': [ - # Needed for target_arch=mipsel - # src/liblouis/compileTranslationTable.c:1414 - '-Wno-tautological-compare', - # Needed for target_arch=mipsel - # src/liblouis/logging.c:58 - '-Wno-non-literal-null-conversion', - ], - 'include_dirs': [ - 'overrides/liblouis', - 'src/liblouis', - '.', - '../..', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'overrides', - ], - }, - 'sources': [ - 'overrides/liblouis/config.h', - 'overrides/liblouis/liblouis.h', - 'src/liblouis/compileTranslationTable.c', - 'src/liblouis/logging.c', - 'src/liblouis/lou_backTranslateString.c', - 'src/liblouis/lou_translateString.c', - 'src/liblouis/transcommon.ci', - 'src/liblouis/wrappers.c', - ], - }, - { - 'target_name': 'liblouis_nacl_wrapper_nacl', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nexe_target': 'liblouis_nacl', - 'out_newlib64': '<(braille_test_data_dir)/>(nexe_target)_x86_64.nexe', - 'out_newlib32': '<(braille_test_data_dir)/>(nexe_target)_x86_32.nexe', - 'out_newlib_arm': '<(braille_test_data_dir)/>(nexe_target)_arm.nexe', - 'out_newlib_mips': '<(braille_test_data_dir)/>(nexe_target)_mips32.nexe', - 'build_newlib': 1, - 'extra_args': [ - '--strip-debug', - ], - 'nmf': '<(braille_test_data_dir)/>(nexe_target).nmf', - 'target_conditions': [ - ['enable_x86_64==1', { - 'nexe_files': ['>(out_newlib64)'], - }], - ['enable_x86_32==1', { - 'nexe_files': ['>(out_newlib32)'], - }], - ['enable_arm==1', { - 'nexe_files': ['>(out_newlib_arm)'], - }], - ['enable_mips==1', { - 'nexe_files': ['>(out_newlib_mips)'], - }], - ], - }, - 'sources': [ - 'nacl_wrapper/liblouis_instance.h', - 'nacl_wrapper/liblouis_instance.cc', - 'nacl_wrapper/liblouis_module.h', - 'nacl_wrapper/liblouis_module.cc', - 'nacl_wrapper/liblouis_wrapper.h', - 'nacl_wrapper/liblouis_wrapper.cc', - 'nacl_wrapper/translation_params.h', - 'nacl_wrapper/translation_result.h', - ], - 'link_flags': [ - '-lppapi', - '-lppapi_cpp', - '-llouis_nacl', - '-ljsoncpp_nacl', - '-lpthread', - '-lnacl_io', - ], - 'dependencies': [ - '../../native_client/src/untrusted/nacl/nacl.gyp:nacl_lib', - '../../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted', - '../../ppapi/native_client/native_client.gyp:ppapi_lib', - '../../ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', - '../jsoncpp/jsoncpp_nacl.gyp:jsoncpp_nacl', - 'liblouis_nacl', - ], - 'actions': [ - { - 'action_name': 'Generate NEWLIB NMF', - 'inputs': [ - '>@(nexe_files)', - ], - 'outputs': ['>(nmf)'], - 'action': [ - 'python', - '<(DEPTH)/native_client_sdk/src/tools/create_nmf.py', - '>@(_inputs)', - '--output=>(nmf)', - '--no-default-libpath', - '--objdump=>(nacl_glibc_tc_root)/bin/x86_64-nacl-objdump', - ], - }, - ], - # Copy specific files into the product directory to avoid - # copying over the unstripped binary file. - 'copies': [ - { - 'destination': '<(braille_chromevox_dir)', - 'files': [ - '<(nmf)', - '>@(nexe_files)', - 'tables.json', - ], - }, - { - 'destination': '<(braille_chromevox_dir)/tables', - 'files': [ - '<@(table_files)', - ], - }, - ], - }, - { - 'target_name': 'liblouis_test_data', - 'type': 'none', - 'variables': { - 'test_extension_dir': '<(DEPTH)/chrome/test/data/chromeos/liblouis_nacl', - }, - 'dependencies': [ - 'liblouis_nacl_wrapper_nacl', - ], - 'copies': [ - { - 'destination': '<(braille_test_data_dir)', - 'files': [ - 'tables.json', - '<(test_extension_dir)/manifest.json', - '<(test_extension_dir)/test.js', - ], - }, - { - 'destination': '<(braille_test_data_dir)/tables', - 'files': [ - '<@(table_files)', - ], - }, - ], - }, - ], - }], - ], -} diff --git a/third_party/libphonenumber/libphonenumber.gyp b/third_party/libphonenumber/libphonenumber.gyp deleted file mode 100644 index e89f48e26d508..0000000000000 --- a/third_party/libphonenumber/libphonenumber.gyp +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'target_defaults': { - 'include_dirs': [ - 'dist/cpp/src', - 'dist/cpp/test', - # The libphonenumber source (and test code) expects the - # generated protocol headers to be available with "phonenumbers" include - # path, e.g. #include "phonenumbers/foo.pb.h". - '<(SHARED_INTERMEDIATE_DIR)/protoc_out/third_party/libphonenumber', - ], - 'defines': [ - 'I18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1', - 'I18N_PHONENUMBERS_USE_ICU_REGEXP=1', - ], - 'conditions': [ - # libphonenumber can only be thread-safe on POSIX platforms. This is ok - # since Android is the only Chromium port that requires thread-safety. - # It uses the PhoneNumberUtil singleton in renderer threads as opposed to - # other platforms that only use it in the browser process (on a single - # thread). Note that any unsafe use of the library would be caught by a - # DCHECK. - ['OS != "android"', { - 'defines': [ - 'I18N_PHONENUMBERS_NO_THREAD_SAFETY=1', - ], - }], - ], - }, - 'includes': [ - '../../build/win_precompile.gypi', - ], - 'targets': [{ - # Build a library without metadata so that we can use it with both testing - # and production metadata. This library should not be used by clients. - # GN version: //third_party/libphonenumber:libphonenumber_without_metadata - 'target_name': 'libphonenumber_without_metadata', - 'type': 'static_library', - 'dependencies': [ - '../icu/icu.gyp:icui18n', - '../icu/icu.gyp:icuuc', - '../protobuf/protobuf.gyp:protobuf_lite', - ], - 'sources': [ - 'dist/cpp/src/phonenumbers/alternate_format.cc', - 'dist/cpp/src/phonenumbers/asyoutypeformatter.cc', - 'dist/cpp/src/phonenumbers/base/strings/string_piece.cc', - 'dist/cpp/src/phonenumbers/default_logger.cc', - 'dist/cpp/src/phonenumbers/logger.cc', - 'dist/cpp/src/phonenumbers/phonenumber.cc', - 'dist/cpp/src/phonenumbers/phonenumbermatch.cc', - 'dist/cpp/src/phonenumbers/phonenumbermatcher.cc', - 'dist/cpp/src/phonenumbers/phonenumberutil.cc', - 'dist/cpp/src/phonenumbers/regexp_adapter_icu.cc', - 'dist/cpp/src/phonenumbers/regexp_cache.cc', - 'dist/cpp/src/phonenumbers/string_byte_sink.cc', - 'dist/cpp/src/phonenumbers/stringutil.cc', - 'dist/cpp/src/phonenumbers/unicodestring.cc', - 'dist/cpp/src/phonenumbers/utf/rune.c', - 'dist/cpp/src/phonenumbers/utf/unicodetext.cc', - 'dist/cpp/src/phonenumbers/utf/unilib.cc', - 'dist/resources/phonemetadata.proto', - 'dist/resources/phonenumber.proto', - ], - 'variables': { - 'proto_in_dir': 'dist/resources', - 'proto_out_dir': 'third_party/libphonenumber/phonenumbers', - 'clang_warning_flags': [ - # https://github.com/googlei18n/libphonenumber/pull/741 - '-Wno-unused-private-field', - ], - }, - 'includes': [ '../../build/protoc.gypi' ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/protoc_out/third_party/libphonenumber', - 'dist/cpp/src', - ], - 'defines': [ - 'I18N_PHONENUMBERS_USE_ALTERNATE_FORMATS=1', - 'I18N_PHONENUMBERS_USE_ICU_REGEXP=1', - ], - 'conditions': [ - ['OS != "android"', { - 'defines': [ - 'I18N_PHONENUMBERS_NO_THREAD_SAFETY=1', - ], - }], - ], - }, - 'conditions': [ - ['OS=="win"', { - 'action': [ - '/wo4309', - ], - }], - ], - }, - { - # Library used by clients that includes production metadata. - # GN version: //third_party/libphonenumber - 'target_name': 'libphonenumber', - 'type': 'static_library', - 'dependencies': [ - 'libphonenumber_without_metadata', - ], - 'export_dependent_settings': [ - 'libphonenumber_without_metadata', - ], - 'sources': [ - # Comment next line and uncomment the line after, if complete metadata - # (with examples) is needed. - 'dist/cpp/src/phonenumbers/lite_metadata.cc', - #'dist/cpp/src/phonenumbers/metadata.cc', - ], - }, - { - # GN version: //third_party/libphonenumber:libphonenumber_unittests - 'target_name': 'libphonenumber_unittests', - 'type': 'executable', - 'sources': [ - 'dist/cpp/src/phonenumbers/test_metadata.cc', - 'dist/cpp/test/phonenumbers/asyoutypeformatter_test.cc', - 'dist/cpp/test/phonenumbers/phonenumbermatch_test.cc', - 'dist/cpp/test/phonenumbers/phonenumbermatcher_test.cc', - 'dist/cpp/test/phonenumbers/phonenumberutil_test.cc', - 'dist/cpp/test/phonenumbers/regexp_adapter_test.cc', - 'dist/cpp/test/phonenumbers/stringutil_test.cc', - 'dist/cpp/test/phonenumbers/test_util.cc', - 'dist/cpp/test/phonenumbers/unicodestring_test.cc', - ], - 'dependencies': [ - '../icu/icu.gyp:icui18n', - '../icu/icu.gyp:icuuc', - '../../base/base.gyp:run_all_unittests', - '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../testing/gmock.gyp:gmock', - '../../testing/gtest.gyp:gtest', - 'libphonenumber_without_metadata', - ], - 'variables': { - 'clang_warning_flags': [ - # https://github.com/googlei18n/libphonenumber/pull/741 - '-Wno-unused-private-field', - ], - }, - 'conditions': [ - ['OS=="win"', { - 'action': [ - '/wo4309', - ], - }], - # libphonenumber needs to fix their ODR violations. http://crbug.com/456021 - ['OS=="linux"', { - 'ldflags!': [ - '-Wl,--detect-odr-violations', - ], - }], - ], - }] -} diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp deleted file mode 100644 index 3c42401baa893..0000000000000 --- a/third_party/libpng/libpng.gyp +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'libpng', - 'dependencies': [ - '../zlib/zlib.gyp:zlib', - ], - 'variables': { - # libpng checks that the width is not greater than PNG_SIZE_MAX. - # On platforms where size_t is 64-bits, this comparison will always - # be false. - 'clang_warning_flags': [ '-Wno-tautological-constant-out-of-range-compare' ], - }, - 'sources': [ - 'png.c', - 'png.h', - 'pngconf.h', - 'pngerror.c', - 'pngget.c', - 'pnginfo.h', - 'pnglibconf.h', - 'pngmem.c', - 'pngpread.c', - 'pngprefix.h', - 'pngpriv.h', - 'pngread.c', - 'pngrio.c', - 'pngrtran.c', - 'pngrutil.c', - 'pngset.c', - 'pngstruct.h', - 'pngtrans.c', - 'pngwio.c', - 'pngwrite.c', - 'pngwtran.c', - 'pngwutil.c', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '.', - ], - }, - 'export_dependent_settings': [ - '../zlib/zlib.gyp:zlib', - ], - 'msvs_disabled_warnings': [ - 4267, # TODO(jschuh): http://crbug.com/167187 - 4146, # Unary minus applied to unsigned type. - ], - 'conditions': [ - # Disable ARM optimizations on IOS. Can't find a way to get gyp to even try - # to compile the optimization files. This works fine on GN. - [ 'OS=="ios"', { - 'defines': [ - 'PNG_ARM_NEON_OPT=0', - ], - }], - - # SSE optimizations - [ 'target_arch=="ia32" or target_arch=="x64"', { - 'defines': [ - 'PNG_INTEL_SSE_OPT=1', - ], - 'sources': [ - 'contrib/intel/intel_init.c', - 'contrib/intel/filter_sse2_intrinsics.c', - ], - }], - - # ARM optimizations - [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios" and arm_neon==1', { - 'defines': [ - 'PNG_ARM_NEON_OPT=2', - 'PNG_ARM_NEON_IMPLEMENTATION=1', - ], - 'sources': [ - 'arm/arm_init.c', - 'arm/filter_neon_intrinsics.c', - ], - }], - - ['OS!="win"', {'product_name': 'png'}], - ['OS=="win"', { - 'type': '<(component)', - }, { - # Chromium libpng does not support building as a shared_library - # on non-Windows platforms. - 'type': 'static_library', - }], - ['OS=="win" and component=="shared_library"', { - 'defines': [ - 'PNG_BUILD_DLL', - 'PNG_NO_MODULEDEF', - ], - 'direct_dependent_settings': { - 'defines': [ - 'PNG_USE_DLL', - ], - }, - }], - ['OS=="android"', { - 'toolsets': ['target', 'host'], - }], - ], - }, - ] -} diff --git a/third_party/libsync/libsync.gyp b/third_party/libsync/libsync.gyp deleted file mode 100644 index 76e191503e496..0000000000000 --- a/third_party/libsync/libsync.gyp +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2016 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. - -{ - 'targets': [ - { - 'target_name': 'libsync', - 'type': 'static_library', - 'sources': [ - 'include/linux/sw_sync.h', - 'include/linux/sync.h', - 'include/sw_sync.h', - 'include/sync/sync.h', - 'strlcpy.c', - 'sync.c', - ], - 'include_dirs': [ - 'include', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'include', - ], - }, - }, - ], -} diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp deleted file mode 100644 index 1b0aa566bdb8f..0000000000000 --- a/third_party/libusb/libusb.gyp +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'libusb', - 'type': 'static_library', - 'sources': [ - 'src/config.h', - 'src/libusb/core.c', - 'src/libusb/descriptor.c', - 'src/libusb/hotplug.c', - 'src/libusb/hotplug.h', - 'src/libusb/interrupt.c', - 'src/libusb/interrupt.h', - 'src/libusb/io.c', - 'src/libusb/libusb.h', - 'src/libusb/libusbi.h', - 'src/libusb/strerror.c', - 'src/libusb/sync.c', - 'src/libusb/version.h', - 'src/libusb/version_nano.h', - ], - 'variables': { - 'clang_warning_flags': [ - # guid_eq in windows_usb.c is unused. - '-Wno-unused-function', - ], - }, - 'include_dirs': [ - 'src', - 'src/libusb', - 'src/libusb/os', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src/libusb', - ], - }, - 'conditions': [ - ['OS=="linux" or OS=="mac"', { - 'sources': [ - 'src/libusb/os/poll_posix.c', - 'src/libusb/os/poll_posix.h', - 'src/libusb/os/threads_posix.c', - 'src/libusb/os/threads_posix.h', - ], - 'defines': [ - 'DEFAULT_VISIBILITY=', - 'HAVE_GETTIMEOFDAY=1', - 'HAVE_POLL_H=1', - 'HAVE_SYS_TIME_H=1', - 'LIBUSB_DESCRIBE="1.0.16"', - 'POLL_NFDS_TYPE=nfds_t', - 'THREADS_POSIX=1', - ], - }], - ['OS=="linux"', { - 'sources': [ - 'src/libusb/os/linux_usbfs.c', - 'src/libusb/os/linux_usbfs.h', - ], - 'defines': [ - 'OS_LINUX=1', - '_GNU_SOURCE=1', - ], - }], - ['chromeos==1', { - 'defines': [ - 'USBI_TIMERFD_AVAILABLE', - ] - }], - ['use_udev==1', { - 'sources': [ - 'src/libusb/os/linux_udev.cc', - ], - 'defines': [ - 'HAVE_LIBUDEV=1', - 'USE_UDEV=1', - ], - 'dependencies': [ - '../../device/udev_linux/udev.gyp:udev_linux', - ], - 'include_dirs': [ - '../..', - ], - }], - ['OS=="linux" and use_udev==0', { - 'sources': [ - 'src/libusb/os/linux_netlink.c', - ], - 'defines': [ - 'HAVE_LINUX_NETLINK_H', - ], - 'conditions': [ - ['clang==1', { - 'cflags': [ - '-Wno-pointer-sign', - ] - }] - ], - }], - ['OS=="mac"', { - 'sources': [ - 'src/libusb/os/darwin_usb.c', - 'src/libusb/os/darwin_usb.h', - ], - 'defines': [ - 'OS_DARWIN=1', - ], - }], - ['OS=="win"', { - 'sources': [ - 'src/libusb/os/poll_windows.c', - 'src/libusb/os/poll_windows.h', - 'src/libusb/os/threads_windows.c', - 'src/libusb/os/threads_windows.h', - 'src/libusb/os/windows_common.h', - 'src/libusb/os/windows_usb.c', - 'src/libusb/os/windows_usb.h', - 'src/msvc/config.h', - 'src/msvc/inttypes.h', - 'src/msvc/stdint.h', - ], - 'include_dirs!': [ - 'src', - ], - 'include_dirs': [ - 'src/msvc', - ], - 'msvs_disabled_warnings': [ 4267 ], - }], - ], - }, - ], -} diff --git a/third_party/libwebm/libwebm.gyp b/third_party/libwebm/libwebm.gyp deleted file mode 100644 index b31881585825e..0000000000000 --- a/third_party/libwebm/libwebm.gyp +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 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. - -{ - 'targets': [ - { - 'target_name': 'libwebm', - 'type': 'static_library', - 'conditions': [ - ['OS!="win"', { - 'cflags': [ - '-Wno-deprecated-declarations', # libwebm uses std::auto_ptr - ], - }], - ], - 'include_dirs': [ - './source', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - './source', - ], - }, - 'sources': [ - 'source/mkvmuxer/mkvmuxer.cc', - 'source/mkvmuxer/mkvmuxerutil.cc', - 'source/mkvmuxer/mkvwriter.cc', - ], - }, # target libwebm - ] -} diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp deleted file mode 100644 index 67c03685dd3d9..0000000000000 --- a/third_party/libwebp/libwebp.gyp +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'target_defaults': { - 'conditions': [ - ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', { - 'cflags!': [ '-Os' ], - 'cflags': [ '-O2' ], - }], - ], - }, - 'targets': [ - { - 'target_name': 'libwebp_dec', - 'type': 'static_library', - 'dependencies' : [ - 'libwebp_dsp', - 'libwebp_dsp_neon', - 'libwebp_utils', - ], - 'include_dirs': ['.'], - 'sources': [ - 'dec/alpha.c', - 'dec/buffer.c', - 'dec/frame.c', - 'dec/idec.c', - 'dec/io.c', - 'dec/quant.c', - 'dec/tree.c', - 'dec/vp8.c', - 'dec/vp8l.c', - 'dec/webp.c', - ], - }, - { - 'target_name': 'libwebp_demux', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'demux/demux.c', - ], - 'dependencies' : [ - 'libwebp_utils', - ], - }, - { - 'target_name': 'libwebp_dsp', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'dsp/alpha_processing.c', - 'dsp/alpha_processing_mips_dsp_r2.c', - 'dsp/argb.c', - 'dsp/argb_mips_dsp_r2.c', - 'dsp/cost.c', - 'dsp/cost_mips32.c', - 'dsp/cost_mips_dsp_r2.c', - 'dsp/cpu.c', - 'dsp/dec.c', - 'dsp/dec_clip_tables.c', - 'dsp/dec_mips32.c', - 'dsp/dec_mips_dsp_r2.c', - 'dsp/dec_msa.c', - 'dsp/enc.c', - 'dsp/enc_avx2.c', - 'dsp/enc_mips32.c', - 'dsp/enc_mips_dsp_r2.c', - 'dsp/filters.c', - 'dsp/filters_mips_dsp_r2.c', - 'dsp/lossless.c', - 'dsp/lossless_enc.c', - 'dsp/lossless_enc_mips32.c', - 'dsp/lossless_enc_mips_dsp_r2.c', - 'dsp/lossless_mips_dsp_r2.c', - 'dsp/rescaler.c', - 'dsp/rescaler_mips32.c', - 'dsp/rescaler_mips_dsp_r2.c', - 'dsp/upsampling.c', - 'dsp/upsampling_mips_dsp_r2.c', - 'dsp/yuv.c', - 'dsp/yuv_mips32.c', - 'dsp/yuv_mips_dsp_r2.c', - ], - 'dependencies' : [ - 'libwebp_dsp_sse2', - 'libwebp_dsp_sse41', - 'libwebp_utils', - ], - 'conditions': [ - ['OS == "android"', { - 'dependencies': [ '../../build/android/ndk.gyp:cpu_features' ], - }], - # iOS uses the same project to generate build project for both device - # and simulator and do not use "target_arch" variable. Other platform - # set it correctly. - ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64")', { - 'defines': [ 'WEBP_HAVE_SSE2', 'WEBP_HAVE_SSE41' ], - }], - ], - }, - { - 'target_name': 'libwebp_dsp_sse2', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'dsp/alpha_processing_sse2.c', - 'dsp/argb_sse2.c', - 'dsp/cost_sse2.c', - 'dsp/dec_sse2.c', - 'dsp/enc_sse2.c', - 'dsp/filters_sse2.c', - 'dsp/lossless_enc_sse2.c', - 'dsp/lossless_sse2.c', - 'dsp/rescaler_sse2.c', - 'dsp/upsampling_sse2.c', - 'dsp/yuv_sse2.c', - ], - 'conditions': [ - # iOS uses the same project to generate build project for both device - # and simulator and do not use "target_arch" variable. Other platform - # set it correctly. - ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64") and msan==0', { - 'cflags': [ '-msse2', ], - 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] }, - }], - ], - }, - { - 'target_name': 'libwebp_dsp_sse41', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'dsp/alpha_processing_sse41.c', - 'dsp/dec_sse41.c', - 'dsp/enc_sse41.c', - 'dsp/lossless_enc_sse41.c', - ], - 'conditions': [ - ['OS=="win" and clang==1', { - # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe - # doesn't need it for intrinsics. clang-cl does need it, though. - 'msvs_settings': { - 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, - }, - }], - # iOS uses the same project to generate build project for both device - # and simulator and do not use "target_arch" variable. Other platform - # set it correctly. - ['OS!="ios" and (target_arch=="ia32" or target_arch=="x64") and msan==0', { - 'cflags': [ '-msse4.1', ], - 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, - }], - ], - }, - { - 'target_name': 'libwebp_dsp_neon', - 'includes' : [ - # Disable LTO due to Neon issues. - # crbug.com/408997 - '../../build/android/disable_gcc_lto.gypi', - ], - 'conditions': [ - # iOS uses the same project to generate build project for both device - # and simulator and do not use "target_arch" variable. Other platform - # set it correctly. - ['OS == "ios" or (target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)) or (target_arch == "arm64")', { - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'dsp/dec_neon.c', - 'dsp/enc_neon.c', - 'dsp/lossless_enc_neon.c', - 'dsp/lossless_neon.c', - 'dsp/rescaler_neon.c', - 'dsp/upsampling_neon.c', - ], - 'conditions': [ - ['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)', { - # behavior similar to *.c.neon in an Android.mk - 'cflags!': [ '-mfpu=vfpv3-d16' ], - 'cflags': [ '-mfpu=neon' ], - }], - ['target_arch == "arm64" and clang != 1', { - # avoid an ICE with gcc-4.9: b/15574841 - 'cflags': [ '-frename-registers' ], - }], - ] - }, { - 'type': 'none', - }], - ], - }, - { - 'target_name': 'libwebp_enc', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'enc/alpha.c', - 'enc/analysis.c', - 'enc/backward_references.c', - 'enc/config.c', - 'enc/cost.c', - 'enc/delta_palettization.c', - 'enc/filter.c', - 'enc/frame.c', - 'enc/histogram.c', - 'enc/iterator.c', - 'enc/near_lossless.c', - 'enc/picture.c', - 'enc/picture_csp.c', - 'enc/picture_psnr.c', - 'enc/picture_rescale.c', - 'enc/picture_tools.c', - 'enc/quant.c', - 'enc/syntax.c', - 'enc/token.c', - 'enc/tree.c', - 'enc/vp8l.c', - 'enc/webpenc.c', - ], - 'dependencies' : [ - 'libwebp_utils', - ], - }, - { - 'target_name': 'libwebp_utils', - 'type': 'static_library', - 'include_dirs': ['.'], - 'sources': [ - 'utils/bit_reader.c', - 'utils/bit_writer.c', - 'utils/color_cache.c', - 'utils/filters.c', - 'utils/huffman.c', - 'utils/huffman_encode.c', - 'utils/quant_levels.c', - 'utils/quant_levels_dec.c', - 'utils/random.c', - 'utils/rescaler.c', - 'utils/thread.c', - 'utils/utils.c', - ], - 'variables': { - 'clang_warning_flags': [ - # See https://code.google.com/p/webp/issues/detail?id=253. - '-Wno-incompatible-pointer-types', - ] - }, - }, - { - 'target_name': 'libwebp', - 'type': 'none', - 'dependencies' : [ - 'libwebp_dec', - 'libwebp_demux', - 'libwebp_dsp', - 'libwebp_dsp_neon', - 'libwebp_enc', - 'libwebp_utils', - ], - 'direct_dependent_settings': { - 'include_dirs': ['.'], - }, - 'conditions': [ - ['OS!="win"', {'product_name': 'webp'}], - ], - }, - ], -} diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp deleted file mode 100644 index 54790f6cec86d..0000000000000 --- a/third_party/libxml/libxml.gyp +++ /dev/null @@ -1,279 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'conditions': [ - # Define an "os_include" variable that points at the OS-specific generated - # headers. These were generated by running the configure script offline. - ['os_posix == 1 and OS != "mac" and OS != "ios"', { - 'os_include': 'linux' - }], - ['OS=="mac"', {'os_include': 'mac'}], - ['OS=="win"', {'os_include': 'win32'}], - ], - 'use_system_libxml%': 0, - }, - 'targets': [ - { - 'target_name': 'libxml', - 'conditions': [ - ['use_system_libxml', { - 'conditions': [ - ['os_posix == 1 and OS != "mac" and OS != "ios"', { - 'type': 'static_library', - 'sources': [ - 'chromium/libxml_utils.h', - 'chromium/libxml_utils.cc', - ], - 'cflags': [ - ' int - # TODO(brucedawson): http://crbug.com/554200 fix C4311 warnings - # C4311 is a VS 2015 64-bit warning for pointer truncation - 'msvs_disabled_warnings': [ 4018, 4267, 4311, ], - }, { # else: OS!="win" - 'product_name': 'xml2', - }], - ], - }], - ['OS == "ios"', { - 'toolsets': ['host', 'target'], - }], - ], - }, - ], -} diff --git a/third_party/libxslt/libxslt.gyp b/third_party/libxslt/libxslt.gyp deleted file mode 100644 index fc6ffc42a1eef..0000000000000 --- a/third_party/libxslt/libxslt.gyp +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright (c) 2009 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. - -{ - 'variables': { - 'conditions': [ - ['os_posix == 1 and OS != "mac"', { - 'os_include': 'linux' - }], - ['OS=="mac"', {'os_include': 'mac'}], - ['OS=="win"', {'os_include': 'win32'}], - ], - # We used to have a separate flag for using the system - # libxslt, but it seems mixing Chrome libxml and system - # libxslt causes crashes that nobody has had time to diagnose. - # So just put them both behind the same flag for now. - 'use_system_libxml%': 0, - }, - 'targets': [ - { - 'target_name': 'libxslt', - 'conditions': [ - ['os_posix == 1 and OS != "mac" and use_system_libxml', { - 'type': 'none', - 'direct_dependent_settings': { - 'cflags': [ - 'bool used in asserts. - '-Wstring-conversion', - ], - }, - 'sources': [ - '<(generated_src_dir)/mesa/main/dispatch.h', - 'src/src/glsl/ast_expr.cpp', - 'src/src/glsl/ast_function.cpp', - 'src/src/glsl/ast_to_hir.cpp', - 'src/src/glsl/ast_type.cpp', - 'src/src/glsl/builtin_variables.cpp', - '<(generated_src_dir)/mesa/glcpp-lex.c', - '<(generated_src_dir)/mesa/glcpp-parse.c', - '<(generated_src_dir)/mesa/glcpp-parse.h', - 'src/src/glsl/glcpp/glcpp.h', - 'src/src/glsl/glcpp/pp.c', - '<(generated_src_dir)/mesa/glsl_lexer.cc', - '<(generated_src_dir)/mesa/glsl_parser.cc', - 'src/src/glsl/glsl_parser_extras.cpp', - 'src/src/glsl/glsl_parser_extras.h', - 'src/src/glsl/glsl_symbol_table.cpp', - 'src/src/glsl/glsl_symbol_table.h', - 'src/src/glsl/glsl_types.cpp', - 'src/src/glsl/glsl_types.h', - 'src/src/glsl/hir_field_selection.cpp', - 'src/src/glsl/ir.cpp', - 'src/src/glsl/ir.h', - 'src/src/glsl/ir_basic_block.cpp', - 'src/src/glsl/ir_basic_block.h', - 'src/src/glsl/ir_builder.cpp', - 'src/src/glsl/ir_builder.h', - 'src/src/glsl/ir_clone.cpp', - 'src/src/glsl/ir_constant_expression.cpp', - 'src/src/glsl/ir_expression_flattening.cpp', - 'src/src/glsl/ir_expression_flattening.h', - 'src/src/glsl/ir_function.cpp', - 'src/src/glsl/ir_function_can_inline.cpp', - 'src/src/glsl/ir_function_detect_recursion.cpp', - 'src/src/glsl/ir_hierarchical_visitor.cpp', - 'src/src/glsl/ir_hierarchical_visitor.h', - 'src/src/glsl/ir_hv_accept.cpp', - 'src/src/glsl/ir_import_prototypes.cpp', - 'src/src/glsl/ir_print_visitor.cpp', - 'src/src/glsl/ir_print_visitor.h', - 'src/src/glsl/ir_reader.cpp', - 'src/src/glsl/ir_reader.h', - 'src/src/glsl/ir_rvalue_visitor.cpp', - 'src/src/glsl/ir_rvalue_visitor.h', - 'src/src/glsl/ir_set_program_inouts.cpp', - 'src/src/glsl/ir_validate.cpp', - 'src/src/glsl/ir_variable_refcount.cpp', - 'src/src/glsl/ir_variable_refcount.h', - 'src/src/glsl/link_functions.cpp', - 'src/src/glsl/link_uniform_initializers.cpp', - 'src/src/glsl/link_uniforms.cpp', - 'src/src/glsl/linker.cpp', - 'src/src/glsl/linker.h', - 'src/src/glsl/loop_analysis.cpp', - 'src/src/glsl/loop_analysis.h', - 'src/src/glsl/loop_controls.cpp', - 'src/src/glsl/loop_unroll.cpp', - 'src/src/glsl/lower_clip_distance.cpp', - 'src/src/glsl/lower_discard.cpp', - 'src/src/glsl/lower_discard_flow.cpp', - 'src/src/glsl/lower_if_to_cond_assign.cpp', - 'src/src/glsl/lower_instructions.cpp', - 'src/src/glsl/lower_jumps.cpp', - 'src/src/glsl/lower_mat_op_to_vec.cpp', - 'src/src/glsl/lower_noise.cpp', - 'src/src/glsl/lower_output_reads.cpp', - 'src/src/glsl/lower_texture_projection.cpp', - 'src/src/glsl/lower_ubo_reference.cpp', - 'src/src/glsl/lower_variable_index_to_cond_assign.cpp', - 'src/src/glsl/lower_vec_index_to_cond_assign.cpp', - 'src/src/glsl/lower_vec_index_to_swizzle.cpp', - 'src/src/glsl/lower_vector.cpp', - 'src/src/glsl/opt_algebraic.cpp', - 'src/src/glsl/opt_array_splitting.cpp', - 'src/src/glsl/opt_constant_folding.cpp', - 'src/src/glsl/opt_constant_propagation.cpp', - 'src/src/glsl/opt_constant_variable.cpp', - 'src/src/glsl/opt_copy_propagation.cpp', - 'src/src/glsl/opt_copy_propagation_elements.cpp', - 'src/src/glsl/opt_dead_code.cpp', - 'src/src/glsl/opt_dead_code_local.cpp', - 'src/src/glsl/opt_dead_functions.cpp', - 'src/src/glsl/opt_function_inlining.cpp', - 'src/src/glsl/opt_if_simplification.cpp', - 'src/src/glsl/opt_noop_swizzle.cpp', - 'src/src/glsl/opt_redundant_jumps.cpp', - 'src/src/glsl/opt_structure_splitting.cpp', - 'src/src/glsl/opt_swizzle_swizzle.cpp', - 'src/src/glsl/opt_tree_grafting.cpp', - 'src/src/glsl/program.h', - 'src/src/glsl/ralloc.c', - 'src/src/glsl/ralloc.h', - 'src/src/glsl/s_expression.cpp', - 'src/src/glsl/s_expression.h', - # This file is not needed and has duplicate symbols (although it - # happens to link because of static library link ordering). - #'src/src/glsl/standalone_scaffolding.cpp', - #'src/src/glsl/standalone_scaffolding.h', - 'src/src/glsl/strtod.c', - 'src/src/glsl/strtod.h', - ], - }, - { - 'target_name': 'mesa', - 'type': 'static_library', - 'include_dirs': [ - 'src/src/gallium/auxiliary', - 'src/src/gallium/include', - 'src/src/glsl', - 'src/src/glsl/glcpp', - 'src/src/mapi', - 'src/src/mapi/glapi', - 'src/src/mesa', - 'src/src/mesa/main', - '<(generated_src_dir)/mesa/', - '<(generated_src_dir)/mesa/main', - '<(generated_src_dir)/mesa/program', - '<(generated_src_dir)/mesa/glapi', - ], - 'dependencies': [ - 'mesa_headers', - 'mesa_libglslcommon', - ], - # TODO(scottmg): http://crbug.com/143877 These should be removed if - # Mesa is ever rolled and the warnings are fixed. - 'msvs_disabled_warnings': [ - 4005, 4018, 4090, 4099, 4146, 4291, 4305, 4334, 4748, 4267, - # TODO(brucedawson): http://crbug.com/554200 4311 is a VS - # 2015 64-bit warning for pointer truncation - 4311, - ], - 'variables': { - 'clang_warning_flags': [ - '-Wno-tautological-constant-out-of-range-compare', - '-Wno-absolute-value', # Fires on st_atom_array.c, might be a bug - '-Wno-mismatched-tags', # Fixed upstream. - # mesa's STATIC_ASSERT() macro expands to an ununused typedef. - '-Wno-unused-local-typedef', - ], - 'clang_warning_flags_unset': [ - # Don't warn about string->bool used in asserts. - '-Wstring-conversion', - ], - }, - 'sources': [ - '<(generated_src_dir)/mesa/builtin_function.cpp', - '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h', - 'src/src/mapi/mapi/entry.c', - 'src/src/mapi/mapi/entry.h', - 'src/src/mapi/mapi/mapi_glapi.c', - 'src/src/mapi/mapi/stub.c', - 'src/src/mapi/mapi/stub.h', - 'src/src/mapi/mapi/table.c', - 'src/src/mapi/mapi/table.h', - 'src/src/mapi/mapi/u_current.c', - 'src/src/mapi/mapi/u_current.h', - 'src/src/mapi/mapi/u_execmem.c', - 'src/src/mapi/mapi/u_execmem.h', - 'src/src/mesa/main/accum.c', - 'src/src/mesa/main/accum.h', - 'src/src/mesa/main/api_arrayelt.c', - 'src/src/mesa/main/api_arrayelt.h', - 'src/src/mesa/main/api_exec.c', - 'src/src/mesa/main/api_exec.h', - 'src/src/mesa/main/api_loopback.c', - 'src/src/mesa/main/api_loopback.h', - 'src/src/mesa/main/api_validate.c', - 'src/src/mesa/main/api_validate.h', - 'src/src/mesa/main/arbprogram.c', - 'src/src/mesa/main/arbprogram.h', - 'src/src/mesa/main/arrayobj.c', - 'src/src/mesa/main/arrayobj.h', - 'src/src/mesa/main/atifragshader.c', - 'src/src/mesa/main/atifragshader.h', - 'src/src/mesa/main/attrib.c', - 'src/src/mesa/main/attrib.h', - 'src/src/mesa/main/blend.c', - 'src/src/mesa/main/blend.h', - 'src/src/mesa/main/bufferobj.c', - 'src/src/mesa/main/bufferobj.h', - 'src/src/mesa/main/buffers.c', - 'src/src/mesa/main/buffers.h', - 'src/src/mesa/main/clear.c', - 'src/src/mesa/main/clear.h', - 'src/src/mesa/main/clip.c', - 'src/src/mesa/main/clip.h', - 'src/src/mesa/main/colortab.c', - 'src/src/mesa/main/colortab.h', - 'src/src/mesa/main/condrender.c', - 'src/src/mesa/main/condrender.h', - 'src/src/mesa/main/context.c', - 'src/src/mesa/main/context.h', - 'src/src/mesa/main/convolve.c', - 'src/src/mesa/main/convolve.h', - 'src/src/mesa/main/cpuinfo.c', - 'src/src/mesa/main/cpuinfo.h', - 'src/src/mesa/main/debug.c', - 'src/src/mesa/main/debug.h', - 'src/src/mesa/main/depth.c', - 'src/src/mesa/main/depth.h', - 'src/src/mesa/main/dlist.c', - 'src/src/mesa/main/dlist.h', - 'src/src/mesa/main/drawpix.c', - 'src/src/mesa/main/drawpix.h', - 'src/src/mesa/main/drawtex.c', - 'src/src/mesa/main/drawtex.h', - 'src/src/mesa/main/enable.c', - 'src/src/mesa/main/enable.h', - '<(generated_src_dir)/mesa/enums.c', - 'src/src/mesa/main/enums.h', - 'src/src/mesa/main/errors.c', - 'src/src/mesa/main/errors.h', - 'src/src/mesa/main/eval.c', - 'src/src/mesa/main/eval.h', - 'src/src/mesa/main/execmem.c', - 'src/src/mesa/main/extensions.c', - 'src/src/mesa/main/extensions.h', - 'src/src/mesa/main/fbobject.c', - 'src/src/mesa/main/fbobject.h', - 'src/src/mesa/main/feedback.c', - 'src/src/mesa/main/feedback.h', - 'src/src/mesa/main/ff_fragment_shader.cpp', - 'src/src/mesa/main/ffvertex_prog.c', - 'src/src/mesa/main/ffvertex_prog.h', - 'src/src/mesa/main/fog.c', - 'src/src/mesa/main/fog.h', - 'src/src/mesa/main/format_pack.c', - 'src/src/mesa/main/format_pack.h', - 'src/src/mesa/main/format_unpack.c', - 'src/src/mesa/main/format_unpack.h', - 'src/src/mesa/main/formats.c', - 'src/src/mesa/main/formats.h', - 'src/src/mesa/main/framebuffer.c', - 'src/src/mesa/main/framebuffer.h', - 'src/src/mesa/main/get.c', - 'src/src/mesa/main/get.h', - 'src/src/mesa/main/getstring.c', - 'src/src/mesa/main/glformats.c', - 'src/src/mesa/main/glformats.h', - 'src/src/mesa/main/hash.c', - 'src/src/mesa/main/hash.h', - 'src/src/mesa/main/hint.c', - 'src/src/mesa/main/hint.h', - 'src/src/mesa/main/histogram.c', - 'src/src/mesa/main/histogram.h', - 'src/src/mesa/main/image.c', - 'src/src/mesa/main/image.h', - 'src/src/mesa/main/imports.c', - 'src/src/mesa/main/imports.h', - 'src/src/mesa/main/light.c', - 'src/src/mesa/main/light.h', - 'src/src/mesa/main/lines.c', - 'src/src/mesa/main/lines.h', - 'src/src/mesa/main/matrix.c', - 'src/src/mesa/main/matrix.h', - 'src/src/mesa/main/mipmap.c', - 'src/src/mesa/main/mipmap.h', - 'src/src/mesa/main/mm.c', - 'src/src/mesa/main/mm.h', - 'src/src/mesa/main/multisample.c', - 'src/src/mesa/main/multisample.h', - 'src/src/mesa/main/nvprogram.c', - 'src/src/mesa/main/nvprogram.h', - 'src/src/mesa/main/pack.c', - 'src/src/mesa/main/pack.h', - 'src/src/mesa/main/pbo.c', - 'src/src/mesa/main/pbo.h', - 'src/src/mesa/main/pixel.c', - 'src/src/mesa/main/pixel.h', - 'src/src/mesa/main/pixelstore.c', - 'src/src/mesa/main/pixelstore.h', - 'src/src/mesa/main/pixeltransfer.c', - 'src/src/mesa/main/pixeltransfer.h', - 'src/src/mesa/main/points.c', - 'src/src/mesa/main/points.h', - 'src/src/mesa/main/polygon.c', - 'src/src/mesa/main/polygon.h', - 'src/src/mesa/main/queryobj.c', - 'src/src/mesa/main/queryobj.h', - 'src/src/mesa/main/rastpos.c', - 'src/src/mesa/main/rastpos.h', - 'src/src/mesa/main/readpix.c', - 'src/src/mesa/main/readpix.h', - 'src/src/mesa/main/remap.c', - 'src/src/mesa/main/remap.h', - 'src/src/mesa/main/renderbuffer.c', - 'src/src/mesa/main/renderbuffer.h', - 'src/src/mesa/main/samplerobj.c', - 'src/src/mesa/main/samplerobj.h', - 'src/src/mesa/main/scissor.c', - 'src/src/mesa/main/scissor.h', - 'src/src/mesa/main/shader_query.cpp', - 'src/src/mesa/main/shaderapi.c', - 'src/src/mesa/main/shaderapi.h', - 'src/src/mesa/main/shaderobj.c', - 'src/src/mesa/main/shaderobj.h', - 'src/src/mesa/main/shared.c', - 'src/src/mesa/main/shared.h', - 'src/src/mesa/main/state.c', - 'src/src/mesa/main/state.h', - 'src/src/mesa/main/stencil.c', - 'src/src/mesa/main/stencil.h', - 'src/src/mesa/main/syncobj.c', - 'src/src/mesa/main/syncobj.h', - 'src/src/mesa/main/texcompress.c', - 'src/src/mesa/main/texcompress.h', - 'src/src/mesa/main/texcompress_cpal.c', - 'src/src/mesa/main/texcompress_cpal.h', - 'src/src/mesa/main/texcompress_etc.c', - 'src/src/mesa/main/texcompress_etc.h', - 'src/src/mesa/main/texcompress_fxt1.c', - 'src/src/mesa/main/texcompress_fxt1.h', - 'src/src/mesa/main/texcompress_rgtc.c', - 'src/src/mesa/main/texcompress_rgtc.h', - 'src/src/mesa/main/texcompress_s3tc.c', - 'src/src/mesa/main/texcompress_s3tc.h', - 'src/src/mesa/main/texenv.c', - 'src/src/mesa/main/texenv.h', - 'src/src/mesa/main/texformat.c', - 'src/src/mesa/main/texformat.h', - 'src/src/mesa/main/texgen.c', - 'src/src/mesa/main/texgen.h', - 'src/src/mesa/main/texgetimage.c', - 'src/src/mesa/main/texgetimage.h', - 'src/src/mesa/main/teximage.c', - 'src/src/mesa/main/teximage.h', - 'src/src/mesa/main/texobj.c', - 'src/src/mesa/main/texobj.h', - 'src/src/mesa/main/texparam.c', - 'src/src/mesa/main/texparam.h', - 'src/src/mesa/main/texstate.c', - 'src/src/mesa/main/texstate.h', - 'src/src/mesa/main/texstorage.c', - 'src/src/mesa/main/texstorage.h', - 'src/src/mesa/main/texstore.c', - 'src/src/mesa/main/texstore.h', - 'src/src/mesa/main/texturebarrier.c', - 'src/src/mesa/main/texturebarrier.h', - 'src/src/mesa/main/transformfeedback.c', - 'src/src/mesa/main/transformfeedback.h', - 'src/src/mesa/main/uniform_query.cpp', - 'src/src/mesa/main/uniforms.c', - 'src/src/mesa/main/uniforms.h', - 'src/src/mesa/main/varray.c', - 'src/src/mesa/main/varray.h', - 'src/src/mesa/main/version.c', - 'src/src/mesa/main/version.h', - 'src/src/mesa/main/viewport.c', - 'src/src/mesa/main/viewport.h', - 'src/src/mesa/main/vtxfmt.c', - 'src/src/mesa/main/vtxfmt.h', - 'src/src/mesa/math/m_debug_clip.c', - 'src/src/mesa/math/m_debug_norm.c', - 'src/src/mesa/math/m_debug_xform.c', - 'src/src/mesa/math/m_eval.c', - 'src/src/mesa/math/m_eval.h', - 'src/src/mesa/math/m_matrix.c', - 'src/src/mesa/math/m_matrix.h', - 'src/src/mesa/math/m_translate.c', - 'src/src/mesa/math/m_translate.h', - 'src/src/mesa/math/m_vector.c', - 'src/src/mesa/math/m_vector.h', - 'src/src/mesa/math/m_xform.c', - 'src/src/mesa/math/m_xform.h', - 'src/src/mesa/program/arbprogparse.c', - 'src/src/mesa/program/arbprogparse.h', - 'src/src/mesa/program/hash_table.c', - 'src/src/mesa/program/hash_table.h', - 'src/src/mesa/program/ir_to_mesa.cpp', - 'src/src/mesa/program/ir_to_mesa.h', - '<(generated_src_dir)/mesa/lex.yy.c', - 'src/src/mesa/program/nvfragparse.c', - 'src/src/mesa/program/nvfragparse.h', - 'src/src/mesa/program/nvvertparse.c', - 'src/src/mesa/program/nvvertparse.h', - 'src/src/mesa/program/prog_cache.c', - 'src/src/mesa/program/prog_cache.h', - 'src/src/mesa/program/prog_execute.c', - 'src/src/mesa/program/prog_execute.h', - 'src/src/mesa/program/prog_instruction.c', - 'src/src/mesa/program/prog_instruction.h', - 'src/src/mesa/program/prog_noise.c', - 'src/src/mesa/program/prog_noise.h', - 'src/src/mesa/program/prog_opt_constant_fold.c', - 'src/src/mesa/program/prog_optimize.c', - 'src/src/mesa/program/prog_optimize.h', - 'src/src/mesa/program/prog_parameter.c', - 'src/src/mesa/program/prog_parameter.h', - 'src/src/mesa/program/prog_parameter_layout.c', - 'src/src/mesa/program/prog_parameter_layout.h', - 'src/src/mesa/program/prog_print.c', - 'src/src/mesa/program/prog_print.h', - 'src/src/mesa/program/prog_statevars.c', - 'src/src/mesa/program/prog_statevars.h', - 'src/src/mesa/program/program.c', - 'src/src/mesa/program/program.h', - '<(generated_src_dir)/mesa/program/program_parse.tab.c', - '<(generated_src_dir)/mesa/program/program_parse.tab.h', - 'src/src/mesa/program/program_parse_extra.c', - 'src/src/mesa/program/programopt.c', - 'src/src/mesa/program/programopt.h', - 'src/src/mesa/program/register_allocate.c', - 'src/src/mesa/program/register_allocate.h', - 'src/src/mesa/program/sampler.cpp', - 'src/src/mesa/program/sampler.h', - 'src/src/mesa/program/string_to_uint_map.cpp', - 'src/src/mesa/program/symbol_table.c', - 'src/src/mesa/program/symbol_table.h', - 'src/src/mesa/swrast/s_aaline.c', - 'src/src/mesa/swrast/s_aaline.h', - 'src/src/mesa/swrast/s_aatriangle.c', - 'src/src/mesa/swrast/s_aatriangle.h', - 'src/src/mesa/swrast/s_alpha.c', - 'src/src/mesa/swrast/s_alpha.h', - 'src/src/mesa/swrast/s_atifragshader.c', - 'src/src/mesa/swrast/s_atifragshader.h', - 'src/src/mesa/swrast/s_bitmap.c', - 'src/src/mesa/swrast/s_blend.c', - 'src/src/mesa/swrast/s_blend.h', - 'src/src/mesa/swrast/s_blit.c', - 'src/src/mesa/swrast/s_clear.c', - 'src/src/mesa/swrast/s_context.c', - 'src/src/mesa/swrast/s_context.h', - 'src/src/mesa/swrast/s_copypix.c', - 'src/src/mesa/swrast/s_depth.c', - 'src/src/mesa/swrast/s_depth.h', - 'src/src/mesa/swrast/s_drawpix.c', - 'src/src/mesa/swrast/s_feedback.c', - 'src/src/mesa/swrast/s_feedback.h', - 'src/src/mesa/swrast/s_fog.c', - 'src/src/mesa/swrast/s_fog.h', - 'src/src/mesa/swrast/s_fragprog.c', - 'src/src/mesa/swrast/s_fragprog.h', - 'src/src/mesa/swrast/s_lines.c', - 'src/src/mesa/swrast/s_lines.h', - 'src/src/mesa/swrast/s_logic.c', - 'src/src/mesa/swrast/s_logic.h', - 'src/src/mesa/swrast/s_masking.c', - 'src/src/mesa/swrast/s_masking.h', - 'src/src/mesa/swrast/s_points.c', - 'src/src/mesa/swrast/s_points.h', - 'src/src/mesa/swrast/s_renderbuffer.c', - 'src/src/mesa/swrast/s_renderbuffer.h', - 'src/src/mesa/swrast/s_span.c', - 'src/src/mesa/swrast/s_span.h', - 'src/src/mesa/swrast/s_stencil.c', - 'src/src/mesa/swrast/s_stencil.h', - 'src/src/mesa/swrast/s_texcombine.c', - 'src/src/mesa/swrast/s_texcombine.h', - 'src/src/mesa/swrast/s_texfetch.c', - 'src/src/mesa/swrast/s_texfetch.h', - 'src/src/mesa/swrast/s_texfilter.c', - 'src/src/mesa/swrast/s_texfilter.h', - 'src/src/mesa/swrast/s_texrender.c', - 'src/src/mesa/swrast/s_texture.c', - 'src/src/mesa/swrast/s_triangle.c', - 'src/src/mesa/swrast/s_triangle.h', - 'src/src/mesa/swrast/s_zoom.c', - 'src/src/mesa/swrast/s_zoom.h', - 'src/src/mesa/swrast_setup/ss_context.c', - 'src/src/mesa/swrast_setup/ss_context.h', - 'src/src/mesa/swrast_setup/ss_triangle.c', - 'src/src/mesa/swrast_setup/ss_triangle.h', - 'src/src/mesa/tnl/t_context.c', - 'src/src/mesa/tnl/t_context.h', - 'src/src/mesa/tnl/t_draw.c', - 'src/src/mesa/tnl/t_pipeline.c', - 'src/src/mesa/tnl/t_pipeline.h', - 'src/src/mesa/tnl/t_rasterpos.c', - 'src/src/mesa/tnl/t_vb_fog.c', - 'src/src/mesa/tnl/t_vb_light.c', - 'src/src/mesa/tnl/t_vb_normals.c', - 'src/src/mesa/tnl/t_vb_points.c', - 'src/src/mesa/tnl/t_vb_program.c', - 'src/src/mesa/tnl/t_vb_render.c', - 'src/src/mesa/tnl/t_vb_texgen.c', - 'src/src/mesa/tnl/t_vb_texmat.c', - 'src/src/mesa/tnl/t_vb_vertex.c', - 'src/src/mesa/tnl/t_vertex.c', - 'src/src/mesa/tnl/t_vertex.h', - 'src/src/mesa/tnl/t_vertex_generic.c', - 'src/src/mesa/tnl/t_vertex_sse.c', - 'src/src/mesa/tnl/t_vp_build.c', - 'src/src/mesa/tnl/t_vp_build.h', - 'src/src/mesa/vbo/vbo_context.c', - 'src/src/mesa/vbo/vbo_context.h', - 'src/src/mesa/vbo/vbo_exec.c', - 'src/src/mesa/vbo/vbo_exec.h', - 'src/src/mesa/vbo/vbo_exec_api.c', - 'src/src/mesa/vbo/vbo_exec_array.c', - 'src/src/mesa/vbo/vbo_exec_draw.c', - 'src/src/mesa/vbo/vbo_exec_eval.c', - 'src/src/mesa/vbo/vbo_noop.c', - 'src/src/mesa/vbo/vbo_noop.h', - 'src/src/mesa/vbo/vbo_primitive_restart.c', - 'src/src/mesa/vbo/vbo_rebase.c', - 'src/src/mesa/vbo/vbo_save.c', - 'src/src/mesa/vbo/vbo_save.h', - 'src/src/mesa/vbo/vbo_save_api.c', - 'src/src/mesa/vbo/vbo_save_draw.c', - 'src/src/mesa/vbo/vbo_save_loopback.c', - 'src/src/mesa/vbo/vbo_split.c', - 'src/src/mesa/vbo/vbo_split.h', - 'src/src/mesa/vbo/vbo_split_copy.c', - 'src/src/mesa/vbo/vbo_split_inplace.c', - 'src/src/mesa/x86-64/x86-64.c', - 'src/src/mesa/x86-64/x86-64.h', - ], - 'conditions': [ - ['OS=="android" and clang==0', { - # Disable sincos() optimization to avoid a linker error - # since Android's math library doesn't have sincos(). - # Either -fno-builtin-sin or -fno-builtin-cos works. - 'cflags': [ - '-fno-builtin-sin', - ], - }], - ['OS=="win"', { - 'defines': [ - # Because we're building as a static library - '_GLAPI_NO_EXPORTS', - ], - }], - ], - }, - # Building this target will hide the native OpenGL shared library and - # replace it with a slow software renderer. - { - 'target_name': 'osmesa', - 'type': 'loadable_module', - 'mac_bundle': 0, - 'dependencies': [ - 'mesa_headers', - 'mesa', - ], - 'xcode_settings': { - 'OTHER_LDFLAGS': [ - '-lstdc++', - ], - }, - 'conditions': [ - ['OS=="win"', { - 'defines': [ - 'BUILD_GL32', - 'KEYWORD1=GLAPI', - 'KEYWORD2=GLAPIENTRY', - ], - }], - ['OS=="linux"', { - 'link_settings': { - 'libraries': [ - '-ldl', - '-lm', - '-lstdc++', - ], - }, - }], - ['OS=="linux" and chromecast==1', { - 'sources': [ - 'chromium/empty.cc', - ], - 'link_settings': { - 'libraries!': [ - '-lstdc++', - ], - }, - }], - ], - 'include_dirs': [ - 'src/src/mapi', - 'src/src/mesa', - 'src/src/mesa/drivers', - '<(generated_src_dir)/mesa', - ], - 'msvs_disabled_warnings': [ - 4005, 4018, 4065, 4090, 4099, 4291, 4345, 4267, - # http://crbug.com/512956 - 4197, - ], - 'sources': [ - 'src/src/mesa/drivers/common/driverfuncs.c', - 'src/src/mesa/drivers/common/driverfuncs.h', - 'src/src/mesa/drivers/common/meta.c', - 'src/src/mesa/drivers/common/meta.h', - 'src/src/mesa/drivers/osmesa/osmesa.c', - 'src/src/mesa/drivers/osmesa/osmesa.def', - ], - 'variables': { - 'clang_warning_flags_unset': [ - # Don't warn about string->bool used in asserts. - '-Wstring-conversion', - ], - }, - }, - ], - 'conditions': [ - ['OS=="android"', { - 'targets': [ - { - # Copies libosmesa.so to the out/$BUILDTYPE/lib/ directory so that - # the write_ordered_libraries.py script won't assume it to be a - # system library. This will cause the library to be stripped allowing - # targets to embed it in the to-be-generated APK. - 'target_name': 'osmesa_in_lib_dir', - 'type': 'none', - 'dependencies': [ - 'osmesa', - ], - 'actions': [ - { - 'action_name': 'copy_libosmesa', - 'inputs': ['<(PRODUCT_DIR)/libosmesa.so'], - 'outputs': ['<(SHARED_LIB_DIR)/libosmesa.so'], - 'action': [ - 'cp', - '<(PRODUCT_DIR)/libosmesa.so', - '<(SHARED_LIB_DIR)/libosmesa.so', - ], - }, - ], - }, - ], - }], - [ 'OS=="linux"', { - 'targets': [ - { - 'target_name': 'wayland_drm_protocol', - 'type': 'static_library', - 'dependencies' : [ - '../wayland/wayland.gyp:wayland_util', - ], - 'include_dirs': [ - '<(generated_src_dir)/egl/wayland/wayland-drm', - ], - 'sources': [ - '<(generated_src_dir)/egl/wayland/wayland-drm/wayland-drm-client-protocol.h', - '<(generated_src_dir)/egl/wayland/wayland-drm/wayland-drm-protocol.c', - '<(generated_src_dir)/egl/wayland/wayland-drm/wayland-drm-server-protocol.h', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(generated_src_dir)/egl/wayland/wayland-drm', - ], - }, - }, - ], - }], - ], -} diff --git a/third_party/mesa/mesa_gensrc.gypi b/third_party/mesa/mesa_gensrc.gypi deleted file mode 100644 index f35c23e0031aa..0000000000000 --- a/third_party/mesa/mesa_gensrc.gypi +++ /dev/null @@ -1,604 +0,0 @@ -# Copyright (c) 2013 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. - -{ - 'variables': { - 'xmlfiles': [ - 'src/src/mapi/glapi/gen/EXT_draw_buffers2.xml', - 'src/src/mapi/glapi/gen/NV_texture_barrier.xml', - 'src/src/mapi/glapi/gen/NV_primitive_restart.xml', - 'src/src/mapi/glapi/gen/ARB_base_instance.xml', - 'src/src/mapi/glapi/gen/EXT_packed_depth_stencil.xml', - 'src/src/mapi/glapi/gen/ARB_sync.xml', - 'src/src/mapi/glapi/gen/ARB_draw_buffers.xml', - 'src/src/mapi/glapi/gen/ARB_geometry_shader4.xml', - 'src/src/mapi/glapi/gen/ARB_draw_buffers_blend.xml', - 'src/src/mapi/glapi/gen/GL3x.xml', - 'src/src/mapi/glapi/gen/ARB_blend_func_extended.xml', - 'src/src/mapi/glapi/gen/EXT_gpu_shader4.xml', - 'src/src/mapi/glapi/gen/ARB_robustness.xml', - 'src/src/mapi/glapi/gen/ARB_ES2_compatibility.xml', - 'src/src/mapi/glapi/gen/ARB_map_buffer_range.xml', - 'src/src/mapi/glapi/gen/OES_single_precision.xml', - 'src/src/mapi/glapi/gen/ARB_debug_output.xml', - 'src/src/mapi/glapi/gen/ARB_draw_instanced.xml', - 'src/src/mapi/glapi/gen/ARB_copy_buffer.xml', - 'src/src/mapi/glapi/gen/glX_API.xml', - 'src/src/mapi/glapi/gen/ARB_framebuffer_object.xml', - 'src/src/mapi/glapi/gen/OES_EGL_image.xml', - 'src/src/mapi/glapi/gen/gl_and_es_API.xml', - 'src/src/mapi/glapi/gen/ARB_color_buffer_float.xml', - 'src/src/mapi/glapi/gen/ARB_instanced_arrays.xml', - 'src/src/mapi/glapi/gen/APPLE_object_purgeable.xml', - 'src/src/mapi/glapi/gen/APPLE_vertex_array_object.xml', - 'src/src/mapi/glapi/gen/ARB_texture_rgb10_a2ui.xml', - 'src/src/mapi/glapi/gen/ARB_sampler_objects.xml', - 'src/src/mapi/glapi/gen/OES_fixed_point.xml', - 'src/src/mapi/glapi/gen/EXT_provoking_vertex.xml', - 'src/src/mapi/glapi/gen/ARB_texture_float.xml', - 'src/src/mapi/glapi/gen/EXT_texture_integer.xml', - 'src/src/mapi/glapi/gen/es_EXT.xml', - 'src/src/mapi/glapi/gen/gl_and_glX_API.xml', - 'src/src/mapi/glapi/gen/EXT_transform_feedback.xml', - 'src/src/mapi/glapi/gen/ARB_texture_buffer_object.xml', - 'src/src/mapi/glapi/gen/EXT_framebuffer_object.xml', - 'src/src/mapi/glapi/gen/ARB_uniform_buffer_object.xml', - 'src/src/mapi/glapi/gen/ARB_texture_rg.xml', - 'src/src/mapi/glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml', - 'src/src/mapi/glapi/gen/ARB_seamless_cube_map.xml', - 'src/src/mapi/glapi/gen/EXT_texture_array.xml', - 'src/src/mapi/glapi/gen/ARB_vertex_array_object.xml', - 'src/src/mapi/glapi/gen/ARB_invalidate_subdata.xml', - 'src/src/mapi/glapi/gen/ARB_draw_elements_base_vertex.xml', - 'src/src/mapi/glapi/gen/AMD_draw_buffers_blend.xml', - 'src/src/mapi/glapi/gen/ARB_get_program_binary.xml', - 'src/src/mapi/glapi/gen/gl_API.xml', - 'src/src/mapi/glapi/gen/ARB_depth_clamp.xml', - 'src/src/mapi/glapi/gen/ARB_texture_storage.xml', - 'src/src/mapi/glapi/gen/ARB_depth_buffer_float.xml', - 'src/src/mapi/glapi/gen/EXT_separate_shader_objects.xml', - 'src/src/mapi/glapi/gen/ARB_texture_compression_rgtc.xml', - 'src/src/mapi/glapi/gen/NV_conditional_render.xml', - 'src/src/mesa/main/APIspec.xml', - ], - }, - - 'targets': [ - # The targets below generate all of the sources Mesa generates - # during its build process. Mesa's XML processors like gl_XML.py - # rely heavily on Python's libxml2 bindings. Specifically, the - # processors require validation against the DTD for default values - # for attributes, and none of Python's built-in XML parsers support - # validation. It's infeasible to use any third-party XML parser for - # Python which relies on native code due to the large number of - # host platforms Chromium must build on, and pure Python validators - # are in short supply. - - # The main target is generate_mesa_sources, which must be run - # manually on a host platform with libxml2's Python bindings - # installed. (Most Linux distributions should fulfill this - # requirement.) - { - 'target_name': 'mesa_builtin_compiler', - 'type': 'executable', - 'include_dirs': [ - 'src/src/gallium/auxiliary', - 'src/src/gallium/include', - 'src/src/glsl', - 'src/src/glsl/glcpp', - 'src/src/mapi', - 'src/src/mapi/glapi', - 'src/src/mesa', - 'src/src/mesa/main', - '<(generated_src_dir)/mesa/', - '<(generated_src_dir)/mesa/main', - '<(generated_src_dir)/mesa/program', - '<(generated_src_dir)/mesa/glapi', - ], - 'dependencies': [ - 'generate_main_mesa_sources', - 'mesa_headers', - 'mesa_libglslcommon', # implicit dependency on generate_main_mesa_sources - ], - 'variables': { - 'clang_warning_flags': [ - '-Wno-tautological-constant-out-of-range-compare', - ], - 'clang_warning_flags_unset': [ - # Don't warn about string->bool used in asserts. - '-Wstring-conversion', - ], - }, - 'sources': [ - 'src/src/mesa/program/hash_table.c', - 'src/src/mesa/program/symbol_table.c', - 'src/src/glsl/standalone_scaffolding.cpp', - 'src/src/glsl/main.cpp', - 'src/src/glsl/builtin_stubs.cpp', - ], - }, - { - 'target_name': 'generate_mesa_sources', - 'type': 'none', - 'dependencies': [ - 'mesa_builtin_compiler', - ], - 'actions': [ - { - 'action_name': 'generateBuiltins', - 'inputs': [ - '<(PRODUCT_DIR)/mesa_builtin_compiler', - 'src/src/glsl/builtins/tools/generate_builtins.py' - ], - 'outputs': [ - '<(generated_src_dir)/mesa/builtin_function.cpp', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/builtin_function.cpp', - 'src/src/glsl/builtins/tools/generate_builtins.py', - '<(PRODUCT_DIR)/mesa_builtin_compiler', - ], - 'message': "Generating Mesa builtins ...", - } - ], - }, - { - 'target_name': 'generate_main_mesa_sources', - 'type': 'none', - 'actions': [ - { - 'action_name': 'glsl_parser_cc', - 'inputs': [ - 'src/src/glsl/glsl_parser.yy', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glsl_parser.cc', - '<(generated_src_dir)/mesa/glsl_parser.h', - ], - 'action': [ - 'bison', - '-y', - '-v', - '-o', - '<(generated_src_dir)/mesa/glsl_parser.cc', - '-p', - '_mesa_glsl_', - '--defines=<(generated_src_dir)/mesa/glsl_parser.h', - 'src/src/glsl/glsl_parser.yy' - ], - 'message': "Generating glsl parser ...", - }, - { - 'action_name': 'lex_yy_c', - 'inputs': [ - 'src/src/mesa/program/program_lexer.l', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/lex.yy.c', - ], - 'action': [ - 'flex', - '--never-interactive', - '--outfile=<(generated_src_dir)/mesa/lex.yy.c', - 'src/src/mesa/program/program_lexer.l' - ], - 'message': "Generating lex.yy.c ...", - }, - { - 'action_name': 'glsl_lexer_cc', - 'inputs': [ - 'src/src/glsl/glsl_lexer.ll', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glsl_lexer.cc', - ], - 'action': [ - 'flex', - '--nounistd', - '--outfile=<(generated_src_dir)/mesa/glsl_lexer.cc', - 'src/src/glsl/glsl_lexer.ll', - ], - 'message': "Generating glsl lexer ...", - }, - { - 'action_name': 'glcpp_lex_c', - 'inputs': [ - 'src/src/glsl/glcpp/glcpp-lex.l', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glcpp-lex.c', - ], - 'action': [ - 'flex', - '--nounistd', - '--outfile=<(generated_src_dir)/mesa/glcpp-lex.c', - 'src/src/glsl/glcpp/glcpp-lex.l', - ], - 'message': "Generating glcpp-lex.c ...", - }, - { - 'action_name': 'glcpp_parse_c', - 'inputs': [ - 'src/src/glsl/glcpp/glcpp-parse.y', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glcpp-parse.c', - '<(generated_src_dir)/mesa/glcpp-parse.h', - ], - 'action': [ - 'bison', - '-y', - '-v', - '-d', - '-p', - 'glcpp_parser_', - '-o', - '<(generated_src_dir)/mesa/glcpp-parse.c', - '--defines=<(generated_src_dir)/mesa/glcpp-parse.h', - 'src/src/glsl/glcpp/glcpp-parse.y', - ], - 'message': "Generating glcpp parser ...", - }, - { - 'action_name': 'program_parse_tab_c', - 'inputs': [ - 'src/src/mesa/program/program_parse.y', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/program/program_parse.tab.c', - ], - 'action': [ - 'bison', - '-y', - '-v', - '-d', - '-p', - '_mesa_program_', - '--output=<(generated_src_dir)/mesa/program/program_parse.tab.c', - 'src/src/mesa/program/program_parse.y', - ], - 'message': "Generating program_parse.y ...", - }, - { - 'action_name': 'glapi_mapi_tmp_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/mapi/mapi_abi.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi_mapi_tmp.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi_mapi_tmp.h', - 'src/src/mapi/mapi/mapi_abi.py', - '--printer', - 'glapi', - '--mode', - 'lib', - 'src/src/mapi/glapi/gen/gl_and_es_API.xml', - ], - 'message': "Generating glapi_mapi_tmp.h ...", - }, - { - 'action_name': 'glapi_mapi_tmp_shared_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/mapi/mapi_abi.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi_mapi_tmp_shared.h', - 'src/src/mapi/mapi/mapi_abi.py', - '--printer', - 'shared-glapi', - '--mode', - 'lib', - 'src/src/mapi/glapi/gen/gl_and_es_API.xml', - ], - 'message': "Generating glapi_mapi_tmp_shared.h ...", - }, - { - 'action_name': 'glprocs_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_procs.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glprocs.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glprocs.h', - 'src/src/mapi/glapi/gen/gl_procs.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating glprocs.h ...", - }, - { - 'action_name': 'glapitemp_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_apitemp.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi/glapitemp.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi/glapitemp.h', - 'src/src/mapi/glapi/gen/gl_apitemp.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating glapitemp.h ...", - }, - { - 'action_name': 'glapitable_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_table.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi/glapitable.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi/glapitable.h', - 'src/src/mapi/glapi/gen/gl_table.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating glapitable.h ...", - }, - { - 'action_name': 'glapi_gentable_c', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_gentable.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi_gentable.c', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi_gentable.c', - 'src/src/mapi/glapi/gen/gl_gentable.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating glapi_gentable.c ...", - }, - { - 'action_name': 'glapi_x86_64_S', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_x86-64_asm.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/glapi_x86-64.S', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/glapi_x86-64.S', - 'src/src/mapi/glapi/gen/gl_x86-64_asm.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating glapi_x86-64.S ...", - }, - { - 'action_name': 'enums_c', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_enums.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/enums.c', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/enums.c', - 'src/src/mapi/glapi/gen/gl_enums.py', - '-f', - 'src/src/mapi/glapi/gen/gl_and_es_API.xml', - ], - 'message': "Generating enums.c ...", - }, - { - 'action_name': 'dispatch_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/gl_table.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/main/dispatch.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/main/dispatch.h', - 'src/src/mapi/glapi/gen/gl_table.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'remap_table', - ], - 'message': "Generating dispatch.h ...", - }, - { - 'action_name': 'remap_helper_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/remap_helper.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/main/remap_helper.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/main/remap_helper.h', - 'src/src/mapi/glapi/gen/remap_helper.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - ], - 'message': "Generating remap_helper.h ...", - }, - { - 'action_name': 'indirect_c', - 'inputs': [ - '<@(xmlfiles)', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - 'redirectoutput.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/indirect.c', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/indirect.c', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'proto', - ], - 'message': "Generating indirect.c ...", - }, - { - 'action_name': 'indirect_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/indirect.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/indirect.h', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'init_h', - ], - 'message': "Generating indirect.h ...", - }, - { - 'action_name': 'indirect_init_c', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/indirect_init.c', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/indirect_init.c', - 'src/src/mapi/glapi/gen/glX_proto_send.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'init_c', - ], - 'message': "Generating indirect_init.c ...", - }, - { - 'action_name': 'indirect_size_h', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/glX_proto_size.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/indirect_size.h', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/indirect_size.h', - 'src/src/mapi/glapi/gen/glX_proto_size.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'size_h', - '--only-set', - '-h', - '_INDIRECT_SIZE_H_', - ], - 'message': "Generating indirect_size.h ...", - }, - { - 'action_name': 'indirect_size_c', - 'inputs': [ - '<@(xmlfiles)', - 'redirectoutput.py', - 'src/src/mapi/glapi/gen/glX_proto_size.py', - ], - 'outputs': [ - '<(generated_src_dir)/mesa/indirect_size.c', - ], - 'action': [ - 'python', - 'redirectoutput.py', - '<(generated_src_dir)/mesa/indirect_size.c', - 'src/src/mapi/glapi/gen/glX_proto_size.py', - '-f', - 'src/src/mapi/glapi/gen/gl_API.xml', - '-m', - 'size_c', - '--only-set', - ], - 'message': "Generating indirect_size.c ...", - }, - { - 'action_name': 'git_sha1_h', - 'inputs': [ - ], - 'outputs': [ - '<(generated_src_dir)/mesa/git_sha1.h', - ], - 'action': [ - 'python', - 'generate_git_sha1.py', - '<(generated_src_dir)/mesa/git_sha1.h', - ], - 'message': "Generating Mesa sources ...", - }, - ], - }, - ], -} diff --git a/third_party/minigbm/minigbm.gyp b/third_party/minigbm/minigbm.gyp deleted file mode 100644 index c8c71d33655e7..0000000000000 --- a/third_party/minigbm/minigbm.gyp +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 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. - -{ - 'variables': { - 'use_system_minigbm%': 0, - }, - 'conditions': [ - ['use_system_minigbm==0', { - 'targets': [ - { - 'target_name': 'minigbm', - 'type': 'shared_library', - 'dependencies' : [ - '../../build/linux/system.gyp:libdrm', - ], - 'sources': [ - 'src/cirrus.c', - 'src/evdi.c', - 'src/exynos.c', - 'src/gbm.c', - 'src/gma500.c', - 'src/helpers.c', - 'src/i915.c', - 'src/marvell.c', - 'src/mediatek.c', - 'src/rockchip.c', - 'src/tegra.c', - 'src/udl.c', - 'src/virtio_gpu.c', - ], - 'include_dirs': [ - 'src', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - }, - }, - ], - }, { # 'use_system_minigbm!=0 - 'targets': [ - { - 'target_name': 'minigbm', - 'type': 'none', - 'direct_dependent_settings': { - 'cflags': [ - ', which requires RTTI. - 'GOOGLE_PROTOBUF_NO_RTTI', - 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', - ], - }, - 'link_settings': { - # Use full protobuf, because vanilla protobuf doesn't have - # our custom patch to retain unknown fields in lite mode. - 'ldflags': [ - ', - # which requires RTTI. - 'GOOGLE_PROTOBUF_NO_RTTI', - - 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', - 'HAVE_PTHREAD', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - ], - 'defines': [ - 'GOOGLE_PROTOBUF_NO_RTTI', - 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', - ], - # TODO(jschuh): http://crbug.com/167187 size_t -> int. - 'msvs_disabled_warnings': [ 4267 ], - }, -} diff --git a/third_party/protobuf/protobuf_nacl.gyp b/third_party/protobuf/protobuf_nacl.gyp deleted file mode 100644 index 4b63e5c10a920..0000000000000 --- a/third_party/protobuf/protobuf_nacl.gyp +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2014 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. - -{ - 'includes': [ - '../../native_client/build/untrusted.gypi', - ], - 'targets': [ - { - 'target_name': 'protobuf_lite_nacl', - 'type': 'none', - 'variables': { - 'nacl_untrusted_build': 1, - 'nlib_target': 'libprotobuf_lite_nacl.a', - 'build_glibc': 0, - 'build_newlib': 0, - 'build_pnacl_newlib': 1, - }, - 'includes': [ - 'protobuf_lite.gypi', - ], - }, - ] -} diff --git a/third_party/qcms/qcms.gyp b/third_party/qcms/qcms.gyp deleted file mode 100644 index 9d52c0a8b7d84..0000000000000 --- a/third_party/qcms/qcms.gyp +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'disable_qcms%': 0, - }, - 'targets': [ - { - 'target_name': 'qcms', - 'product_name': 'qcms', - 'type': 'static_library', - - # Warning (sign-conversion) fixed upstream by large refactoring. Can be - # removed on next roll. - 'msvs_disabled_warnings': [ 4018 ], - - 'direct_dependent_settings': { - 'include_dirs': [ - './src', - ], - }, - - 'conditions': [ - ['disable_qcms == 1', { - 'sources': [ - 'src/empty.c', - ], - }, { # disable_qcms == 0 - 'sources': [ - 'src/chain.c', - 'src/chain.h', - 'src/iccread.c', - 'src/matrix.c', - 'src/matrix.h', - 'src/qcms.h', - 'src/qcmsint.h', - 'src/qcmstypes.h', - 'src/qcms_util.c', - 'src/transform.c', - 'src/transform_util.c', - 'src/transform_util.h', - ], - 'conditions': [ - ['target_arch=="ia32" or target_arch=="x64"', { - 'defines': [ - 'SSE2_ENABLE', - ], - 'sources': [ - 'src/transform-sse2.c', - ], - }], - ], - }], - ['OS == "win"', { - 'msvs_disabled_warnings': [ - 4056, # overflow in floating-point constant arithmetic (INFINITY) - 4756, # overflow in constant arithmetic (INFINITY) - ], - }], - ], - }, - ], - 'conditions': [ - ['disable_qcms == 0', { - 'targets': [ - { - 'target_name': 'qcms_tests', - 'product_name': 'qcms_tests', - 'type': 'executable', - 'dependencies': [ - 'qcms', - ], - 'conditions': [ - ['OS != "win"', { - 'libraries': [ - '-lm', - ], - }], - ['target_arch=="ia32" or target_arch=="x64"', { - 'defines': [ - 'SSE2_ENABLE', - ], - }], - ], - 'sources': [ - 'src/tests/qcms_test_main.c', - 'src/tests/qcms_test_internal_srgb.c', - 'src/tests/qcms_test_munsell.c', - 'src/tests/qcms_test_ntsc_gamut.c', - 'src/tests/qcms_test_output_trc.c', - 'src/tests/qcms_test_tetra_clut_rgba.c', - 'src/tests/qcms_test_util.c', - ], - }, - ], - }], - ], -} - -# Local Variables: -# tab-width:2 -# indent-tabs-mode:nil -# End: -# vim: set expandtab tabstop=2 shiftwidth=2: \ No newline at end of file diff --git a/third_party/re2/re2.gyp b/third_party/re2/re2.gyp deleted file mode 100644 index c566156e86f3f..0000000000000 --- a/third_party/re2/re2.gyp +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2014 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. - -{ - 'variables': { - 'build_for_tool%': '', - }, - 'targets': [ - { - 'target_name': 're2', - 'type': 'static_library', - 'include_dirs': [ - 'src', - '<(DEPTH)', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'src', - '<(DEPTH)', - ], - }, - 'sources': [ - 'src/re2/bitstate.cc', - 'src/re2/compile.cc', - 'src/re2/dfa.cc', - 'src/re2/filtered_re2.cc', - 'src/re2/filtered_re2.h', - 'src/re2/mimics_pcre.cc', - 'src/re2/nfa.cc', - 'src/re2/onepass.cc', - 'src/re2/parse.cc', - 'src/re2/perl_groups.cc', - 'src/re2/prefilter.cc', - 'src/re2/prefilter.h', - 'src/re2/prefilter_tree.cc', - 'src/re2/prefilter_tree.h', - 'src/re2/prog.cc', - 'src/re2/prog.h', - 'src/re2/re2.cc', - 'src/re2/re2.h', - 'src/re2/regexp.cc', - 'src/re2/regexp.h', - 'src/re2/set.cc', - 'src/re2/set.h', - 'src/re2/simplify.cc', - 'src/re2/stringpiece.cc', - 'src/re2/stringpiece.h', - 'src/re2/tostring.cc', - 'src/re2/unicode_casefold.cc', - 'src/re2/unicode_casefold.h', - 'src/re2/unicode_groups.cc', - 'src/re2/unicode_groups.h', - 'src/re2/variadic_function.h', - 'src/re2/walker-inl.h', - 'src/util/atomicops.h', - 'src/util/flags.h', - 'src/util/hash.cc', - 'src/util/logging.cc', - 'src/util/logging.h', - 'src/util/mutex.h', - 'src/util/rune.cc', - 'src/util/sparse_array.h', - 'src/util/sparse_set.h', - 'src/util/stringprintf.cc', - 'src/util/strutil.cc', - 'src/util/utf.h', - 'src/util/util.h', - 'src/util/valgrind.cc', - 'src/util/valgrind.h', - ], - 'conditions': [ - ['build_for_tool=="drmemory"', { - # Treat builds for Dr. Memory as builds for MSAN to prevent false - # positives created by lazily initialized memory. - # See crbug.com/568119#3 . - 'defines': [ - 'MEMORY_SANITIZER' - ], - }], - ] - }, - ], -} diff --git a/third_party/robolectric/robolectric.gyp b/third_party/robolectric/robolectric.gyp deleted file mode 100644 index 7c3d7858130a1..0000000000000 --- a/third_party/robolectric/robolectric.gyp +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 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. - -{ - 'targets': [ - { - # GN: //third_party/robolectric:android-all-4.3_r2-robolectric-0 - 'target_name': 'android-all-4.3_r2-robolectric-0', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/android-all-4.3_r2-robolectric-0.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/robolectric:tagsoup-1.2 - 'target_name': 'tagsoup-1.2', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/tagsoup-1.2.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/robolectric:json-20080701 - 'target_name': 'json-20080701', - 'type': 'none', - 'variables': { - 'jar_path': 'lib/json-20080701.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - { - # GN: //third_party/robolectric:robolectric_java - 'target_name': 'robolectric_jar', - 'type': 'none', - 'dependencies': [ - 'android-all-4.3_r2-robolectric-0', - 'tagsoup-1.2', - 'json-20080701', - ], - 'variables': { - 'jar_path': 'lib/robolectric-2.4-jar-with-dependencies.jar', - }, - 'includes': [ - '../../build/host_prebuilt_jar.gypi', - ] - }, - ], -} - diff --git a/third_party/sfntly/sfntly.gyp b/third_party/sfntly/sfntly.gyp deleted file mode 100644 index df33799103484..0000000000000 --- a/third_party/sfntly/sfntly.gyp +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright (c) 2011 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. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'sfntly', - 'type': 'static_library', - 'sources': [ - 'src/cpp/src/sfntly/data/byte_array.cc', - 'src/cpp/src/sfntly/data/byte_array.h', - 'src/cpp/src/sfntly/data/font_data.cc', - 'src/cpp/src/sfntly/data/font_data.h', - 'src/cpp/src/sfntly/data/font_input_stream.cc', - 'src/cpp/src/sfntly/data/font_input_stream.h', - 'src/cpp/src/sfntly/data/font_output_stream.cc', - 'src/cpp/src/sfntly/data/font_output_stream.h', - 'src/cpp/src/sfntly/data/growable_memory_byte_array.cc', - 'src/cpp/src/sfntly/data/growable_memory_byte_array.h', - 'src/cpp/src/sfntly/data/memory_byte_array.cc', - 'src/cpp/src/sfntly/data/memory_byte_array.h', - 'src/cpp/src/sfntly/data/readable_font_data.cc', - 'src/cpp/src/sfntly/data/readable_font_data.h', - 'src/cpp/src/sfntly/data/writable_font_data.cc', - 'src/cpp/src/sfntly/data/writable_font_data.h', - 'src/cpp/src/sfntly/font.cc', - 'src/cpp/src/sfntly/font.h', - 'src/cpp/src/sfntly/font_factory.cc', - 'src/cpp/src/sfntly/font_factory.h', - 'src/cpp/src/sfntly/math/fixed1616.h', - 'src/cpp/src/sfntly/math/font_math.h', - 'src/cpp/src/sfntly/port/atomic.h', - 'src/cpp/src/sfntly/port/config.h', - 'src/cpp/src/sfntly/port/endian.h', - 'src/cpp/src/sfntly/port/exception_type.h', - 'src/cpp/src/sfntly/port/file_input_stream.cc', - 'src/cpp/src/sfntly/port/file_input_stream.h', - 'src/cpp/src/sfntly/port/input_stream.h', - 'src/cpp/src/sfntly/port/lock.cc', - 'src/cpp/src/sfntly/port/lock.h', - 'src/cpp/src/sfntly/port/memory_input_stream.cc', - 'src/cpp/src/sfntly/port/memory_input_stream.h', - 'src/cpp/src/sfntly/port/memory_output_stream.cc', - 'src/cpp/src/sfntly/port/memory_output_stream.h', - 'src/cpp/src/sfntly/port/output_stream.h', - 'src/cpp/src/sfntly/port/refcount.h', - 'src/cpp/src/sfntly/port/type.h', - 'src/cpp/src/sfntly/table/bitmap/big_glyph_metrics.cc', - 'src/cpp/src/sfntly/table/bitmap/big_glyph_metrics.h', - 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph.cc', - 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph.h', - 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph_info.cc', - 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph_info.h', - 'src/cpp/src/sfntly/table/bitmap/bitmap_size_table.cc', - 'src/cpp/src/sfntly/table/bitmap/bitmap_size_table.h', - 'src/cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.cc', - 'src/cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.h', - 'src/cpp/src/sfntly/table/bitmap/ebdt_table.cc', - 'src/cpp/src/sfntly/table/bitmap/ebdt_table.h', - 'src/cpp/src/sfntly/table/bitmap/eblc_table.cc', - 'src/cpp/src/sfntly/table/bitmap/eblc_table.h', - 'src/cpp/src/sfntly/table/bitmap/ebsc_table.cc', - 'src/cpp/src/sfntly/table/bitmap/ebsc_table.h', - 'src/cpp/src/sfntly/table/bitmap/glyph_metrics.cc', - 'src/cpp/src/sfntly/table/bitmap/glyph_metrics.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format1.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format1.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format2.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format2.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format3.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format3.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format4.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format4.h', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format5.cc', - 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format5.h', - 'src/cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.cc', - 'src/cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.h', - 'src/cpp/src/sfntly/table/bitmap/small_glyph_metrics.cc', - 'src/cpp/src/sfntly/table/bitmap/small_glyph_metrics.h', - 'src/cpp/src/sfntly/table/byte_array_table_builder.cc', - 'src/cpp/src/sfntly/table/byte_array_table_builder.h', - 'src/cpp/src/sfntly/table/core/cmap_table.cc', - 'src/cpp/src/sfntly/table/core/cmap_table.h', - 'src/cpp/src/sfntly/table/core/font_header_table.cc', - 'src/cpp/src/sfntly/table/core/font_header_table.h', - 'src/cpp/src/sfntly/table/core/horizontal_device_metrics_table.cc', - 'src/cpp/src/sfntly/table/core/horizontal_device_metrics_table.h', - 'src/cpp/src/sfntly/table/core/horizontal_header_table.cc', - 'src/cpp/src/sfntly/table/core/horizontal_header_table.h', - 'src/cpp/src/sfntly/table/core/horizontal_metrics_table.cc', - 'src/cpp/src/sfntly/table/core/horizontal_metrics_table.h', - 'src/cpp/src/sfntly/table/core/maximum_profile_table.cc', - 'src/cpp/src/sfntly/table/core/maximum_profile_table.h', - 'src/cpp/src/sfntly/table/core/name_table.cc', - 'src/cpp/src/sfntly/table/core/name_table.h', - 'src/cpp/src/sfntly/table/core/os2_table.cc', - 'src/cpp/src/sfntly/table/core/os2_table.h', - 'src/cpp/src/sfntly/table/font_data_table.cc', - 'src/cpp/src/sfntly/table/font_data_table.h', - 'src/cpp/src/sfntly/table/generic_table_builder.cc', - 'src/cpp/src/sfntly/table/generic_table_builder.h', - 'src/cpp/src/sfntly/table/header.cc', - 'src/cpp/src/sfntly/table/header.h', - 'src/cpp/src/sfntly/table/subtable.cc', - 'src/cpp/src/sfntly/table/subtable.h', - 'src/cpp/src/sfntly/table/subtable_container_table.h', - 'src/cpp/src/sfntly/table/table.cc', - 'src/cpp/src/sfntly/table/table.h', - 'src/cpp/src/sfntly/table/table_based_table_builder.cc', - 'src/cpp/src/sfntly/table/table_based_table_builder.h', - 'src/cpp/src/sfntly/table/truetype/glyph_table.cc', - 'src/cpp/src/sfntly/table/truetype/glyph_table.h', - 'src/cpp/src/sfntly/table/truetype/loca_table.cc', - 'src/cpp/src/sfntly/table/truetype/loca_table.h', - 'src/cpp/src/sfntly/tag.cc', - 'src/cpp/src/sfntly/tag.h', - 'src/cpp/src/sample/chromium/font_subsetter.cc', - 'src/cpp/src/sample/chromium/font_subsetter.h', - 'src/cpp/src/sample/chromium/subsetter_impl.cc', - 'src/cpp/src/sample/chromium/subsetter_impl.h', - ], - 'include_dirs': [ - 'src/cpp/src', - ], - # This macro must be define to suppress the use of exception - 'defines': [ - 'SFNTLY_NO_EXCEPTION', - ], - 'dependencies' : [ - '../icu/icu.gyp:icuuc', - ], - # TODO(jschuh): http://crbug.com/167187 - 'msvs_disabled_warnings': [ 4267 ], - }, - ] -} diff --git a/third_party/smhasher/smhasher.gyp b/third_party/smhasher/smhasher.gyp deleted file mode 100644 index cad864e38b908..0000000000000 --- a/third_party/smhasher/smhasher.gyp +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'targets': [ - { - 'target_name': 'murmurhash3', - 'type': 'static_library', - 'sources': [ - 'src/MurmurHash3.h', - 'src/MurmurHash3.cpp', - ], - }, - { - 'target_name': 'pmurhash', - 'type': 'static_library', - 'sources': [ - 'src/PMurHash.h', - 'src/PMurHash.c', - ], - }, - { - 'target_name': 'cityhash', - 'type': 'static_library', - 'sources': [ - 'src/City.cpp', - 'src/City.h', - ], - # TODO(jschuh): http://code.google.com/p/smhasher/issues/detail?id=19 - 'msvs_disabled_warnings': [ - 4267, - ], - }, - ], -} diff --git a/third_party/snappy/snappy.gyp b/third_party/snappy/snappy.gyp deleted file mode 100644 index f0292593c3bac..0000000000000 --- a/third_party/snappy/snappy.gyp +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright (c) 2012 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. - -{ -'variables': { - 'conditions': [ - # Define an "os_include" variable that points at the OS-specific generated - # headers. These were generated by running the configure script offline. - ['os_posix == 1 and OS != "mac"', { - 'os_include': 'linux' - }], - ['OS=="mac"', {'os_include': 'mac'}], - ['OS=="win"', {'os_include': 'win32'}], - ], - 'use_system_libxml%': 0, - }, - 'targets': [ - { - 'target_name': 'snappy', - 'type': 'static_library', - 'include_dirs': [ - '<(os_include)', - 'src', - '../..', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(os_include)', - 'src', - ], - }, - 'variables': { - 'clang_warning_flags': [ - # ComputeTable is unused, - # https://code.google.com/p/snappy/issues/detail?id=96 - '-Wno-unused-function', - ], - 'clang_warning_flags_unset': [ - # snappy-stubs-internal.h unapologetically has: using namespace std - # https://code.google.com/p/snappy/issues/detail?id=70 - '-Wheader-hygiene', - ], - }, - 'sources': [ - 'src/snappy-internal.h', - 'src/snappy-sinksource.cc', - 'src/snappy-sinksource.h', - 'src/snappy-stubs-internal.cc', - 'src/snappy-stubs-internal.h', - 'src/snappy.cc', - 'src/snappy.h', - ], - 'conditions': [ - ['OS=="linux" or OS=="mac"', { - 'defines': [ - # TODO(tfarina): Only Mac and Linux has the generated config.h for - # now. Generate the config.h for Windows too and enable this there - # as well. - 'HAVE_CONFIG_H=1', - ], - }], - ['OS=="win"', { - # Signed/unsigned comparison - 'msvs_disabled_warnings': [ - # https://code.google.com/p/snappy/issues/detail?id=71 - 4018, - # https://code.google.com/p/snappy/issues/detail?id=75 - 4267, - ], - }], - ], - }, - { - 'target_name': 'snappy_unittest', - 'type': 'executable', - 'sources': [ - 'src/snappy-test.cc', - 'src/snappy-test.h', - 'src/snappy_unittest.cc', - ], - 'dependencies': [ - 'snappy', - '../../base/base.gyp:base', - '../../testing/gtest.gyp:gtest', - '../../third_party/zlib/zlib.gyp:zlib', - ], - 'variables': { - 'clang_warning_flags': [ '-Wno-return-type' ], - 'clang_warning_flags_unset': [ '-Wheader-hygiene' ], - }, - 'conditions': [ - ['OS=="linux" or OS=="mac"', { - 'defines': [ - # TODO(tfarina): Only Mac and Linux has the generated config.h for - # now. Generate the config.h for Windows too and enable this there - # as well. - 'HAVE_CONFIG_H=1', - ], - }], - ], - }, - ], -} diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp deleted file mode 100644 index 811284072ca17..0000000000000 --- a/third_party/sqlite/sqlite.gyp +++ /dev/null @@ -1,273 +0,0 @@ -# Copyright (c) 2012 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. - -{ - 'variables': { - 'use_system_sqlite%': 0, - 'required_sqlite_version': '3.6.1', - }, - 'target_defaults': { - 'defines': [ - 'SQLITE_ENABLE_FTS3', - # New unicode61 tokenizer with built-in tables. - 'SQLITE_DISABLE_FTS3_UNICODE', - # Chromium currently does not enable fts4, disable extra code. - 'SQLITE_DISABLE_FTS4_DEFERRED', - 'SQLITE_ENABLE_ICU', - 'SQLITE_ENABLE_MEMORY_MANAGEMENT', - 'SQLITE_SECURE_DELETE', - # Custom flag to tweak pcache pools. - # TODO(shess): This shouldn't use faux-SQLite naming. - 'SQLITE_SEPARATE_CACHE_POOLS', - # TODO(shess): SQLite adds mutexes to protect structures which cross - # threads. In theory Chromium should be able to turn this off for a - # slight speed boost. - 'THREADSAFE', - # SQLite can spawn threads to sort in parallel if configured - # appropriately. Chromium doesn't configure SQLite for that, and would - # prefer to control distribution to worker threads. - 'SQLITE_MAX_WORKER_THREADS=0', - # Allow 256MB mmap footprint per connection. Should not be too open-ended - # as that could cause memory fragmentation. 50MB encompasses the 99th - # percentile of Chrome databases in the wild. - # TODO(shess): A 64-bit-specific value could be 1G or more. - # TODO(shess): Figure out if exceeding this is costly. - 'SQLITE_MAX_MMAP_SIZE=268435456', - # Use a read-only memory map when mmap'ed I/O is enabled to prevent memory - # stompers from directly corrupting the database. - # TODO(shess): Upstream the ability to use this define. - 'SQLITE_MMAP_READ_ONLY=1', - # By default SQLite pre-allocates 100 pages of pcache data, which will not - # be released until the handle is closed. This is contrary to Chromium's - # memory-usage goals. - 'SQLITE_DEFAULT_PCACHE_INITSZ=0', - # NOTE(shess): Some defines can affect the amalgamation. Those should be - # added to google_generate_amalgamation.sh, and the amalgamation - # re-generated. Usually this involves disabling features which include - # keywords or syntax, for instance SQLITE_OMIT_VIRTUALTABLE omits the - # virtual table syntax entirely. Missing an item usually results in - # syntax working but execution failing. Review: - # src/src/parse.py - # src/tool/mkkeywordhash.c - ], - }, - 'targets': [ - { - 'target_name': 'sqlite', - 'conditions': [ - ['use_system_sqlite', { - 'type': 'none', - 'direct_dependent_settings': { - 'defines': [ - 'USE_SYSTEM_SQLITE', - ], - }, - - 'conditions': [ - ['OS == "ios"', { - 'dependencies': [ - 'sqlite_recover', - 'sqlite_regexp', - ], - 'link_settings': { - 'xcode_settings': { - 'OTHER_LDFLAGS': [ - '-lsqlite3', - ], - }, - }, - }], - ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { - 'direct_dependent_settings': { - 'cflags': [ - # This next command produces no output but it it will fail - # (and cause GYP to fail) if we don't have a recent enough - # version of sqlite. - '