blob: 14c345c23a6f6da2d1e03d7a4d52a962611b42fc [file] [log] [blame]
[email protected]18f840652014-04-10 20:31:371# Copyright 2014 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 '../native_client/build/untrusted.gypi',
11 'net.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'net_nacl',
16 'type': 'none',
17 'variables': {
18 'nacl_untrusted_build': 1,
19 'nlib_target': 'libnet_nacl.a',
20 'build_glibc': 0,
21 'build_newlib': 0,
22 'build_pnacl_newlib': 1,
23 },
24 'dependencies': [
25 '../crypto/crypto_nacl.gyp:crypto_nacl',
[email protected]18f840652014-04-10 20:31:3726 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
[email protected]edfd0f42014-07-22 18:20:3727 '../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
rtennetib6f1c0d2015-04-03 17:52:0628 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
[email protected]18f840652014-04-10 20:31:3729 '../url/url_nacl.gyp:url_nacl',
[email protected]7326c2a2014-05-19 08:11:3130 'net.gyp:net_derived_sources',
rtennetib6f1c0d2015-04-03 17:52:0631 'net.gyp:net_quic_proto',
[email protected]18f840652014-04-10 20:31:3732 'net.gyp:net_resources',
33 ],
34 'defines': [
35 'NET_IMPLEMENTATION',
36 ],
37 'pnacl_compile_flags': [
38 '-Wno-bind-to-temporary-copy',
39 ],
40 'sources': [
41 '<@(net_nacl_common_sources)',
42 ],
43 },
44 ],
45}