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 source_set("cpp") { | 8 source_set("cpp") { |
| 9 deps = [ |
| 10 ":sources", |
| 11 ":init_commandline", |
| 12 ] |
| 13 } |
| 14 |
| 15 # Like the target above, but without special commandline initialization that |
| 16 # apps use. |
| 17 source_set("cpp_for_chromium") { |
| 18 deps = [ |
| 19 ":sources", |
| 20 ] |
| 21 } |
| 22 |
| 23 source_set("sources") { |
9 sources = [ | 24 sources = [ |
10 "app_lifetime_helper.h", | 25 "app_lifetime_helper.h", |
11 "application_connection.h", | 26 "application_connection.h", |
12 "application_delegate.h", | 27 "application_delegate.h", |
13 "application_impl.h", | 28 "application_impl.h", |
14 "application_runner.h", | 29 "application_runner.h", |
15 "connect.h", | 30 "connect.h", |
16 "interface_factory.h", | 31 "interface_factory.h", |
17 "interface_factory_impl.h", | 32 "interface_factory_impl.h", |
18 "lib/app_lifetime_helper.cc", | 33 "lib/app_lifetime_helper.cc", |
(...skipping 14 matching lines...) Expand all Loading... |
33 deps = [ | 48 deps = [ |
34 "//base", | 49 "//base", |
35 "//mojo/application/public/interfaces", | 50 "//mojo/application/public/interfaces", |
36 "//mojo/common", | 51 "//mojo/common", |
37 "//mojo/environment:chromium", | 52 "//mojo/environment:chromium", |
38 "//third_party/mojo/src/mojo/public/cpp/bindings", | 53 "//third_party/mojo/src/mojo/public/cpp/bindings", |
39 "//third_party/mojo/src/mojo/public/cpp/system", | 54 "//third_party/mojo/src/mojo/public/cpp/system", |
40 ] | 55 ] |
41 } | 56 } |
42 | 57 |
| 58 source_set("init_commandline") { |
| 59 sources = [ |
| 60 "lib/init_commandline.cc", |
| 61 ] |
| 62 } |
| 63 |
43 source_set("content_handler") { | 64 source_set("content_handler") { |
44 sources = [ | 65 sources = [ |
45 "content_handler_factory.h", | 66 "content_handler_factory.h", |
46 "lib/content_handler_factory.cc", | 67 "lib/content_handler_factory.cc", |
47 ] | 68 ] |
48 deps = [ | 69 deps = [ |
49 ":cpp", | 70 ":cpp", |
50 "//base", | 71 "//base", |
51 "//mojo/services/network/public/interfaces", | 72 "//mojo/services/network/public/interfaces", |
52 ] | 73 ] |
(...skipping 18 matching lines...) Expand all Loading... |
71 ] | 92 ] |
72 | 93 |
73 data_deps = [] | 94 data_deps = [] |
74 if (is_android) { | 95 if (is_android) { |
75 data_deps += [ "//mojo/android" ] | 96 data_deps += [ "//mojo/android" ] |
76 } | 97 } |
77 if (!is_component_build) { | 98 if (!is_component_build) { |
78 data_deps += [ "//mojo/runner" ] | 99 data_deps += [ "//mojo/runner" ] |
79 } | 100 } |
80 } | 101 } |
OLD | NEW |