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 'mojo_nacl.gyp:monacl_codegen',
28 '../third_party/mojo/mojo_public.gyp:mojo_system_placeholder',
32 'target_name': 'libmojo_irt',
35 'nlib_target': 'libmojo_irt.a',
38 'build_pnacl_newlib': 0,
42 '<(monacl_codegen_dir)/mojo_irt.c',
43 '<(monacl_codegen_dir)/mojo_irt.h',
46 'mojo_nacl.gyp:monacl_codegen',
48 'direct_dependent_settings': {
50 '../third_party/mojo/src',
55 'target_name': 'monacl_test',
58 'nexe_target': 'monacl_test',
60 'build_pnacl_newlib': 1,
61 'translate_pexe_with_build': 1,
68 '<@(mojo_public_system_unittest_sources)',
72 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
73 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
74 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
75 '../testing/gtest_nacl.gyp:gtest_nacl',
76 '../testing/gtest_nacl.gyp:gtest_main_nacl',
78 'mojo_nacl.gyp:monacl_codegen',