| OLD | NEW |
| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 }, { | 175 }, { |
| 176 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
el)', | 176 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
el)', |
| 177 }], | 177 }], |
| 178 [ 'skia_os == "android"', { | 178 [ 'skia_os == "android"', { |
| 179 # skia_libpng_static - instead of linking libpng with '-lpng' and | 179 # skia_libpng_static - instead of linking libpng with '-lpng' and |
| 180 # including the headers from '/usr/include/png.h', compile and | 180 # including the headers from '/usr/include/png.h', compile and |
| 181 # statically link the version of libpng in | 181 # statically link the version of libpng in |
| 182 # third_party/externals/libpng. | 182 # third_party/externals/libpng. |
| 183 'skia_libpng_static%': '0', | 183 'skia_libpng_static%': '0', |
| 184 }, { | 184 }, { |
| 185 'skia_libpng_static%': '0', | 185 'skia_libpng_static%': '1', |
| 186 }], | 186 }], |
| 187 [ 'skia_sanitizer', { | 187 [ 'skia_sanitizer', { |
| 188 'skia_clang_build': 1, | 188 'skia_clang_build': 1, |
| 189 'skia_keep_frame_pointer': 1, | 189 'skia_keep_frame_pointer': 1, |
| 190 }, { | 190 }, { |
| 191 'skia_clang_build%': 0, | 191 'skia_clang_build%': 0, |
| 192 'skia_keep_frame_pointer%': 0, | 192 'skia_keep_frame_pointer%': 0, |
| 193 }], | 193 }], |
| 194 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android"', { | 194 [ 'skia_shared_lib or skia_sanitizer or skia_os == "android"', { |
| 195 'skia_pic%' : 1, | 195 'skia_pic%' : 1, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 'skia_moz2d%': 0, | 243 'skia_moz2d%': 0, |
| 244 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', | 244 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD
LESS\', 0)")', |
| 245 'skia_egl%': '<(skia_egl)', | 245 'skia_egl%': '<(skia_egl)', |
| 246 | 246 |
| 247 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 247 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 248 # | 248 # |
| 249 'skia_src_path%': '../src', | 249 'skia_src_path%': '../src', |
| 250 'skia_include_path%': '../include', | 250 'skia_include_path%': '../include', |
| 251 }, | 251 }, |
| 252 } | 252 } |
| OLD | NEW |