Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Unified Diff: third_party/BUILD.gn

Issue 2152273002: Add support for Fuchsia (Closed) Base URL: https://fuchsia.googlesource.com/third_party/skia@master
Patch Set: Fix win build Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkOSFile_stdio.cpp ('k') | third_party/third_party.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/BUILD.gn
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 3ab094cd2937cd8de8200e33a39b63da162aab05..96837d2b3a89aa79ab75ef5a26376a985ec99d62 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -3,8 +3,7 @@
# 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")
# Most third_party code should disable warnings: if we don't maintain the code, warnings are noise.
config("no_warnings") {
@@ -12,42 +11,6 @@ config("no_warnings") {
}
third_party_configs = [ ":no_warnings" ]
-# Chrome's GN environment sets up a bunch of default configs we don't need/want here.
-unwanted_configs = [
- "//build/config/clang:extra_warnings",
- "//build/config/clang:find_bad_constructs",
- "//build/config/compiler:chromium_code",
- "//build/config:feature_flags",
-]
-
-config("zlib_public") {
- include_dirs = [ "externals/zlib" ]
-}
-source_set("zlib") {
- public_configs = [ ":zlib_public" ]
- configs += third_party_configs
- configs -= unwanted_configs
-
- sources = [
- "externals/zlib/adler32.c",
- "externals/zlib/compress.c",
- "externals/zlib/crc32.c",
- "externals/zlib/deflate.c",
- "externals/zlib/gzclose.c",
- "externals/zlib/gzlib.c",
- "externals/zlib/gzread.c",
- "externals/zlib/gzwrite.c",
- "externals/zlib/infback.c",
- "externals/zlib/inffast.c",
- "externals/zlib/inflate.c",
- "externals/zlib/inftrees.c",
- "externals/zlib/simd_stub.c",
- "externals/zlib/trees.c",
- "externals/zlib/uncompr.c",
- "externals/zlib/zutil.c",
- ]
-}
-
config("libpng_public") {
include_dirs = [ "libpng" ]
}
« no previous file with comments | « src/ports/SkOSFile_stdio.cpp ('k') | third_party/third_party.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698