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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: 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",
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
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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 if (enable_web_speech) { 764 if (enable_web_speech) {
767 sources += 765 sources +=
768 rebase_path(content_tests_gypi_values.content_unittests_speech_sources, 766 rebase_path(content_tests_gypi_values.content_unittests_speech_sources,
769 ".", 767 ".",
770 "//content") 768 "//content")
771 } 769 }
772 770
773 if (is_linux) { 771 if (is_linux) {
774 if (use_dbus) { 772 if (use_dbus) {
775 deps += [ "//dbus:test_support" ] 773 deps += [ "//dbus:test_support" ]
774 } else {
775 sources -=
776 [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ]
776 } 777 }
777 } 778 }
778 if (is_win) { 779 if (is_win) {
779 deps += [ "//third_party/iaccessible2" ] 780 deps += [ "//third_party/iaccessible2" ]
780 } 781 }
781 if (is_mac) { 782 if (is_mac) {
782 # These flags are needed to run the test on Mac. 783 # These flags are needed to run the test on Mac.
783 # Search for comments about "xcode_settings" in chrome_tests.gypi. 784 # Search for comments about "xcode_settings" in chrome_tests.gypi.
784 ldflags = [ "-Wl,-ObjC" ] 785 ldflags = [ "-Wl,-ObjC" ]
785 786
786 deps += [ 787 deps += [
787 "//third_party/mozilla", 788 "//third_party/mozilla",
788 "//third_party/ocmock", 789 "//third_party/ocmock",
789 "//ui/accelerated_widget_mac", 790 "//ui/accelerated_widget_mac",
790 ] 791 ]
791 } 792 }
792 if (is_chromeos) { 793 if (is_chromeos) {
794 sources -= [ "../browser/geolocation/wifi_data_provider_linux_unittest.cc" ]
793 deps += [ "//chromeos" ] 795 deps += [ "//chromeos" ]
794 } 796 }
795 if (is_android) { 797 if (is_android) {
796 sources += 798 sources +=
797 rebase_path(content_tests_gypi_values.content_unittests_android_sources, 799 rebase_path(content_tests_gypi_values.content_unittests_android_sources,
798 ".", 800 ".",
799 "//content") 801 "//content")
800 sources -= [ 802 sources -= [
803 "../browser/geolocation/network_location_provider_unittest.cc",
804 "../browser/geolocation/wifi_data_provider_common_unittest.cc",
801 "../browser/power_usage_monitor_impl_unittest.cc", 805 "../browser/power_usage_monitor_impl_unittest.cc",
802 "../browser/webui/url_data_manager_backend_unittest.cc", 806 "../browser/webui/url_data_manager_backend_unittest.cc",
803 ] 807 ]
804 deps -= [ "//device/battery" ] 808 deps -= [ "//device/battery" ]
805 809
806 deps += [ 810 deps += [
807 "//base:base_java_unittest_support", 811 "//base:base_java_unittest_support",
808 "//content/public/android:content_java", 812 "//content/public/android:content_java",
809 "//device/geolocation:geolocation_java",
810 "//v8:v8_external_startup_data_assets", 813 "//v8:v8_external_startup_data_assets",
811 ] 814 ]
812 815
813 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] 816 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ]
814 } 817 }
815 if (!is_android) { 818 if (!is_android) {
816 deps += [ "//third_party/libvpx" ] 819 deps += [ "//third_party/libvpx" ]
817 } 820 }
818 821
819 if (use_aura) { 822 if (use_aura) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 if (is_android) { 902 if (is_android) {
900 deps += [ "//testing/android/native_test:native_test_native_code" ] 903 deps += [ "//testing/android/native_test:native_test_native_code" ]
901 } 904 }
902 } 905 }
903 906
904 group("fuzzers") { 907 group("fuzzers") {
905 deps = [ 908 deps = [
906 "//content/test/fuzzer", 909 "//content/test/fuzzer",
907 ] 910 ]
908 } 911 }
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