Index: third_party/snappy/BUILD.gn |
diff --git a/third_party/snappy/BUILD.gn b/third_party/snappy/BUILD.gn |
index ab665d162ef0d3821dec837f808fbc31002aa848..324a06ab58db11fb582d356a40c81c21a0477487 100644 |
--- a/third_party/snappy/BUILD.gn |
+++ b/third_party/snappy/BUILD.gn |
@@ -43,6 +43,14 @@ static_library("snappy") { |
"src/snappy.h", |
] |
+ if (is_win) { |
+ sources += [ "win32/snappy-stubs-public.h" ] |
+ } else if (is_mac) { |
+ sources += [ "mac/snappy-stubs-public.h" ] |
+ } else { |
+ sources += [ "linux/snappy-stubs-public.h" ] |
+ } |
+ |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ |
"//build/config/compiler:no_chromium_code", |