Index: third_party/libpng/BUILD.gn |
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn |
index d4aaf182a9ea16c727815b7c1f2a164657a4e570..488ef4367f8264762257ce5bc8906cc48a2ecfac 100644 |
--- a/third_party/libpng/BUILD.gn |
+++ b/third_party/libpng/BUILD.gn |
@@ -3,9 +3,7 @@ |
# found in the LICENSE file. |
config("libpng_config") { |
- include_dirs = [ |
- ".", |
- ] |
+ include_dirs = [ "." ] |
defines = [ |
"CHROME_PNG_WRITE_SUPPORT", |
@@ -14,9 +12,7 @@ config("libpng_config") { |
if (is_android) { |
#'toolsets': ['target', 'host'], |
- defines += [ |
- "CHROME_PNG_READ_PACK_SUPPORT", # Required by freetype. |
- ] |
+ defines += [ "CHROME_PNG_READ_PACK_SUPPORT" ] # Required by freetype. |
} |
if (is_win) { |
@@ -30,7 +26,7 @@ config("libpng_config") { |
} |
source_set("libpng_sources") { |
- sources = [ |
+ sources = [ |
"png.c", |
"png.h", |
"pngconf.h", |
@@ -66,15 +62,21 @@ source_set("libpng_sources") { |
public_configs = [ ":libpng_config" ] |
- public_deps = [ "//third_party/zlib" ] |
+ public_deps = [ |
+ "//third_party/zlib", |
+ ] |
} |
if (is_win) { |
component("libpng") { |
- public_deps = [ ":libpng_sources" ] |
+ public_deps = [ |
+ ":libpng_sources", |
+ ] |
} |
} else { |
group("libpng") { |
- public_deps = [ ":libpng_sources" ] |
+ public_deps = [ |
+ ":libpng_sources", |
+ ] |
} |
} |