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

Side by Side Diff: chrome/utility/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 | « chrome/renderer/BUILD.gn ('k') | no next file » | 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 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 gypi_values = exec_script( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_utility.gypi") ], 10 [ rebase_path("../chrome_utility.gypi") ],
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 "printing_handler.h", 83 "printing_handler.h",
84 ] 84 ]
85 } 85 }
86 86
87 if (!enable_mdns) { 87 if (!enable_mdns) {
88 sources -= [ 88 sources -= [
89 "local_discovery/service_discovery_message_handler.cc", 89 "local_discovery/service_discovery_message_handler.cc",
90 "local_discovery/service_discovery_message_handler.h", 90 "local_discovery/service_discovery_message_handler.h",
91 ] 91 ]
92 } 92 }
93
94 if (safe_browsing_mode == 1) {
95 defines += [ "FULL_SAFE_BROWSING" ]
96 }
97 } 93 }
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698