OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |