| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 "//content/browser/speech/proto", | 71 "//content/browser/speech/proto", |
| 72 "//content/child:for_content_tests", | 72 "//content/child:for_content_tests", |
| 73 "//content/gpu", | 73 "//content/gpu", |
| 74 "//content/public/browser", | 74 "//content/public/browser", |
| 75 "//content/public/child", | 75 "//content/public/child", |
| 76 "//content/public/renderer", | 76 "//content/public/renderer", |
| 77 "//content/public/utility", | 77 "//content/public/utility", |
| 78 "//content/renderer:for_content_tests", | 78 "//content/renderer:for_content_tests", |
| 79 "//content/shell:pak", | 79 "//content/shell:pak", |
| 80 "//content/utility:for_content_tests", | 80 "//content/utility:for_content_tests", |
| 81 "//device/geolocation:device_geolocation", | |
| 82 "//device/nfc:mojo_bindings", | 81 "//device/nfc:mojo_bindings", |
| 83 "//ipc:test_support", | 82 "//ipc:test_support", |
| 84 "//media", | 83 "//media", |
| 85 "//media/capture", | 84 "//media/capture", |
| 86 "//media/mojo/interfaces:image_capture", | 85 "//media/mojo/interfaces:image_capture", |
| 87 "//mojo/edk/system", | 86 "//mojo/edk/system", |
| 88 "//mojo/edk/test:test_support", | 87 "//mojo/edk/test:test_support", |
| 89 "//net:test_support", | 88 "//net:test_support", |
| 90 "//services/shell/public/cpp", | 89 "//services/shell/public/cpp", |
| 91 "//skia", | 90 "//skia", |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 183 |
| 185 if (is_win) { | 184 if (is_win) { |
| 186 deps += [ | 185 deps += [ |
| 187 "//content:sandbox_helper_win", | 186 "//content:sandbox_helper_win", |
| 188 "//third_party/iaccessible2", | 187 "//third_party/iaccessible2", |
| 189 ] | 188 ] |
| 190 } | 189 } |
| 191 | 190 |
| 192 if (is_android) { | 191 if (is_android) { |
| 193 deps += [ | 192 deps += [ |
| 194 "//device/geolocation:geolocation_java", | |
| 195 "//media/capture/video/android:android", | 193 "//media/capture/video/android:android", |
| 196 "//ui/android", | 194 "//ui/android", |
| 197 "//ui/shell_dialogs", | 195 "//ui/shell_dialogs", |
| 198 ] | 196 ] |
| 199 } | 197 } |
| 200 | 198 |
| 201 if (is_win) { | 199 if (is_win) { |
| 202 deps += [ "//sandbox" ] | 200 deps += [ "//sandbox" ] |
| 203 } | 201 } |
| 204 | 202 |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 if (enable_web_speech) { | 765 if (enable_web_speech) { |
| 768 sources += | 766 sources += |
| 769 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, | 767 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, |
| 770 ".", | 768 ".", |
| 771 "//content") | 769 "//content") |
| 772 } | 770 } |
| 773 | 771 |
| 774 if (is_linux) { | 772 if (is_linux) { |
| 775 if (use_dbus) { | 773 if (use_dbus) { |
| 776 deps += [ "//dbus:test_support" ] | 774 deps += [ "//dbus:test_support" ] |
| 775 } else { |
| 776 sources -= |
| 777 [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] |
| 777 } | 778 } |
| 778 } | 779 } |
| 779 if (is_win) { | 780 if (is_win) { |
| 780 deps += [ "//third_party/iaccessible2" ] | 781 deps += [ "//third_party/iaccessible2" ] |
| 781 } | 782 } |
| 782 if (is_mac) { | 783 if (is_mac) { |
| 783 # These flags are needed to run the test on Mac. | 784 # These flags are needed to run the test on Mac. |
| 784 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 785 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
| 785 ldflags = [ "-Wl,-ObjC" ] | 786 ldflags = [ "-Wl,-ObjC" ] |
| 786 | 787 |
| 787 deps += [ | 788 deps += [ |
| 788 "//third_party/mozilla", | 789 "//third_party/mozilla", |
| 789 "//third_party/ocmock", | 790 "//third_party/ocmock", |
| 790 "//ui/accelerated_widget_mac", | 791 "//ui/accelerated_widget_mac", |
| 791 ] | 792 ] |
| 792 } | 793 } |
| 793 if (is_chromeos) { | 794 if (is_chromeos) { |
| 795 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ] |
| 794 deps += [ "//chromeos" ] | 796 deps += [ "//chromeos" ] |
| 795 } | 797 } |
| 796 if (is_android) { | 798 if (is_android) { |
| 797 sources += | 799 sources += |
| 798 rebase_path(content_tests_gypi_values.content_unittests_android_sources, | 800 rebase_path(content_tests_gypi_values.content_unittests_android_sources, |
| 799 ".", | 801 ".", |
| 800 "//content") | 802 "//content") |
| 801 sources -= [ | 803 sources -= [ |
| 804 "../browser/geolocation/network_location_provider_unittest.cc", |
| 805 "../browser/geolocation/wifi_data_provider_common_unittest.cc", |
| 802 "../browser/power_usage_monitor_impl_unittest.cc", | 806 "../browser/power_usage_monitor_impl_unittest.cc", |
| 803 "../browser/webui/url_data_manager_backend_unittest.cc", | 807 "../browser/webui/url_data_manager_backend_unittest.cc", |
| 804 ] | 808 ] |
| 805 deps -= [ "//device/battery" ] | 809 deps -= [ "//device/battery" ] |
| 806 | 810 |
| 807 deps += [ | 811 deps += [ |
| 808 "//base:base_java_unittest_support", | 812 "//base:base_java_unittest_support", |
| 809 "//content/public/android:content_java", | 813 "//content/public/android:content_java", |
| 810 "//device/geolocation:geolocation_java", | |
| 811 "//v8:v8_external_startup_data_assets", | 814 "//v8:v8_external_startup_data_assets", |
| 812 ] | 815 ] |
| 813 | 816 |
| 814 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 817 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
| 815 } | 818 } |
| 816 if (!is_android) { | 819 if (!is_android) { |
| 817 deps += [ "//third_party/libvpx" ] | 820 deps += [ "//third_party/libvpx" ] |
| 818 } | 821 } |
| 819 | 822 |
| 820 if (use_aura) { | 823 if (use_aura) { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 if (is_android) { | 903 if (is_android) { |
| 901 deps += [ "//testing/android/native_test:native_test_native_code" ] | 904 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 902 } | 905 } |
| 903 } | 906 } |
| 904 | 907 |
| 905 group("fuzzers") { | 908 group("fuzzers") { |
| 906 deps = [ | 909 deps = [ |
| 907 "//content/test/fuzzer", | 910 "//content/test/fuzzer", |
| 908 ] | 911 ] |
| 909 } | 912 } |
| OLD | NEW |