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

Unified Diff: components/location/android/BUILD.gn

Issue 2038753004: Add a LocationUtils class to give all Chromium Android code access to location helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Use LOCATION_MODE instead of isProviderEnabled. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/location/android/BUILD.gn
diff --git a/device/vr/android/BUILD.gn b/components/location/android/BUILD.gn
similarity index 59%
copy from device/vr/android/BUILD.gn
copy to components/location/android/BUILD.gn
index c79d189f62116601d2769750bb2abb83c8b108fb..d4731fac09570fa7a138d7d28144c7087e71ddf7 100644
--- a/device/vr/android/BUILD.gn
+++ b/components/location/android/BUILD.gn
@@ -2,13 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
-android_library("vr_android") {
- java_files = [ "java/src/org/chromium/device/vr/CardboardVRDevice.java" ]
-
+# GYP: //components/location.gypi:location_java
+android_library("location_java") {
deps = [
"//base:base_java",
]
+ java_files =
+ [ "java/src/org/chromium/components/location/LocationUtils.java" ]
}

Powered by Google App Engine
This is Rietveld 408576698