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

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: Removed data_unittest.py 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",
57 "//mojo/public/cpp/utility",
50 "//mojo/services/authentication/interfaces", 58 "//mojo/services/authentication/interfaces",
59 "//mojo/services/files/interfaces",
60 "//mojo/services/network/interfaces",
61 ]
62 }
63
64 mojo_native_application("apptests") {
65 output_name = "authentication_apptests"
66 testonly = true
67
68 sources = [
69 "accounts_db_manager.cc",
70 "accounts_db_manager.h",
71 "accounts_db_manager_unittest.cc",
72 ]
73
74 deps = [
75 ":interfaces",
76 "//base",
77 "//mojo/application",
78 "//mojo/application:test_support",
79 "//mojo/public/cpp/bindings",
80 "//mojo/services/files/interfaces",
81 "//testing/gtest:gtest",
82 ]
83
84 data_deps = [
85 ":authentication($default_toolchain)",
86 ]
87 }
88
89 mojom("interfaces") {
90 sources = [
91 "authentication_impl_db.mojom",
92 "credentials_impl_db.mojom",
51 ] 93 ]
52 } 94 }
53 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698