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

Side by Side Diff: content/test/BUILD.gn

Issue 2176753003: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam@s comments and rebase (mostly blimp/engine) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/shell/browser/shell_browser_main_parts.cc ('k') | device/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 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
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",
81 "//device/nfc:mojo_bindings", 82 "//device/nfc:mojo_bindings",
82 "//ipc:test_support", 83 "//ipc:test_support",
83 "//media", 84 "//media",
84 "//media/capture", 85 "//media/capture",
85 "//media/mojo/interfaces:image_capture", 86 "//media/mojo/interfaces:image_capture",
86 "//mojo/edk/system", 87 "//mojo/edk/system",
87 "//mojo/edk/test:test_support", 88 "//mojo/edk/test:test_support",
88 "//net:test_support", 89 "//net:test_support",
89 "//services/shell/public/cpp", 90 "//services/shell/public/cpp",
90 "//skia", 91 "//skia",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 184
184 if (is_win) { 185 if (is_win) {
185 deps += [ 186 deps += [
186 "//content:sandbox_helper_win", 187 "//content:sandbox_helper_win",
187 "//third_party/iaccessible2", 188 "//third_party/iaccessible2",
188 ] 189 ]
189 } 190 }
190 191
191 if (is_android) { 192 if (is_android) {
192 deps += [ 193 deps += [
194 "//device/geolocation:geolocation_java",
193 "//media/capture/video/android:android", 195 "//media/capture/video/android:android",
194 "//ui/android", 196 "//ui/android",
195 "//ui/shell_dialogs", 197 "//ui/shell_dialogs",
196 ] 198 ]
197 } 199 }
198 200
199 if (is_win) { 201 if (is_win) {
200 deps += [ "//sandbox" ] 202 deps += [ "//sandbox" ]
201 } 203 }
202 204
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 if (enable_web_speech) { 767 if (enable_web_speech) {
766 sources += 768 sources +=
767 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, 769 rebase_path(content_tests_gypi_values.content_unittests_speech_sources,
768 ".", 770 ".",
769 "//content") 771 "//content")
770 } 772 }
771 773
772 if (is_linux) { 774 if (is_linux) {
773 if (use_dbus) { 775 if (use_dbus) {
774 deps += [ "//dbus:test_support" ] 776 deps += [ "//dbus:test_support" ]
775 } else {
776 sources -=
777 [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ]
778 } 777 }
779 } 778 }
780 if (is_win) { 779 if (is_win) {
781 deps += [ "//third_party/iaccessible2" ] 780 deps += [ "//third_party/iaccessible2" ]
782 } 781 }
783 if (is_mac) { 782 if (is_mac) {
784 # These flags are needed to run the test on Mac. 783 # These flags are needed to run the test on Mac.
785 # Search for comments about "xcode_settings" in chrome_tests.gypi. 784 # Search for comments about "xcode_settings" in chrome_tests.gypi.
786 ldflags = [ "-Wl,-ObjC" ] 785 ldflags = [ "-Wl,-ObjC" ]
787 786
788 deps += [ 787 deps += [
789 "//third_party/mozilla", 788 "//third_party/mozilla",
790 "//third_party/ocmock", 789 "//third_party/ocmock",
791 "//ui/accelerated_widget_mac", 790 "//ui/accelerated_widget_mac",
792 ] 791 ]
793 } 792 }
794 if (is_chromeos) { 793 if (is_chromeos) {
795 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ]
796 deps += [ "//chromeos" ] 794 deps += [ "//chromeos" ]
797 } 795 }
798 if (is_android) { 796 if (is_android) {
799 sources += 797 sources +=
800 rebase_path(content_tests_gypi_values.content_unittests_android_sources, 798 rebase_path(content_tests_gypi_values.content_unittests_android_sources,
801 ".", 799 ".",
802 "//content") 800 "//content")
803 sources -= [ 801 sources -= [
804 "../browser/geolocation/network_location_provider_unittest.cc",
805 "../browser/geolocation/wifi_data_provider_common_unittest.cc",
806 "../browser/power_usage_monitor_impl_unittest.cc", 802 "../browser/power_usage_monitor_impl_unittest.cc",
807 "../browser/webui/url_data_manager_backend_unittest.cc", 803 "../browser/webui/url_data_manager_backend_unittest.cc",
808 ] 804 ]
809 deps -= [ "//device/battery" ] 805 deps -= [ "//device/battery" ]
810 806
811 deps += [ 807 deps += [
812 "//base:base_java_unittest_support", 808 "//base:base_java_unittest_support",
813 "//content/public/android:content_java", 809 "//content/public/android:content_java",
810 "//device/geolocation:geolocation_java",
814 "//v8:v8_external_startup_data_assets", 811 "//v8:v8_external_startup_data_assets",
815 ] 812 ]
816 813
817 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] 814 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ]
818 } 815 }
819 if (!is_android) { 816 if (!is_android) {
820 deps += [ "//third_party/libvpx" ] 817 deps += [ "//third_party/libvpx" ]
821 } 818 }
822 819
823 if (use_aura) { 820 if (use_aura) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 if (is_android) { 900 if (is_android) {
904 deps += [ "//testing/android/native_test:native_test_native_code" ] 901 deps += [ "//testing/android/native_test:native_test_native_code" ]
905 } 902 }
906 } 903 }
907 904
908 group("fuzzers") { 905 group("fuzzers") {
909 deps = [ 906 deps = [
910 "//content/test/fuzzer", 907 "//content/test/fuzzer",
911 ] 908 ]
912 } 909 }
OLDNEW
« no previous file with comments | « content/shell/browser/shell_browser_main_parts.cc ('k') | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698