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

Unified Diff: third_party/libpng/BUILD.gn

Issue 779473002: gn format //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « third_party/libjingle/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
}
}
« no previous file with comments | « third_party/libjingle/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698