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

Unified Diff: mojo/shell/runner/host/BUILD.gn

Issue 1738663002: Hook embedded shell up to MojoShellConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/shell/runner/child/runner_connection.cc ('k') | mojo/shell/runner/host/linux_sandbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/host/BUILD.gn
diff --git a/mojo/shell/runner/host/BUILD.gn b/mojo/shell/runner/host/BUILD.gn
index b4e38f7179d96391d501d66203eba9c55fd798d4..911ee1179a26b77968d52b3f7804a05598e1b904 100644
--- a/mojo/shell/runner/host/BUILD.gn
+++ b/mojo/shell/runner/host/BUILD.gn
@@ -15,6 +15,10 @@ group("host") {
]
}
+config("native_application_support_with_gles2") {
+ defines = [ "NATIVE_APPLICATION_USE_GLES2_IMPL" ]
+}
+
source_set("native_application_support") {
sources = [
"native_application_support.cc",
@@ -23,11 +27,15 @@ source_set("native_application_support") {
deps = [
"//base",
- "//mojo/gles2",
"//mojo/platform_handle:platform_handle_impl",
"//mojo/shell",
]
+ if (!is_mac) {
+ configs += [ ":native_application_support_with_gles2" ]
+ deps += [ "//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
« no previous file with comments | « mojo/shell/runner/child/runner_connection.cc ('k') | mojo/shell/runner/host/linux_sandbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698