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

Side by Side Diff: chrome/common/net/BUILD.gn

Issue 348663003: Work toward a chrome/common GN target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no android Created 6 years, 6 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 | « chrome/common/metrics/proto/BUILD.gn ('k') | chrome/common_constants.gyp » ('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 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 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 6
7 # GYP version: chrome/chrome_common.gypi:common_net 7 # GYP version: chrome/chrome_common.gypi:common_net
8 static_library("net") { 8 static_library("net") {
9 sources = [ 9 sources = [
10 "net_error_info.cc", 10 "net_error_info.cc",
(...skipping 18 matching lines...) Expand all
29 "//net:net_resources", 29 "//net:net_resources",
30 "//third_party/icu", 30 "//third_party/icu",
31 ] 31 ]
32 32
33 if (is_ios) { 33 if (is_ios) {
34 sources -= [ 34 sources -= [
35 "net_resource_provider.cc", 35 "net_resource_provider.cc",
36 "x509_certificate_model.cc", 36 "x509_certificate_model.cc",
37 ] 37 ]
38 } else { 38 } else {
39 deps += [ "//gpu:ipc" ] 39 deps += [ "//gpu/ipc" ]
40 } 40 }
41 41
42 if (is_win || is_mac || is_ios) { 42 if (is_win || is_mac || is_ios) {
43 sources -= [ 43 sources -= [
44 "x509_certificate_model_nss.cc", 44 "x509_certificate_model_nss.cc",
45 "x509_certificate_model_openssl.cc", 45 "x509_certificate_model_openssl.cc",
46 ] 46 ]
47 } 47 }
48 48
49 if (is_android) { 49 if (is_android) {
(...skipping 12 matching lines...) Expand all
62 } else { 62 } else {
63 sources -= [ 63 sources -= [
64 "x509_certificate_model_openssl.cc", 64 "x509_certificate_model_openssl.cc",
65 ] 65 ]
66 } 66 }
67 67
68 if (is_win) { 68 if (is_win) {
69 cflags = [ "/wd4267" ] 69 cflags = [ "/wd4267" ]
70 } 70 }
71 } 71 }
OLDNEW
« no previous file with comments | « chrome/common/metrics/proto/BUILD.gn ('k') | chrome/common_constants.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698