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

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

Issue 1136763003: Simplify mojo/application/public/cpp/BUILD.gn to call the target cpp instead of 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
« no previous file with comments | « mojo/application/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("application") { 8 mojo_sdk_source_set("cpp") {
9 restrict_external_deps = false 9 restrict_external_deps = false
10 sources = [ 10 sources = [
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 "connect.h", 14 "connect.h",
15 "interface_factory.h", 15 "interface_factory.h",
16 "interface_factory_impl.h", 16 "interface_factory_impl.h",
17 "lib/application_connection.cc", 17 "lib/application_connection.cc",
18 "lib/application_delegate.cc", 18 "lib/application_delegate.cc",
(...skipping 19 matching lines...) Expand all
38 ] 38 ]
39 } 39 }
40 40
41 # GYP version: mojo/mojo_base.gyp:mojo_application_standalone 41 # GYP version: mojo/mojo_base.gyp:mojo_application_standalone
42 mojo_sdk_source_set("standalone") { 42 mojo_sdk_source_set("standalone") {
43 sources = [ 43 sources = [
44 "lib/application_runner.cc", 44 "lib/application_runner.cc",
45 ] 45 ]
46 46
47 public_deps = [ 47 public_deps = [
48 ":application", 48 ":cpp",
49 ] 49 ]
50 50
51 mojo_sdk_deps = [ 51 mojo_sdk_deps = [
52 "mojo/public/cpp/environment:standalone", 52 "mojo/public/cpp/environment:standalone",
53 "mojo/public/cpp/utility", 53 "mojo/public/cpp/utility",
54 ] 54 ]
55 } 55 }
56 56
57 mojo_sdk_source_set("test_support") { 57 mojo_sdk_source_set("test_support") {
58 testonly = true 58 testonly = true
59 restrict_external_deps = false 59 restrict_external_deps = false
60 sources = [ 60 sources = [
61 "application_test_base.h", 61 "application_test_base.h",
62 "lib/application_test_base.cc", 62 "lib/application_test_base.cc",
63 ] 63 ]
64 64
65 deps = [ 65 deps = [
66 ":application", 66 ":cpp",
67 "//mojo/application/public/interfaces", 67 "//mojo/application/public/interfaces",
68 "//testing/gtest", 68 "//testing/gtest",
69 ] 69 ]
70 70
71 mojo_sdk_deps = [ 71 mojo_sdk_deps = [
72 "mojo/public/cpp/bindings", 72 "mojo/public/cpp/bindings",
73 "mojo/public/cpp/environment", 73 "mojo/public/cpp/environment",
74 "mojo/public/cpp/system", 74 "mojo/public/cpp/system",
75 ] 75 ]
76 } 76 }
77 77
78 mojo_sdk_source_set("test_support_standalone") { 78 mojo_sdk_source_set("test_support_standalone") {
79 testonly = true 79 testonly = true
80 restrict_external_deps = false 80 restrict_external_deps = false
81 sources = [ 81 sources = [
82 "lib/application_test_main.cc", 82 "lib/application_test_main.cc",
83 ] 83 ]
84 84
85 public_deps = [ 85 public_deps = [
86 ":test_support", 86 ":test_support",
87 ] 87 ]
88 88
89 deps = [ 89 deps = [
90 ":application", 90 ":cpp",
91 "//mojo/application/public/interfaces", 91 "//mojo/application/public/interfaces",
92 ] 92 ]
93 93
94 mojo_sdk_deps = [ 94 mojo_sdk_deps = [
95 "mojo/public/cpp/environment:standalone", 95 "mojo/public/cpp/environment:standalone",
96 "mojo/public/cpp/system", 96 "mojo/public/cpp/system",
97 "mojo/public/cpp/utility", 97 "mojo/public/cpp/utility",
98 ] 98 ]
99 } 99 }
OLDNEW
« no previous file with comments | « mojo/application/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698