| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 'build_newlib': 0, | 24 'build_newlib': 0, |
| 25 'build_irt': 1, | 25 'build_irt': 1, |
| 26 }, | 26 }, |
| 27 'dependencies': [ | 27 'dependencies': [ |
| 28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 29 '../base/base_nacl.gyp:base_nacl', | 29 '../base/base_nacl.gyp:base_nacl', |
| 30 ], | 30 ], |
| 31 }, | 31 }, |
| 32 ], | 32 ], |
| 33 }], | 33 }], |
| 34 ['disable_nacl==0', { |
| 35 'targets': [ |
| 36 { |
| 37 'target_name': 'ipc_nacl_nonsfi', |
| 38 'type': 'none', |
| 39 'include_dirs': [ |
| 40 '<(DEPTH)/native_client/src/public/linux_syscalls', |
| 41 ], |
| 42 'variables': { |
| 43 'ipc_target': 1, |
| 44 'nacl_untrusted_build': 1, |
| 45 'nlib_target': 'libipc_nacl_nonsfi.a', |
| 46 'build_glibc': 0, |
| 47 'build_newlib': 0, |
| 48 'build_irt': 0, |
| 49 'build_pnacl_newlib': 0, |
| 50 'build_nonsfi_helper': 1, |
| 51 |
| 52 # Use linux IPC channel implementation for nacl_helper_nonsfi, |
| 53 # instead of NaCl's IPC implementation (ipc_channel_nacl.cc), |
| 54 # because nacl_helper_nonsfi will be running directory on Linux. |
| 55 # ipc_channel_nacl.cc is excluded below. |
| 56 'sources': [ |
| 57 'ipc_channel.cc', |
| 58 'ipc_channel_posix.cc', |
| 59 ], |
| 60 }, |
| 61 'sources!': [ |
| 62 'ipc_channel_nacl.cc', |
| 63 ], |
| 64 'dependencies': [ |
| 65 '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 66 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 67 ], |
| 68 }, |
| 69 ], |
| 70 }], |
| 34 ], | 71 ], |
| 35 } | 72 } |
| OLD | NEW |