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

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

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed typo from https://codereview.chromium.org/747223002 Created 5 years, 11 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/networking_private.json » ('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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 gypi_values = exec_script("//build/gypi_to_gn.py", 7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("../chrome_common.gypi") ], 8 [ rebase_path("../chrome_common.gypi") ],
9 "scope", 9 "scope",
10 [ "../chrome_common.gypi" ]) 10 [ "../chrome_common.gypi" ])
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 "//extensions/common", 107 "//extensions/common",
108 "//extensions/common/api", 108 "//extensions/common/api",
109 "//extensions:extensions_resources", 109 "//extensions:extensions_resources",
110 "//extensions/strings", 110 "//extensions/strings",
111 ] 111 ]
112 } 112 }
113 113
114 if (is_win || is_mac) { 114 if (is_win || is_mac) {
115 sources += 115 sources +=
116 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") 116 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome")
117 deps += [ "//breakpad:client" ]
118 }
119 if (is_win || is_mac || is_chromeos) {
117 if (use_openssl) { 120 if (use_openssl) {
118 sources -= [ "extensions/api/networking_private/networking_private_crypto_ nss.cc" ] 121 sources += rebase_path(
122 gypi_values.chrome_common_networking_private_sources_openssl,
123 ".",
124 "//chrome")
119 125
120 # networking_private_crypto_openssl.cc depends on boringssl. 126 # networking_private_crypto_openssl.cc depends on boringssl.
121 deps += [ "//third_party/boringssl" ] 127 deps += [ "//third_party/boringssl" ]
122 } else { 128 } else {
123 sources -= [ "extensions/api/networking_private/networking_private_crypto_ openssl.cc" ] 129 sources +=
130 rebase_path(gypi_values.chrome_common_networking_private_sources_nss,
131 ".",
132 "//chrome")
124 } 133 }
125 deps += [ "//breakpad:client" ]
126 } 134 }
127 if (is_mac) { 135 if (is_mac) {
128 sources += 136 sources +=
129 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") 137 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome")
130 } 138 }
131 139
132 if (enable_nacl) { 140 if (enable_nacl) {
133 deps += [ 141 deps += [
134 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) 142 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
135 ] 143 ]
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 ] 303 ]
296 } 304 }
297 305
298 if (enable_extensions) { 306 if (enable_extensions) {
299 sources += [ 307 sources += [
300 "extensions/extension_test_util.cc", 308 "extensions/extension_test_util.cc",
301 "extensions/extension_test_util.h", 309 "extensions/extension_test_util.h",
302 ] 310 ]
303 } 311 }
304 } 312 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/networking_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698