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

Side by Side Diff: device/geolocation/BUILD.gn

Issue 2201883003: Geolocation: move mojom from WebKit to device/geolocation/public/interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni(). 8 import("//build/config/android/rules.gni") # For generate_jni().
9 } 9 }
10 10
11 component("device_geolocation") { 11 component("device_geolocation") {
ortuno 2016/08/02 14:55:45 Shouldn't this be split into two separate targets?
Ken Rockot(use gerrit already) 2016/08/02 16:23:33 Maybe, but it's not clear how much that matters. I
12 defines = [ "DEVICE_GEOLOCATION_IMPLEMENTATION" ] 12 defines = [ "DEVICE_GEOLOCATION_IMPLEMENTATION" ]
13 13
14 sources = [ 14 sources = [
15 "access_token_store.h", 15 "access_token_store.h",
16 "android/geolocation_jni_registrar.cc", 16 "android/geolocation_jni_registrar.cc",
17 "android/geolocation_jni_registrar.h", 17 "android/geolocation_jni_registrar.h",
18 "empty_wifi_data_provider.cc", 18 "empty_wifi_data_provider.cc",
19 "empty_wifi_data_provider.h", 19 "empty_wifi_data_provider.h",
20 "geolocation_delegate.cc", 20 "geolocation_delegate.cc",
21 "geolocation_delegate.h", 21 "geolocation_delegate.h",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "wifi_data_provider_win.h", 64 "wifi_data_provider_win.h",
65 "wifi_polling_policy.h", 65 "wifi_polling_policy.h",
66 ] 66 ]
67 67
68 deps = [ 68 deps = [
69 "//base", 69 "//base",
70 "//google_apis:google_apis", 70 "//google_apis:google_apis",
71 "//mojo/edk/system", 71 "//mojo/edk/system",
72 "//mojo/public/cpp/bindings", 72 "//mojo/public/cpp/bindings",
73 "//net", 73 "//net",
74
75 # TODO(mcasas): move geolocation.mojom to public/interfaces.
76 "//third_party/WebKit/public:mojo_bindings",
77 "//ui/gfx", 74 "//ui/gfx",
78 ] 75 ]
79 76 public_deps = [
77 "//device/geolocation/public/interfaces:geolocation_mojom",
78 ]
80 if (is_android) { 79 if (is_android) {
81 sources -= [ 80 sources -= [
82 "network_location_provider.cc", 81 "network_location_provider.cc",
83 "network_location_provider.h", 82 "network_location_provider.h",
84 "network_location_request.cc", 83 "network_location_request.cc",
85 "network_location_request.h", 84 "network_location_request.h",
86 ] 85 ]
87 deps += [ ":geolocation_jni_headers" ] 86 deps += [ ":geolocation_jni_headers" ]
88 } 87 }
89 88
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 190 }
192 191
193 if (is_android) { 192 if (is_android) {
194 sources -= [ 193 sources -= [
195 "network_location_provider_unittest.cc", 194 "network_location_provider_unittest.cc",
196 "wifi_data_provider_common_unittest.cc", 195 "wifi_data_provider_common_unittest.cc",
197 ] 196 ]
198 deps += [ ":geolocation_java_test_support" ] 197 deps += [ ":geolocation_java_test_support" ]
199 } 198 }
200 } 199 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698