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

Side by Side 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, 8 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/libpng.gyp » ('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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 # This variable allows the user to customize the optimization level used 159 # This variable allows the user to customize the optimization level used
160 # by the compiler. The user should be aware that this has different 160 # by the compiler. The user should be aware that this has different
161 # meanings for different compilers and should exercise caution when 161 # meanings for different compilers and should exercise caution when
162 # overriding it. 162 # overriding it.
163 [ 'skia_os == "win"', { 163 [ 'skia_os == "win"', {
164 'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve l)', 164 'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve l)',
165 }, { 165 }, {
166 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev el)', 166 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev el)',
167 }], 167 }],
168 [ 'skia_os == "android"', {
169 # skia_libpng_static - instead of linking libpng with '-lpng' and
170 # including the headers from '/usr/include/png.h', compile and
171 # statically link the version of libpng in
172 # third_party/externals/libpng.
173 'skia_libpng_static%': '0',
174 }, {
175 'skia_libpng_static%': '1',
176 }],
168 [ 'skia_sanitizer', { 177 [ 'skia_sanitizer', {
169 'skia_clang_build': 1, 178 'skia_clang_build': 1,
170 'skia_keep_frame_pointer': 1, 179 'skia_keep_frame_pointer': 1,
171 }, { 180 }, {
172 'skia_clang_build%': 0, 181 'skia_clang_build%': 0,
173 'skia_keep_frame_pointer%': 0, 182 'skia_keep_frame_pointer%': 0,
174 }], 183 }],
175 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android"', { 184 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android"', {
176 'skia_pic%' : 1, 185 'skia_pic%' : 1,
177 }, { 186 }, {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 '-ffast-math', # Optimize float math even when it breaks IEEE compliance. 241 '-ffast-math', # Optimize float math even when it breaks IEEE compliance.
233 #'-flto' # Enable link-time optimization. 242 #'-flto' # Enable link-time optimization.
234 ], 243 ],
235 244
236 # These are referenced by our .gypi files that list files (e.g. core.gypi) 245 # These are referenced by our .gypi files that list files (e.g. core.gypi)
237 # 246 #
238 'skia_src_path%': '../src', 247 'skia_src_path%': '../src',
239 'skia_include_path%': '../include', 248 'skia_include_path%': '../include',
240 }, 249 },
241 } 250 }
OLDNEW
« 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