Index: third_party/mojo/src/mojo/public/platform/nacl/BUILD.gn |
diff --git a/third_party/mojo/src/mojo/public/platform/nacl/BUILD.gn b/third_party/mojo/src/mojo/public/platform/nacl/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..29ad797662109d817caa9f18a8886b8167d0e2a0 |
--- /dev/null |
+++ b/third_party/mojo/src/mojo/public/platform/nacl/BUILD.gn |
@@ -0,0 +1,29 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("../../mojo_sdk.gni") |
+ |
+# Untrusted code |
+if (is_nacl) { |
+ # Thunk mapping the Mojo public API onto NaCl syscalls. |
+ mojo_sdk_source_set("mojo") { |
+ sources = [ |
+ "libmojo.cc", |
+ "mojo_irt.h", |
+ ] |
+ mojo_sdk_deps = [ "mojo/public/c/system" ] |
+ } |
+ |
+ mojo_sdk_source_set("system") { |
+ sources = [ |
+ "mojo_initial_handle.h", |
+ "mojo_main_thunk.cc", |
+ ] |
+ |
+ mojo_sdk_deps = [ |
+ "mojo/public/c/system", |
+ "mojo/public/platform/nacl:mojo", |
+ ] |
+ } |
+} |