| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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_edk.gypi', | |
| 12 ], | |
| 13 'target_defaults' : { | |
| 14 'include_dirs': [ | |
| 15 '..', | |
| 16 ], | |
| 17 }, | |
| 18 'targets': [ | |
| 19 { | |
| 20 # GN version: //mojo/edk/system | |
| 21 'target_name': 'mojo_system_impl_nacl', | |
| 22 'type': 'none', | |
| 23 'variables': { | |
| 24 'nacl_untrusted_build': 1, | |
| 25 'nlib_target': 'libmojo_system_impl_nacl.a', | |
| 26 'build_glibc': 0, | |
| 27 'build_newlib': 0, | |
| 28 'build_irt': 1, | |
| 29 'build_pnacl_newlib': 0, | |
| 30 'build_nonsfi_helper': 0, | |
| 31 }, | |
| 32 'dependencies': [ | |
| 33 '../base/base_nacl.gyp:base_nacl', | |
| 34 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 35 'mojo_public.gyp:mojo_public_system', | |
| 36 ], | |
| 37 'defines': [ | |
| 38 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | |
| 39 ], | |
| 40 'sources': [ | |
| 41 '<@(mojo_edk_ports_sources)', | |
| 42 '<@(mojo_edk_system_impl_sources)', | |
| 43 ], | |
| 44 'conditions': [ | |
| 45 ['OS=="android" or chromeos==1', { | |
| 46 'defines': [ | |
| 47 'MOJO_EDK_LEGACY_PROTOCOL', | |
| 48 ], | |
| 49 }], | |
| 50 ], | |
| 51 }, | |
| 52 { | |
| 53 'target_name': 'mojo_system_impl_nacl_nonsfi', | |
| 54 'type': 'none', | |
| 55 'variables': { | |
| 56 'nacl_untrusted_build': 1, | |
| 57 'nlib_target': 'libmojo_system_impl_nacl_nonsfi.a', | |
| 58 'build_glibc': 0, | |
| 59 'build_newlib': 0, | |
| 60 'build_irt': 0, | |
| 61 'build_pnacl_newlib': 0, | |
| 62 'build_nonsfi_helper': 1, | |
| 63 }, | |
| 64 'dependencies': [ | |
| 65 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
| 66 'mojo_public.gyp:mojo_public_system', | |
| 67 ], | |
| 68 'defines': [ | |
| 69 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | |
| 70 ], | |
| 71 'sources': [ | |
| 72 '<@(mojo_edk_ports_sources)', | |
| 73 '<@(mojo_edk_system_impl_sources)', | |
| 74 '<@(mojo_edk_system_impl_nacl_nonsfi_sources)', | |
| 75 ], | |
| 76 'conditions': [ | |
| 77 ['OS=="android" or chromeos==1', { | |
| 78 'defines': [ | |
| 79 'MOJO_EDK_LEGACY_PROTOCOL', | |
| 80 ], | |
| 81 }], | |
| 82 ], | |
| 83 }, | |
| 84 ], | |
| 85 } | |
| OLD | NEW |