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 'monacl_codegen_dir': '<(SHARED_INTERMEDIATE_DIR)/<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))/monacl',
12 'mojo_variables.gypi',
13 '../build/common_untrusted.gypi',
14 '../components/nacl/nacl_defines.gypi',
18 'target_name': 'libmojo',
21 'nlib_target': 'libmojo.a',
24 'build_pnacl_newlib': 1,
30 '<(monacl_codegen_dir)/libmojo.cc',
33 'mojo_nacl.gyp:monacl_codegen',
34 'mojo_public.gyp:mojo_system_placeholder',
38 'target_name': 'monacl_test',
41 'nexe_target': 'monacl_test',
43 'build_pnacl_newlib': 1,
44 'translate_pexe_with_build': 1,
51 '<@(mojo_public_system_unittest_sources)',
55 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
56 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
57 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
58 '<(DEPTH)/native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
59 '../testing/gtest_nacl.gyp:gtest_nacl',
60 '../testing/gtest_nacl.gyp:gtest_main_nacl',
62 'mojo_nacl.gyp:monacl_codegen',