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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/mojo/src/mojo/public/mojo.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 } | 88 } |
89 | 89 |
90 source_set("lib") { | 90 source_set("lib") { |
91 sources = [ | 91 sources = [ |
92 "child_process.cc", | 92 "child_process.cc", |
93 "child_process.h", | 93 "child_process.h", |
94 "child_process_host.cc", | 94 "child_process_host.cc", |
95 "child_process_host.h", | 95 "child_process_host.h", |
96 "context.cc", | 96 "context.cc", |
97 "context.h", | 97 "context.h", |
98 "filename_util.cc", | |
99 "filename_util.h", | |
100 "init.cc", | 98 "init.cc", |
101 "init.h", | 99 "init.h", |
102 "out_of_process_native_runner.cc", | 100 "out_of_process_native_runner.cc", |
103 "out_of_process_native_runner.h", | 101 "out_of_process_native_runner.h", |
104 "task_runners.cc", | 102 "task_runners.cc", |
105 "task_runners.h", | 103 "task_runners.h", |
106 "url_resolver.cc", | 104 "url_resolver.cc", |
107 "url_resolver.h", | 105 "url_resolver.h", |
108 ] | 106 ] |
109 | 107 |
(...skipping 11 matching lines...) Expand all Loading... |
121 "//third_party/mojo/src/mojo/public/cpp/bindings", | 119 "//third_party/mojo/src/mojo/public/cpp/bindings", |
122 "//third_party/mojo/src/mojo/public/interfaces/application", | 120 "//third_party/mojo/src/mojo/public/interfaces/application", |
123 "//mojo/services/network/public/interfaces", | 121 "//mojo/services/network/public/interfaces", |
124 "//mojo/shell/application_manager", | 122 "//mojo/shell/application_manager", |
125 "//mojo/services/tracing:bindings", | 123 "//mojo/services/tracing:bindings", |
126 "//ui/gl", | 124 "//ui/gl", |
127 "//url", | 125 "//url", |
128 ] | 126 ] |
129 | 127 |
130 public_deps = [ | 128 public_deps = [ |
131 ":switches", | 129 ":common", |
132 ] | 130 ] |
133 | 131 |
134 if (is_android) { | 132 if (is_android) { |
135 sources += [ | 133 sources += [ |
136 "android/android_handler.cc", | 134 "android/android_handler.cc", |
137 "android/android_handler.h", | 135 "android/android_handler.h", |
138 "android/android_handler_loader.cc", | 136 "android/android_handler_loader.cc", |
139 "android/android_handler_loader.h", | 137 "android/android_handler_loader.h", |
140 "android/background_application_loader.cc", | 138 "android/background_application_loader.cc", |
141 "android/background_application_loader.h", | 139 "android/background_application_loader.h", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 178 |
181 # This target has to include the public thunk headers, which generally | 179 # This target has to include the public thunk headers, which generally |
182 # shouldn't be included without picking an implementation. We are providing | 180 # shouldn't be included without picking an implementation. We are providing |
183 # the implementation but the thunk header target cannot declare that we are | 181 # the implementation but the thunk header target cannot declare that we are |
184 # permitted to include it since it's in the public SDK and we are not. | 182 # permitted to include it since it's in the public SDK and we are not. |
185 # Suppress include checking so we can still check the rest of the targets in | 183 # Suppress include checking so we can still check the rest of the targets in |
186 # this file. | 184 # this file. |
187 check_includes = false | 185 check_includes = false |
188 } | 186 } |
189 | 187 |
190 source_set("switches") { | 188 source_set("common") { |
191 sources = [ | 189 sources = [ |
| 190 "filename_util.cc", |
| 191 "filename_util.h", |
192 "switches.cc", | 192 "switches.cc", |
193 "switches.h", | 193 "switches.h", |
194 ] | 194 ] |
195 | 195 |
196 deps = [ | 196 deps = [ |
197 "//base", | 197 "//base", |
198 ] | 198 ] |
199 } | 199 } |
200 | 200 |
201 if (is_android) { | 201 if (is_android) { |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 "//third_party/mojo/src/mojo/public/cpp/system:system", | 404 "//third_party/mojo/src/mojo/public/cpp/system:system", |
405 | 405 |
406 #"//mojo/services/http_server/public/cpp", | 406 #"//mojo/services/http_server/public/cpp", |
407 #"//mojo/services/http_server/public/interfaces", | 407 #"//mojo/services/http_server/public/interfaces", |
408 "//mojo/services/network/public/interfaces", | 408 "//mojo/services/network/public/interfaces", |
409 "//mojo/shell/test:bindings", | 409 "//mojo/shell/test:bindings", |
410 ] | 410 ] |
411 | 411 |
412 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] | 412 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] |
413 } | 413 } |
OLD | NEW |