Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: tools/gn/secondary/net/BUILD.gn

Issue 26561005: GYP generator for GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/chrome/BUILD.gn ('k') | tools/gn/secondary/testing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//crypto/ssl/flags.gni") 5 import("//crypto/ssl/flags.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 component("net") { 8 component("net") {
9 external = true 9 external = true
10 sources = [ 10 sources = [
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 "websockets/websocket_stream.cc", 1050 "websockets/websocket_stream.cc",
1051 "websockets/websocket_stream.h", 1051 "websockets/websocket_stream.h",
1052 "websockets/websocket_stream_base.h", 1052 "websockets/websocket_stream_base.h",
1053 "websockets/websocket_throttle.cc", 1053 "websockets/websocket_throttle.cc",
1054 "websockets/websocket_throttle.h", 1054 "websockets/websocket_throttle.h",
1055 ] 1055 ]
1056 1056
1057 defines = [ "NET_IMPLEMENTATION" ] 1057 defines = [ "NET_IMPLEMENTATION" ]
1058 1058
1059 deps = [ 1059 deps = [
1060 ":net_resources", 1060 #":net_resources",
1061 "//base", 1061 "//base",
1062 "//base:base_i18n", 1062 "//base:base_i18n",
1063 "//base/third_party/dynamic_annotations", 1063 "//base/third_party/dynamic_annotations",
1064 "//crypto", 1064 "//crypto",
1065 "//crypto/ssl:metassl", 1065 "//crypto/ssl:metassl",
1066 "//sdch", 1066 "//sdch",
1067 "//third_party/icu:icui18n", 1067 "//third_party/icu:icui18n",
1068 "//third_party/icu:icuuc", 1068 "//third_party/icu:icuuc",
1069 "//third_party/zlib", 1069 "//third_party/zlib",
1070 "//url", 1070 "//url",
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 posix_avoid_mmap = false # TODO(brettw) should be true on 32-bit Android. 1190 posix_avoid_mmap = false # TODO(brettw) should be true on 32-bit Android.
1191 if (posix_avoid_mmap) { 1191 if (posix_avoid_mmap) {
1192 defines = [ "POSIX_AVOID_MMAP" ] 1192 defines = [ "POSIX_AVOID_MMAP" ]
1193 sources -= "disk_cache/mapped_file_posix.cc" 1193 sources -= "disk_cache/mapped_file_posix.cc"
1194 } else { # !posix_avoid_mmap 1194 } else { # !posix_avoid_mmap
1195 sources -= "disk_cache/mapped_file_avoid_mmap_posix.cc" 1195 sources -= "disk_cache/mapped_file_avoid_mmap_posix.cc"
1196 } 1196 }
1197 } 1197 }
1198 } 1198 }
1199 1199
1200 grit("net_resources") { 1200 #grit("net_resources") {
1201 external = true 1201 # external = true
1202 source = "base/net_resources.grd" 1202 # source = "base/net_resources.grd"
1203 } 1203 #}
1204 1204
1205 static_library("http_server") { 1205 static_library("http_server") {
1206 external = true 1206 external = true
1207 sources = [ 1207 sources = [
1208 "server/http_connection.cc", 1208 "server/http_connection.cc",
1209 "server/http_connection.h", 1209 "server/http_connection.h",
1210 "server/http_server.cc", 1210 "server/http_server.cc",
1211 "server/http_server.h", 1211 "server/http_server.h",
1212 "server/http_server_request_info.cc", 1212 "server/http_server_request_info.cc",
1213 "server/http_server_request_info.h", 1213 "server/http_server_request_info.h",
1214 "server/http_server_response_info.cc", 1214 "server/http_server_response_info.cc",
1215 "server/http_server_response_info.h", 1215 "server/http_server_response_info.h",
1216 "server/web_socket.cc", 1216 "server/web_socket.cc",
1217 "server/web_socket.h", 1217 "server/web_socket.h",
1218 ] 1218 ]
1219 deps = [ 1219 deps = [
1220 ":net", 1220 ":net",
1221 "//base", 1221 "//base",
1222 ] 1222 ]
1223 1223
1224 # TODO(brettw) figure out how to get this: 1224 # TODO(brettw) figure out how to get this:
1225 # 'variables': { 'enable_wexit_time_destructors': 1, }, 1225 # 'variables': { 'enable_wexit_time_destructors': 1, },
1226 } 1226 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/chrome/BUILD.gn ('k') | tools/gn/secondary/testing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698