1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 ['disable_nacl==0 and disable_nacl_untrusted==0', {
9 '../build/common_untrusted.gypi',
10 '../mojo/mojo_nacl.gypi',
11 '../third_party/mojo/mojo_variables.gypi',
15 'target_name': 'libmojo',
18 'nlib_target': 'libmojo.a',
21 'build_pnacl_newlib': 1,
24 '<(monacl_codegen_dir)/libmojo.cc',
27 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
28 'mojo_nacl.gyp:monacl_codegen',
29 '../third_party/mojo/mojo_public.gyp:mojo_system_placeholder',
33 'target_name': 'libmojo_irt',
36 'nlib_target': 'libmojo_irt.a',
39 'build_pnacl_newlib': 0,
43 '<(monacl_codegen_dir)/mojo_irt.c',
44 '<(monacl_codegen_dir)/mojo_irt.h',
47 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
48 'mojo_nacl.gyp:monacl_codegen',
50 'direct_dependent_settings': {
52 '../third_party/mojo/src',
57 'target_name': 'monacl_test',
60 'nexe_target': 'monacl_test',
62 'build_pnacl_newlib': 1,
63 'translate_pexe_with_build': 1,
70 '<@(mojo_public_system_unittest_sources)',
74 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
75 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
76 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
77 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
78 '../testing/gtest_nacl.gyp:gtest_nacl',
79 '../testing/gtest_nacl.gyp:gtest_main_nacl',
81 'mojo_nacl.gyp:monacl_codegen',