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

Unified Diff: mojo/edk/embedder/BUILD.gn

Issue 2039713004: [mojo-edk] Make the Mojo EDK compile under NaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 6 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/edk/DEPS ('k') | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/BUILD.gn
diff --git a/mojo/edk/embedder/BUILD.gn b/mojo/edk/embedder/BUILD.gn
index 7ecd485eed446436864146d5aedf695a96816b3a..e822b196ceb92fc30796602329c7e8fa1412a474 100644
--- a/mojo/edk/embedder/BUILD.gn
+++ b/mojo/edk/embedder/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/nacl/config.gni")
+
source_set("headers") {
sources = [
"configuration.h",
@@ -59,9 +61,11 @@ source_set("embedder") {
"//mojo/public/cpp/system",
]
- deps = [
- "//crypto",
- ]
+ if (!is_nacl) {
+ deps = [
+ "//crypto",
+ ]
+ }
}
source_set("platform") {
@@ -107,6 +111,10 @@ source_set("platform") {
if (is_android) {
deps += [ "//third_party/ashmem" ]
}
+
+ if (is_nacl && !is_nacl_nonsfi) {
+ sources -= [ "platform_channel_utils_posix.cc" ]
+ }
}
source_set("delegates") {
« no previous file with comments | « mojo/edk/DEPS ('k') | mojo/edk/embedder/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698