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

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

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