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

Unified Diff: services/authentication/BUILD.gn

Issue 1116653002: Introduce authentication service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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/authentication/BUILD.gn
diff --git a/services/authentication/BUILD.gn b/services/authentication/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..62e2decd9539ba8d92c158b28c4fb50555bb7427
--- /dev/null
+++ b/services/authentication/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/tools/bindings/mojom.gni")
+
+if (is_android) {
+ import("//services/android/rules.gni")
+ import("//build/config/android/config.gni")
+
+ mojo_android_java_application("authentication") {
+ sources = [
+ "src/org/chromium/mojo/authentication/Authentication.java",
+ "src/org/chromium/mojo/authentication/AuthenticationServiceImpl.java",
+ ]
+
+ mojo_main = "org.chromium.mojo.authentication.Authentication"
+
+ deps = [
+ ":bindings_java",
+ "//mojo/public/interfaces/application:application_java",
+ "//mojo/public/java:application",
+ "//services/android:bindings_java",
+ "//third_party/android_tools:google_play_services_default_java",
+ ]
+ }
+}
+
+mojom("bindings") {
+ sources = [
+ "authentication.mojom",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698