Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 911199cb1935e65d7a268c0c1489aa03e0d40a44..d2499a1c1c1861590068a1989e215a5b470616ba 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -280,10 +280,18 @@ static_library("common") { |
sources -= [ "media/webrtc_logging_messages.h" ] |
} |
- if (safe_browsing_mode == 1) { |
- sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, |
- ".", |
- "//chrome") |
+ if (safe_browsing_mode != 0) { |
+ sources += |
+ rebase_path(gypi_values.chrome_common_shared_safe_browsing_sources, |
+ ".", |
+ "//chrome") |
+ |
+ if (safe_browsing_mode == 1) { |
+ sources += |
+ rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, |
+ ".", |
+ "//chrome") |
+ } |
} |
if (enable_ipc_fuzzer) { |