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

Unified Diff: shell/BUILD.gn

Issue 1046013002: Split LoadAndRunNativeApplication() ... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | shell/android/android_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/BUILD.gn
diff --git a/shell/BUILD.gn b/shell/BUILD.gn
index a9f81b1445943088b3f68727c09d40e94da94833..04ed5416713a03c97dca1c858ad09f2d5a8991ec 100644
--- a/shell/BUILD.gn
+++ b/shell/BUILD.gn
@@ -115,29 +115,18 @@ source_set("init") {
source_set("in_process_native_runner") {
sources = [
- "dynamic_service_runner.cc",
- "dynamic_service_runner.h",
"in_process_native_runner.cc",
"in_process_native_runner.h",
]
public_deps = [
- "//shell/application_manager:application_manager",
+ ":native_application_support",
+ "//shell/application_manager",
]
deps = [
"//base",
- "//mojo/gles2",
- "//mojo/public/cpp/system",
]
-
- # This target has to include the public thunk headers, which generally
- # shouldn't be included without picking an implementation. We are providing
- # the implementation but the thunk header target cannot declare that we are
- # permitted to include it since it's in the public SDK and we are not.
- # Suppress include checking so we can still check the rest of the targets in
- # this file.
- check_includes = false
}
source_set("lib") {
@@ -175,6 +164,7 @@ source_set("lib") {
":external_application_registrar_bindings",
":init",
":in_process_native_runner",
+ ":native_application_support",
"//base",
"//base/third_party/dynamic_annotations",
"//base:base_static",
@@ -234,6 +224,30 @@ source_set("lib") {
check_includes = false
}
+source_set("native_application_support") {
+ sources = [
+ "native_application_support.cc",
+ "native_application_support.h",
+ ]
+
+ public_deps = [
+ "//mojo/public/cpp/bindings",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/gles2",
+ ]
+
+ # This target has to include the public thunk headers, which generally
+ # shouldn't be included without picking an implementation. We are providing
+ # the implementation but the thunk header target cannot declare that we are
+ # permitted to include it since it's in the public SDK and we are not.
+ # Suppress include checking so we can still check the rest of the targets in
+ # this file.
+ check_includes = false
+}
+
source_set("switches") {
sources = [
"switches.cc",
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | shell/android/android_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698