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

Side by Side Diff: mojo/application/public/cpp/BUILD.gn

Issue 1142323003: Remove duplicate application cpp files in mojo/application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//third_party/mojo/src/mojo/public/mojo_sdk.gni") 5 import("//third_party/mojo/src/mojo/public/mojo_sdk.gni")
6 6
7 # GYP version: mojo/mojo_base.gyp:mojo_application_base 7 # GYP version: mojo/mojo_base.gyp:mojo_application_base
8 mojo_sdk_source_set("cpp") { 8 source_set("cpp") {
9 restrict_external_deps = false
10 sources = [ 9 sources = [
10 "app_lifetime_helper.h",
11 "application_connection.h", 11 "application_connection.h",
12 "application_delegate.h", 12 "application_delegate.h",
13 "application_impl.h", 13 "application_impl.h",
14 "application_runner.h",
14 "connect.h", 15 "connect.h",
15 "interface_factory.h", 16 "interface_factory.h",
16 "interface_factory_impl.h", 17 "interface_factory_impl.h",
18 "lib/app_lifetime_helper.cc",
17 "lib/application_connection.cc", 19 "lib/application_connection.cc",
18 "lib/application_delegate.cc", 20 "lib/application_delegate.cc",
19 "lib/application_impl.cc", 21 "lib/application_impl.cc",
22 "lib/application_runner.cc",
20 "lib/interface_factory_connector.h", 23 "lib/interface_factory_connector.h",
21 "lib/service_connector_registry.cc", 24 "lib/service_connector_registry.cc",
22 "lib/service_connector_registry.h", 25 "lib/service_connector_registry.h",
23 "lib/service_provider_impl.cc", 26 "lib/service_provider_impl.cc",
24 "lib/service_registry.cc", 27 "lib/service_registry.cc",
25 "lib/service_registry.h", 28 "lib/service_registry.h",
26 "service_connector.h", 29 "service_connector.h",
27 "service_provider_impl.h", 30 "service_provider_impl.h",
28 ] 31 ]
29 32
30 deps = [ 33 deps = [
34 "//base",
31 "//mojo/application/public/interfaces", 35 "//mojo/application/public/interfaces",
32 ] 36 "//mojo/common",
33 37 "//mojo/environment:chromium",
34 mojo_sdk_deps = [ 38 "//third_party/mojo/src/mojo/public/cpp/bindings",
35 "mojo/public/cpp/bindings", 39 "//third_party/mojo/src/mojo/public/cpp/system",
36 "mojo/public/cpp/environment",
37 "mojo/public/cpp/system",
38 ] 40 ]
39 } 41 }
40 42
41 # GYP version: mojo/mojo_base.gyp:mojo_application_standalone 43 source_set("content_handler") {
42 mojo_sdk_source_set("standalone") {
43 sources = [ 44 sources = [
44 "lib/application_runner.cc", 45 "content_handler_factory.h",
46 "lib/content_handler_factory.cc",
45 ] 47 ]
46 48 deps = [
47 public_deps = [
48 ":cpp", 49 ":cpp",
49 ] 50 "//base",
50 51 "//mojo/services/network/public/interfaces",
51 mojo_sdk_deps = [
52 "mojo/public/cpp/environment:standalone",
53 "mojo/public/cpp/utility",
54 ] 52 ]
55 } 53 }
56 54
57 mojo_sdk_source_set("test_support") { 55 source_set("test_support") {
58 testonly = true 56 testonly = true
59 restrict_external_deps = false
60 sources = [ 57 sources = [
61 "application_test_base.h", 58 "application_test_base.h",
62 "lib/application_test_base.cc", 59 "lib/application_test_base.cc",
60 "lib/application_test_main.cc",
63 ] 61 ]
64 62
65 deps = [ 63 deps = [
66 ":cpp", 64 ":cpp",
67 "//mojo/application/public/interfaces", 65 "//base",
66 "//base/test:test_support",
67 "//third_party/mojo/src/mojo/public/cpp/bindings",
68 "//third_party/mojo/src/mojo/public/cpp/environment",
69 "//third_party/mojo/src/mojo/public/cpp/system",
68 "//testing/gtest", 70 "//testing/gtest",
69 ] 71 ]
70 72
71 mojo_sdk_deps = [ 73 data_deps = []
72 "mojo/public/cpp/bindings", 74 if (is_android) {
73 "mojo/public/cpp/environment", 75 data_deps += [ "//mojo/android" ]
74 "mojo/public/cpp/system", 76 }
75 ] 77 if (!is_component_build) {
78 data_deps += [ "//mojo/runner" ]
79 }
76 } 80 }
77
78 mojo_sdk_source_set("test_support_standalone") {
79 testonly = true
80 restrict_external_deps = false
81 sources = [
82 "lib/application_test_main.cc",
83 ]
84
85 public_deps = [
86 ":test_support",
87 ]
88
89 deps = [
90 ":cpp",
91 "//mojo/application/public/interfaces",
92 ]
93
94 mojo_sdk_deps = [
95 "mojo/public/cpp/environment:standalone",
96 "mojo/public/cpp/system",
97 "mojo/public/cpp/utility",
98 ]
99 }
OLDNEW
« no previous file with comments | « mojo/application/content_handler_factory.cc ('k') | mojo/application/public/cpp/app_lifetime_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698