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 '../mojo/mojo_nacl.gypi',
13 'target_name': 'monacl_codegen',
17 'action_name': 'generate_nacl_bindings',
19 'nacl/generator/generate_nacl_bindings.py',
20 'nacl/generator/interface.py',
21 'nacl/generator/interface_dsl.py',
22 'nacl/generator/libmojo.cc.tmpl',
23 'nacl/generator/mojo_irt.c.tmpl',
24 'nacl/generator/mojo_irt.h.tmpl',
25 'nacl/generator/mojo_syscall.cc.tmpl',
28 '<(monacl_codegen_dir)/libmojo.cc',
29 '<(monacl_codegen_dir)/mojo_irt.c',
30 '<(monacl_codegen_dir)/mojo_irt.h',
31 '<(monacl_codegen_dir)/mojo_syscall.cc',
35 'nacl/generator/generate_nacl_bindings.py',
36 '-d', '<(monacl_codegen_dir)',
40 'direct_dependent_settings': {
41 'include_dirs': [ '../third_party/mojo/src/' ],
45 'target_name': 'monacl_syscall',
46 'type': 'static_library',
49 '../third_party/mojo/src/',
52 '<(monacl_codegen_dir)/mojo_syscall.cc',
55 '../third_party/mojo/mojo_public.gyp:mojo_system_placeholder',
59 'target_name': 'monacl_sel',
60 'type': 'static_library',
63 '../third_party/mojo/src/',
66 'nacl/monacl_sel_main.cc',
69 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
75 'target_name': 'monacl_shell',
78 '../base/base.gyp:base',
79 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
83 'nacl/monacl_shell.cc',
88 ['OS=="win" and target_arch=="ia32"', {
91 'target_name': 'monacl_syscall_win64',
92 'type': 'static_library',
97 '<(monacl_codegen_dir)/mojo_syscall.cc',
100 '../third_party/mojo/mojo_public.gyp:mojo_system_placeholder',
104 'msvs_target_platform': 'x64',