Index: tools/gn/secondary/third_party/zlib/BUILD.gn |
diff --git a/tools/gn/secondary/third_party/zlib/BUILD.gn b/tools/gn/secondary/third_party/zlib/BUILD.gn |
index 033d4623549cdda84a7d3a8addfe8a5bbfc2d70a..945183605946455e10aedee2448624e90348ead6 100644 |
--- a/tools/gn/secondary/third_party/zlib/BUILD.gn |
+++ b/tools/gn/secondary/third_party/zlib/BUILD.gn |
@@ -83,17 +83,19 @@ static_library("minizip") { |
direct_dependent_configs = [ ":zlib_config" ] |
} |
-static_library("zip") { |
- sources = [ |
- "google/zip.cc", |
- "google/zip.h", |
- "google/zip_internal.cc", |
- "google/zip_internal.h", |
- "google/zip_reader.cc", |
- "google/zip_reader.h", |
- ] |
- deps = [ |
- ":minizip", |
- "//base", |
- ] |
+if (!is_android) { |
+ static_library("zip") { |
+ sources = [ |
+ "google/zip.cc", |
+ "google/zip.h", |
+ "google/zip_internal.cc", |
+ "google/zip_internal.h", |
+ "google/zip_reader.cc", |
+ "google/zip_reader.h", |
+ ] |
+ deps = [ |
+ ":minizip", |
+ "//base", |
+ ] |
+ } |
} |