| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # |
| 2 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 4 | 5 |
| 5 { | 6 { |
| 6 'variables': { | 7 'variables': { |
| 7 'chromium_code': 1, | 8 'chromium_code': 1, |
| 8 }, | 9 }, |
| 9 'includes': [ | 10 'includes': [ |
| 10 '../build/common_untrusted.gypi', | 11 '../../build/common_untrusted.gypi', |
| 11 'ipc.gypi', | |
| 12 ], | 12 ], |
| 13 'conditions': [ | 13 'conditions': [ |
| 14 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 14 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 15 'targets': [ | 15 'targets': [ |
| 16 { | 16 { |
| 17 'target_name': 'ipc_nacl', | 17 'target_name': 'latency_info_nacl', |
| 18 'type': 'none', | 18 'type': 'none', |
| 19 'defines': [ |
| 20 'EVENTS_BASE_IMPLEMENTATION', |
| 21 ], |
| 22 'dependencies': [ |
| 23 '<(DEPTH)/base/base_nacl.gyp:base_nacl', |
| 24 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 25 ], |
| 26 'include_dirs': [ |
| 27 '..', |
| 28 ], |
| 19 'variables': { | 29 'variables': { |
| 20 'ipc_target': 1, | |
| 21 'nacl_untrusted_build': 1, | 30 'nacl_untrusted_build': 1, |
| 22 'nlib_target': 'libipc_nacl.a', | 31 'nlib_target': 'liblatency_info_nacl.a', |
| 23 'build_glibc': 0, | 32 'build_glibc': 0, |
| 24 'build_newlib': 0, | 33 'build_newlib': 0, |
| 25 'build_irt': 1, | 34 'build_irt': 1, |
| 26 }, | 35 }, |
| 27 'dependencies': [ | 36 'sources': [ |
| 28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 37 'latency_info.h', |
| 29 '../base/base_nacl.gyp:base_nacl', | 38 'latency_info.cc', |
| 30 ], | 39 ], |
| 31 }, | 40 }, |
| 32 ], | 41 ], |
| 33 }], | 42 }], |
| 34 ], | 43 ], |
| 35 } | 44 } |
| OLD | NEW |