OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common_untrusted.gypi', |
| 11 'mojo_public.gypi', |
| 12 ], |
| 13 'target_defaults' : { |
| 14 'include_dirs': [ |
| 15 '..', |
| 16 ], |
| 17 }, |
| 18 'targets': [ |
| 19 { |
| 20 # GN version: //mojo/public/c/system |
| 21 'target_name': 'mojo_public_system_nacl', |
| 22 'type': 'none', |
| 23 'variables': { |
| 24 'nacl_untrusted_build': 1, |
| 25 'nlib_target': 'libmojo_public_system_nacl.a', |
| 26 'build_glibc': 0, |
| 27 'build_newlib': 0, |
| 28 'build_irt': 1, |
| 29 'build_pnacl_newlib': 0, |
| 30 'build_nonsfi_helper': 1, |
| 31 }, |
| 32 'sources': [ |
| 33 '<@(mojo_public_system_sources)', |
| 34 ], |
| 35 'defines': [ |
| 36 'MOJO_SYSTEM_IMPLEMENTATION', |
| 37 ], |
| 38 }, |
| 39 { |
| 40 # GN version: //mojo/public/cpp/bindings |
| 41 'target_name': 'mojo_cpp_bindings_nacl', |
| 42 'type': 'none', |
| 43 'variables': { |
| 44 'nacl_untrusted_build': 1, |
| 45 'nlib_target': 'libmojo_cpp_bindings_nacl.a', |
| 46 'build_glibc': 0, |
| 47 'build_newlib': 0, |
| 48 'build_irt': 1, |
| 49 'build_pnacl_newlib': 0, |
| 50 'build_nonsfi_helper': 1, |
| 51 }, |
| 52 'dependencies': [ |
| 53 '../base/base_nacl.gyp:base_nacl', |
| 54 '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 56 '../mojo/mojo_public.gyp:mojo_interface_bindings_cpp_sources', |
| 57 'mojo_cpp_system_nacl', |
| 58 ], |
| 59 'sources': [ |
| 60 '<@(mojo_cpp_bindings_sources)', |
| 61 |
| 62 # This comes from the mojo_interface_bindings_cpp_sources dependency. |
| 63 '>@(mojom_generated_sources)', |
| 64 ], |
| 65 }, |
| 66 { |
| 67 # GN version: //mojo/public/cpp/system |
| 68 'target_name': 'mojo_cpp_system_nacl', |
| 69 'type': 'none', |
| 70 'variables': { |
| 71 'nacl_untrusted_build': 1, |
| 72 'nlib_target': 'libmojo_cpp_system_nacl.a', |
| 73 'build_glibc': 0, |
| 74 'build_newlib': 0, |
| 75 'build_irt': 1, |
| 76 'build_pnacl_newlib': 0, |
| 77 'build_nonsfi_helper': 1, |
| 78 }, |
| 79 'sources': [ |
| 80 '<@(mojo_cpp_system_sources)', |
| 81 ], |
| 82 'dependencies': [ |
| 83 '../base/base_nacl.gyp:base_nacl', |
| 84 'mojo_public_system_nacl', |
| 85 ], |
| 86 }, |
| 87 ], |
| 88 } |
OLD | NEW |