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

Unified Diff: mojo/edk/system/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/embedder/platform_shared_buffer.cc ('k') | mojo/edk/system/channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/BUILD.gn
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn
index daf93e475472da881c57be7d273e63013d35a29d..dd153d6b1bc1a7253c58528edb558f3ed49263c8 100644
--- a/mojo/edk/system/BUILD.gn
+++ b/mojo/edk/system/BUILD.gn
@@ -2,6 +2,7 @@
# 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")
import("//testing/test.gni")
import("../../../mojo/public/tools/bindings/mojom.gni")
@@ -100,9 +101,12 @@ component("system") {
deps = [
"//base",
"//base/third_party/dynamic_annotations",
- "//crypto",
]
+ if (!is_nacl) {
+ deps += [ "//crypto" ]
+ }
+
if (is_win) {
cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()),
# which is uninteresting.
@@ -115,6 +119,14 @@ component("system") {
]
}
+ if (is_nacl && !is_nacl_nonsfi) {
+ sources -= [
+ "broker_host_posix.cc",
+ "broker_posix.cc",
+ "channel_posix.cc",
+ ]
+ }
+
allow_circular_includes_from = [ "//mojo/edk/embedder" ]
}
« no previous file with comments | « mojo/edk/embedder/platform_shared_buffer.cc ('k') | mojo/edk/system/channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698