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

Side by Side Diff: build/config/BUILD.gn

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to satiate trybots Created 6 years, 4 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 | « build/common.gypi ('k') | chrome/browser/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("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 9
10 declare_args() { 10 declare_args() {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 175 }
176 if (enable_remoting) { 176 if (enable_remoting) {
177 defines += [ "ENABLE_REMOTING=1" ] 177 defines += [ "ENABLE_REMOTING=1" ]
178 } 178 }
179 if (enable_google_now) { 179 if (enable_google_now) {
180 defines += [ "ENABLE_GOOGLE_NOW=1" ] 180 defines += [ "ENABLE_GOOGLE_NOW=1" ]
181 } 181 }
182 if (enable_one_click_signin) { 182 if (enable_one_click_signin) {
183 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] 183 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ]
184 } 184 }
185 if (safe_browsing_mode == 1) {
186 defines += [ "FULL_SAFE_BROWSING" ]
187 defines += [ "SAFE_BROWSING_CSD" ]
188 defines += [ "SAFE_BROWSING_DATABASE" ]
189 defines += [ "SAFE_BROWSING_SERVICE" ]
190 } else if (safe_browsing_mode == 2) {
191 defines += [ "MOBILE_SAFE_BROWSING" ]
192 defines += [ "SAFE_BROWSING_SERVICE" ]
193 }
185 } 194 }
186 195
187 # Debug/release ---------------------------------------------------------------- 196 # Debug/release ----------------------------------------------------------------
188 197
189 config("debug") { 198 config("debug") {
190 defines = [ 199 defines = [
191 "_DEBUG", 200 "_DEBUG",
192 "DYNAMIC_ANNOTATIONS_ENABLED=1", 201 "DYNAMIC_ANNOTATIONS_ENABLED=1",
193 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 202 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
194 ] 203 ]
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 "CoreText.framework", 287 "CoreText.framework",
279 "Foundation.framework", 288 "Foundation.framework",
280 "UIKit.framework", 289 "UIKit.framework",
281 ] 290 ]
282 } else if (is_linux) { 291 } else if (is_linux) {
283 libs = [ 292 libs = [
284 "dl", 293 "dl",
285 ] 294 ]
286 } 295 }
287 } 296 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698