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

Unified Diff: mojo/mojo_nacl_untrusted.gyp

Issue 826393003: Split mojo_nacl.gyp to fix ARM builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/mojo_nacl.gyp ('k') | ppapi/ppapi_tests_mojo.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_nacl_untrusted.gyp
diff --git a/mojo/mojo_nacl_untrusted.gyp b/mojo/mojo_nacl_untrusted.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..4e7aab8b50ab38047299e1252ab712c56d005d12
--- /dev/null
+++ b/mojo/mojo_nacl_untrusted.gyp
@@ -0,0 +1,67 @@
+# 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.
+
+{
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
+ 'variables': {
+ 'monacl_codegen_dir': '<(SHARED_INTERMEDIATE_DIR)/<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))/monacl',
+ },
+ 'includes': [
+ 'mojo_variables.gypi',
+ '../build/common_untrusted.gypi',
+ '../components/nacl/nacl_defines.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libmojo',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libmojo.a',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ },
+ 'defines': [
+ '<@(nacl_defines)',
+ ],
+ 'sources': [
+ '<(monacl_codegen_dir)/libmojo.cc',
+ ],
+ 'dependencies': [
+ 'mojo_nacl.gyp:monacl_codegen',
+ ],
+ },
+ {
+ 'target_name': 'monacl_test',
+ 'type': 'none',
+ 'variables': {
+ 'nexe_target': 'monacl_test',
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ 'translate_pexe_with_build': 1,
+ 'link_flags': [
+ '-pthread',
+ '-lmojo',
+ '-limc_syscalls',
+ ],
+ 'sources': [
+ '<@(mojo_public_system_unittest_sources)',
+ ],
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
+ '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
+ '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
+ '../testing/gtest_nacl.gyp:gtest_nacl',
+ '../testing/gtest_nacl.gyp:gtest_main_nacl',
+ 'libmojo',
+ 'mojo_nacl.gyp:monacl_codegen',
+ ],
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « mojo/mojo_nacl.gyp ('k') | ppapi/ppapi_tests_mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698