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

Unified Diff: mojo/nacl/BUILD.gn

Issue 901273003: roll up of misc. gn work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « ipc/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/BUILD.gn
diff --git a/mojo/nacl/BUILD.gn b/mojo/nacl/BUILD.gn
index 3ce017d44c0cca6eb33e44cdfa62bff98430ec9f..137540bbd0b22f80b8eb01c2015773711659e548 100644
--- a/mojo/nacl/BUILD.gn
+++ b/mojo/nacl/BUILD.gn
@@ -21,6 +21,7 @@ if (current_toolchain == default_toolchain) {
"$gen_dir/mojo_syscall.cc",
"$gen_dir/libmojo.cc",
]
+ public_configs = [ "//third_party/mojo/src/mojo/public/build/config:mojo_sdk" ]
}
}
@@ -33,6 +34,7 @@ if (!is_nacl) {
"$gen_dir/mojo_syscall.cc",
"monacl_sel_main.cc",
]
+
deps = [
# This target makes sure we have all the pre-processor defines needed to
# use NaCl's headers.
@@ -65,7 +67,7 @@ if (is_nacl) {
sources = [
"$gen_dir/libmojo.cc",
]
- deps = [
+ public_deps = [
":mojo_nacl_codegen($default_toolchain)",
]
}
@@ -77,6 +79,7 @@ if (is_nacl) {
"//third_party/mojo/src/mojo/public/cpp/system/tests/core_unittest.cc",
"//third_party/mojo/src/mojo/public/cpp/system/tests/macros_unittest.cc",
]
+ include_dirs = [ "//third_party/mojo/src" ]
deps = [
"//native_client/src/untrusted/nacl:imc_syscalls",
"//testing/gtest:gtest",
« no previous file with comments | « ipc/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698