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

Unified Diff: services/location/BUILD.gn

Issue 1309233008: Move applications using play services to the shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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: services/location/BUILD.gn
diff --git a/services/location/BUILD.gn b/services/location/BUILD.gn
index a7270659062c6168638d8b931be9c34809047c63..7d6ff276205ae0b0f974c253331c40d1498679e8 100644
--- a/services/location/BUILD.gn
+++ b/services/location/BUILD.gn
@@ -2,25 +2,19 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//mojo/android/rules.gni")
+import("//build/config/android/rules.gni")
-group("location") {
- deps = [
- ":location_service",
- ]
-}
-
-mojo_android_java_application("location_service") {
- sources = [
- "src/org/chromium/services/location/LocationServiceApp.java",
+android_library("location") {
+ java_files = [
+ "src/org/chromium/services/location/LocationApplicationDelegate.java",
"src/org/chromium/services/location/LocationServiceImpl.java",
"src/org/chromium/services/location/LocationUtil.java",
]
- mojo_main = "org.chromium.services.location.LocationServiceApp"
-
deps = [
"//mojo/public/interfaces/application:application_java",
+ "//mojo/public/java:bindings",
+ "//mojo/public/java:system",
"//mojo/public/java:application",
"//mojo/services/location/public/interfaces:interfaces_java",
"//third_party/android_tools:google_play_services_default_java",

Powered by Google App Engine
This is Rietveld 408576698