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

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

Issue 1402783005: Remove safe_browsing=2 functionality, replace with =3 mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix up histograms Created 5 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
« no previous file with comments | « chrome/common/safe_browsing/safebrowsing_messages.h ('k') | chrome/test/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 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/features.gni") 5 import("//build/config/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_renderer.gypi") ], 9 [ rebase_path("../chrome_renderer.gypi") ],
10 "scope", 10 "scope",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 "//ppapi/shared_impl", 96 "//ppapi/shared_impl",
97 ] 97 ]
98 } 98 }
99 99
100 if (safe_browsing_mode != 0) { 100 if (safe_browsing_mode != 0) {
101 sources += 101 sources +=
102 rebase_path(gypi_values.chrome_renderer_basic_safe_browsing_sources, 102 rebase_path(gypi_values.chrome_renderer_basic_safe_browsing_sources,
103 ".", 103 ".",
104 "..") 104 "..")
105 if (safe_browsing_mode == 1) { 105 if (safe_browsing_mode == 1) {
106 sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, 106 sources +=
107 ".", 107 rebase_path(gypi_values.chrome_renderer_full_safe_browsing_sources,
108 "..") 108 ".",
109 "..")
109 deps += [ 110 deps += [
110 "//chrome/common/safe_browsing:proto", 111 "//chrome/common/safe_browsing:proto",
111 "//third_party/smhasher:murmurhash3", 112 "//third_party/smhasher:murmurhash3",
112 ] 113 ]
113 } 114 }
114 } 115 }
115 116
116 if (enable_extensions) { 117 if (enable_extensions) {
117 sources += 118 sources +=
118 rebase_path(gypi_values.chrome_renderer_extensions_sources, ".", "..") 119 rebase_path(gypi_values.chrome_renderer_extensions_sources, ".", "..")
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ] 217 ]
217 } 218 }
218 219
219 if (is_android) { 220 if (is_android) {
220 sources -= [ 221 sources -= [
221 "safe_browsing/mock_feature_extractor_clock.cc", 222 "safe_browsing/mock_feature_extractor_clock.cc",
222 "safe_browsing/mock_feature_extractor_clock.h", 223 "safe_browsing/mock_feature_extractor_clock.h",
223 ] 224 ]
224 } 225 }
225 } 226 }
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/safebrowsing_messages.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698