Index: ppapi/native_client/src/untrusted/pnacl_irt_shim/BUILD.gn |
diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/BUILD.gn b/ppapi/native_client/src/untrusted/pnacl_irt_shim/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b09bb5ee72da3eb4f91b0e9c50d398a0f9fbc745 |
--- /dev/null |
+++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/BUILD.gn |
@@ -0,0 +1,31 @@ |
+# Copyright 2015 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("//build/config/features.gni") |
Nick Bray (chromium)
2015/02/07 02:37:46
Dito.
Dirk Pranke
2015/02/07 02:48:03
Done.
|
+ |
+assert(is_nacl, |
+ "These targets must only be built using the untrusted NaCl toolchains.") |
+ |
+static_library("aot") { |
+ sources = [ |
+ "irt_shim_ppapi.c", |
+ "pnacl_shim.c", |
+ "shim_entry.c", |
+ "shim_ppapi.c", |
+ ] |
+} |
+ |
+static_library("browser") { |
+ sources = [ |
+ "shim_entry.c", |
+ "shim_ppapi.c", |
+ ] |
+} |
+ |
+static_library("irt") { |
+ sources = [ |
+ "irt_shim_ppapi.c", |
+ "pnacl_shim.c", |
+ ] |
+} |