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

Unified Diff: gyp/common_variables.gypi

Issue 1050183002: Revert of Enable both static and dynamically linked libpng (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « gyp/codec.gyp ('k') | gyp/libpng.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_variables.gypi
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index 8fb4620b826663a6a1cc1ddc1267ed344894a262..80ab7c91ed7c996761a5e61d43f179c7eb73cceb 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -164,6 +164,15 @@
'skia_release_optimization_level%': '<(skia_default_vs_optimization_level)',
}, {
'skia_release_optimization_level%': '<(skia_default_gcc_optimization_level)',
+ }],
+ [ 'skia_os == "android"', {
+ # skia_libpng_static - instead of linking libpng with '-lpng' and
+ # including the headers from '/usr/include/png.h', compile and
+ # statically link the version of libpng in
+ # third_party/externals/libpng.
+ 'skia_libpng_static%': '0',
+ }, {
+ 'skia_libpng_static%': '1',
}],
[ 'skia_sanitizer', {
'skia_clang_build': 1,
« no previous file with comments | « gyp/codec.gyp ('k') | gyp/libpng.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698