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

Side by Side Diff: services/authentication/BUILD.gn

Issue 1466733002: Google OAuth Device Flow support for FNL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebased to master Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 9
10 android_library("authentication") { 10 android_library("authentication") {
(...skipping 20 matching lines...) Expand all
31 mojom("interfaces") { 31 mojom("interfaces") {
32 sources = [ 32 sources = [
33 "authentication_impl_db.mojom", 33 "authentication_impl_db.mojom",
34 ] 34 ]
35 } 35 }
36 } else { 36 } else {
37 import("//mojo/public/mojo_application.gni") 37 import("//mojo/public/mojo_application.gni")
38 38
39 mojo_native_application("authentication") { 39 mojo_native_application("authentication") {
40 sources = [ 40 sources = [
41 "dummy_authentication_app.cc", 41 "accounts_db_manager.cc",
42 "accounts_db_manager.h",
43 "google_authentication_impl.cc",
44 "google_authentication_impl.h",
45 "main.cc",
42 ] 46 ]
43 47
44 deps = [ 48 deps = [
49 ":interfaces",
50 "//base",
51 "//mojo/application",
45 "//mojo/common", 52 "//mojo/common",
46 "//mojo/public/cpp/application", 53 "//mojo/data_pipe_utils",
47 "//mojo/public/cpp/application:standalone",
48 "//mojo/public/cpp/bindings", 54 "//mojo/public/cpp/bindings",
55 "//mojo/public/cpp/bindings:callback",
49 "//mojo/public/cpp/system", 56 "//mojo/public/cpp/system",
50 "//mojo/services/authentication/interfaces", 57 "//mojo/services/authentication/interfaces",
58 "//mojo/services/files/interfaces",
59 "//mojo/services/network/interfaces",
60 ]
61 }
62
63 mojo_native_application("apptests") {
64 output_name = "authentication_apptests"
65 testonly = true
66
67 sources = [
68 "accounts_db_manager.cc",
69 "accounts_db_manager.h",
70 "accounts_db_manager_unittest.cc",
71 ]
72
73 deps = [
74 ":interfaces",
75 "//base",
76 "//mojo/application",
77 "//mojo/application:test_support",
78 "//mojo/public/cpp/bindings",
79 "//mojo/services/files/interfaces",
80 "//testing/gtest:gtest",
81 ]
82
83 data_deps = [
84 ":authentication($default_toolchain)",
85 ]
86 }
87
88 mojom("interfaces") {
89 sources = [
90 "authentication_impl_db.mojom",
91 "credentials_impl_db.mojom",
51 ] 92 ]
52 } 93 }
53 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698