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

Side by Side Diff: gyp/common_variables.gypi

Issue 972743003: Revert of Add SkCodec, including PNG implementation. (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 unified diff | Download patch
« no previous file with comments | « gyp/codec.gyp ('k') | gyp/copy_file.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Android Open Source Project 1 # Copyright 2012 The Android Open Source Project
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 # Get ready for the ugly... 7 # Get ready for the ugly...
8 # 8 #
9 # - We have to nest our variables dictionaries multiple levels deep, so that 9 # - We have to nest our variables dictionaries multiple levels deep, so that
10 # this and other gyp files can rely on previously-set variable values in 10 # this and other gyp files can rely on previously-set variable values in
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 # skia_freetype_static - on OS variants that normally would 114 # skia_freetype_static - on OS variants that normally would
115 # dynamically link the system FreeType library, don't do 115 # dynamically link the system FreeType library, don't do
116 # that; instead statically link to the version in 116 # that; instead statically link to the version in
117 # third_party/freetype and third_party/externals/freetype. 117 # third_party/freetype and third_party/externals/freetype.
118 { 118 {
119 'skia_freetype_static%': '1', 119 'skia_freetype_static%': '1',
120 }, { 120 }, {
121 'skia_freetype_static%': '0', 121 'skia_freetype_static%': '0',
122 } 122 }
123 ], 123 ],
124 [ 'skia_os in ["mac", "ios", "win"]', {
125 # skia_libpng_static - instead of linking libpng with '-lpng' and
126 # including the headers from '/usr/include/png.h', compile and
127 # statically link the version of libpng in
128 # third_party/externals/libpng.
129 'skia_libpng_static%': '1',
130 }, {
131 'skia_libpng_static%': '0',
132 }
133 ],
134 ], 124 ],
135 125
136 # skia_giflib_static - on OS variants that normally would link giflib 126 # skia_giflib_static - on OS variants that normally would link giflib
137 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', 127 # with '-lgif' and include the headers from '/usr/include/gif_lib.h',
138 # don't do that; instead compile and staticlly link the version of 128 # don't do that; instead compile and staticlly link the version of
139 # giflib in third_party/externals/giflib. 129 # giflib in third_party/externals/giflib.
140 'skia_giflib_static%': '0', 130 'skia_giflib_static%': '0',
141 131
132 # skia_libpng_static - on OS variants that normally would link libpng
133 # with '-lpng' and include the headers from '/usr/include/png.h',
134 # don't do that; instead compile and staticlly link the version of
135 # libpng in third_party/externals/libpng.
136 'skia_libpng_static%': '0',
142 137
143 # skia_no_fontconfig - On POSIX systems that would normally use the 138 # skia_no_fontconfig - On POSIX systems that would normally use the
144 # SkFontHost_fontconfig interface; use the SkFontHost_linux 139 # SkFontHost_fontconfig interface; use the SkFontHost_linux
145 # version instead. 140 # version instead.
146 'skia_no_fontconfig%': '0', 141 'skia_no_fontconfig%': '0',
147 142
148 'skia_sanitizer%': '', 143 'skia_sanitizer%': '',
149 'skia_scalar%': 'float', 144 'skia_scalar%': 'float',
150 'skia_mesa%': 0, 145 'skia_mesa%': 0,
151 'skia_stroke_path_rendering%': 0, 146 'skia_stroke_path_rendering%': 0,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 'skia_moz2d%': 0, 240 'skia_moz2d%': 0,
246 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD LESS\', 0)")', 241 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD LESS\', 0)")',
247 'skia_egl%': '<(skia_egl)', 242 'skia_egl%': '<(skia_egl)',
248 243
249 # These are referenced by our .gypi files that list files (e.g. core.gypi) 244 # These are referenced by our .gypi files that list files (e.g. core.gypi)
250 # 245 #
251 'skia_src_path%': '../src', 246 'skia_src_path%': '../src',
252 'skia_include_path%': '../include', 247 'skia_include_path%': '../include',
253 }, 248 },
254 } 249 }
OLDNEW
« no previous file with comments | « gyp/codec.gyp ('k') | gyp/copy_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698