Index: third_party/zlib/BUILD.gn |
diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn |
index 0fff083a43e539ceed37b4b4883f9872db0e0f6b..6338dba2786eec7d3d78f37d943b6ea83d50240f 100644 |
--- a/third_party/zlib/BUILD.gn |
+++ b/third_party/zlib/BUILD.gn |
@@ -3,16 +3,16 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+declare_args() { |
+} |
+ |
import("../third_party.gni") |
config("zlib_public") { |
include_dirs = [ "../externals/zlib" ] |
} |
-source_set("zlib") { |
+third_party("zlib") { |
public_configs = [ ":zlib_public" ] |
- configs -= unwanted_configs |
- |
- cflags = [ "-w" ] |
sources = [ |
"../externals/zlib/adler32.c", |