Index: chrome/renderer/BUILD.gn |
diff --git a/chrome/renderer/BUILD.gn b/chrome/renderer/BUILD.gn |
index 51bf2ea47c4138afd94b9c94ada2b3711ca6b1f7..e6157706a7bf0fe76eb2091764dd0536ecd6db3d 100644 |
--- a/chrome/renderer/BUILD.gn |
+++ b/chrome/renderer/BUILD.gn |
@@ -74,23 +74,18 @@ static_library("renderer") { |
] |
} |
- if (safe_browsing_mode == 1) { |
- sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, |
- ".", "..") |
+ if (safe_browsing_mode != 0) { |
sources += rebase_path( |
gypi_values.chrome_renderer_basic_safe_browsing_sources, |
".", "..") |
- defines += [ "FULL_SAFE_BROWSING" ] |
- deps += [ |
- "//chrome/common/safe_browsing:proto", |
- "//third_party/smhasher:murmurhash3", |
- ] |
- } |
- if (safe_browsing_mode == 2) { |
- sources += rebase_path( |
- gypi_values.chrome_renderer_basic_safe_browsing_sources, |
- ".", "..") |
- defines += [ "MOBILE_SAFE_BROWSING" ] |
+ if (safe_browsing_mode == 1) { |
+ sources += rebase_path(gypi_values.chrome_renderer_safe_browsing_sources, |
+ ".", "..") |
+ deps += [ |
+ "//chrome/common/safe_browsing:proto", |
+ "//third_party/smhasher:murmurhash3", |
+ ] |
+ } |
} |
if (enable_extensions) { |