OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//build_overrides/v8.gni") | 10 import("//build_overrides/v8.gni") |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 defines = [] | 52 defines = [] |
53 if (posix_avoid_mmap) { | 53 if (posix_avoid_mmap) { |
54 defines += [ "POSIX_AVOID_MMAP" ] | 54 defines += [ "POSIX_AVOID_MMAP" ] |
55 } | 55 } |
56 if (disable_file_support) { | 56 if (disable_file_support) { |
57 defines += [ "DISABLE_FILE_SUPPORT" ] | 57 defines += [ "DISABLE_FILE_SUPPORT" ] |
58 } | 58 } |
59 if (disable_ftp_support) { | 59 if (disable_ftp_support) { |
60 defines += [ "DISABLE_FTP_SUPPORT=1" ] | 60 defines += [ "DISABLE_FTP_SUPPORT=1" ] |
61 } | 61 } |
| 62 if (enable_bidirectional_stream) { |
| 63 defines += [ "ENABLE_BIDIRECTIONAL_STREAM=1" ] |
| 64 } |
62 } | 65 } |
63 | 66 |
64 # net_internal_config is shared with net and net_small. | 67 # net_internal_config is shared with net and net_small. |
65 config("net_internal_config") { | 68 config("net_internal_config") { |
66 defines = [ | 69 defines = [ |
67 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to | 70 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to |
68 # 0) which implies that we run pkg_config on kerberos and link to that | 71 # 0) which implies that we run pkg_config on kerberos and link to that |
69 # rather than setting this define which will dynamically open it. That | 72 # rather than setting this define which will dynamically open it. That |
70 # doesn't seem to be set in the regular builds, so we're skipping this | 73 # doesn't seem to be set in the regular builds, so we're skipping this |
71 # capability here. | 74 # capability here. |
(...skipping 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 if (enable_websockets) { | 1691 if (enable_websockets) { |
1689 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1692 sources += [ "websockets/websocket_frame_perftest.cc" ] |
1690 } | 1693 } |
1691 | 1694 |
1692 if (use_v8_in_net) { | 1695 if (use_v8_in_net) { |
1693 deps += [ ":net_with_v8" ] | 1696 deps += [ ":net_with_v8" ] |
1694 } else { | 1697 } else { |
1695 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1698 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1696 } | 1699 } |
1697 } | 1700 } |
OLD | NEW |