| 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 '../native_client/build/untrusted.gypi', | 10 '../native_client/build/untrusted.gypi', |
| 11 'net.gypi', | 11 'net.gypi', |
| 12 ], | 12 ], |
| 13 'targets': [ | 13 'targets': [ |
| 14 { | 14 { |
| 15 'target_name': 'net_nacl', | 15 'target_name': 'net_nacl', |
| 16 'type': 'none', | 16 'type': 'none', |
| 17 'variables': { | 17 'variables': { |
| 18 'nacl_untrusted_build': 1, | 18 'nacl_untrusted_build': 1, |
| 19 'nlib_target': 'libnet_nacl.a', | 19 'nlib_target': 'libnet_nacl.a', |
| 20 'build_glibc': 0, | 20 'build_glibc': 0, |
| 21 'build_newlib': 0, | 21 'build_newlib': 0, |
| 22 'build_pnacl_newlib': 1, | 22 'build_pnacl_newlib': 1, |
| 23 }, | 23 }, |
| 24 'dependencies': [ | 24 'dependencies': [ |
| 25 '../crypto/crypto_nacl.gyp:crypto_nacl', | 25 '../crypto/crypto_nacl.gyp:crypto_nacl', |
| 26 '../native_client/tools.gyp:prep_toolchain', | 26 '../native_client/tools.gyp:prep_toolchain', |
| 27 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted'
, | 27 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted'
, |
| 28 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl', | 28 '../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', |
| 29 '../url/url_nacl.gyp:url_nacl', | 29 '../url/url_nacl.gyp:url_nacl', |
| 30 'net.gyp:net_derived_sources', | 30 'net.gyp:net_derived_sources', |
| 31 'net.gyp:net_resources', | 31 'net.gyp:net_resources', |
| 32 ], | 32 ], |
| 33 'defines': [ | 33 'defines': [ |
| 34 'NET_IMPLEMENTATION', | 34 'NET_IMPLEMENTATION', |
| 35 ], | 35 ], |
| 36 'pnacl_compile_flags': [ | 36 'pnacl_compile_flags': [ |
| 37 '-Wno-bind-to-temporary-copy', | 37 '-Wno-bind-to-temporary-copy', |
| 38 ], | 38 ], |
| 39 'sources': [ | 39 'sources': [ |
| 40 '<@(net_nacl_common_sources)', | 40 '<@(net_nacl_common_sources)', |
| 41 ], | 41 ], |
| 42 }, | 42 }, |
| 43 ], | 43 ], |
| 44 } | 44 } |
| OLD | NEW |