Chromium Code Reviews| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 90 [ 'skia_os == "android"', { | 90 [ 'skia_os == "android"', { |
| 91 'skia_static_initializers%': 0, | 91 'skia_static_initializers%': 0, |
| 92 }, { | 92 }, { |
| 93 'skia_static_initializers%': 1, | 93 'skia_static_initializers%': 1, |
| 94 }], | 94 }], |
| 95 [ 'skia_os == "ios"', { | 95 [ 'skia_os == "ios"', { |
| 96 'skia_arch_type%': 'arm', | 96 'skia_arch_type%': 'arm', |
| 97 'arm_version%': 7, | 97 'arm_version%': 7, |
| 98 'arm_neon%': 0, # neon asm files known not to work with the ios build | 98 'arm_neon%': 0, # neon asm files known not to work with the ios build |
| 99 }], | 99 }], |
| 100 [ 'skia_os == "linux"' and 'skia_arch_type == "mips"', { | |
|
djsollen
2014/06/02 12:39:10
If you're always going to assign them to 0 then ju
| |
| 101 'mips_dsp%': 0, | |
| 102 'mips_dspr2%': 0, | |
| 103 }], | |
| 100 [ 'skia_os in ["android", "nacl"] and not skia_android_framework', | 104 [ 'skia_os in ["android", "nacl"] and not skia_android_framework', |
| 101 # skia_freetype_static - on OS variants that normally would | 105 # skia_freetype_static - on OS variants that normally would |
| 102 # dynamically link the system FreeType library, don't do | 106 # dynamically link the system FreeType library, don't do |
| 103 # that; instead statically link to the version in | 107 # that; instead statically link to the version in |
| 104 # third_party/freetype and third_party/externals/freetype. | 108 # third_party/freetype and third_party/externals/freetype. |
| 105 { | 109 { |
| 106 'skia_freetype_static%': '1', | 110 'skia_freetype_static%': '1', |
| 107 }, { | 111 }, { |
| 108 'skia_freetype_static%': '0', | 112 'skia_freetype_static%': '0', |
| 109 } | 113 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 182 'skia_clang_build%': 0, | 186 'skia_clang_build%': 0, |
| 183 'skia_keep_frame_pointer%': 0, | 187 'skia_keep_frame_pointer%': 0, |
| 184 }], | 188 }], |
| 185 ], | 189 ], |
| 186 | 190 |
| 187 # Re-define all variables defined within the level-2 'variables' dict, | 191 # Re-define all variables defined within the level-2 'variables' dict, |
| 188 # so that siblings of the level-1 'variables' dict can see them. | 192 # so that siblings of the level-1 'variables' dict can see them. |
| 189 'arm_version%': '<(arm_version)', | 193 'arm_version%': '<(arm_version)', |
| 190 'arm_neon%': '<(arm_neon)', | 194 'arm_neon%': '<(arm_neon)', |
| 191 'arm_neon_optional%': 0, | 195 'arm_neon_optional%': 0, |
| 196 'mips_dsp%': '<(mips_dsp)', | |
|
djsollen
2014/06/02 12:39:10
this can just be...
'mips_dsp%': 0,
'mips_dspr2%'
| |
| 197 'mips_dspr2%': '<(mips_dspr2)', | |
| 198 'mips_dsp_optional%': 0, | |
| 199 'mips_dspr2_optional%': 0, | |
| 192 'skia_os%': '<(skia_os)', | 200 'skia_os%': '<(skia_os)', |
| 193 'os_posix%': '<(os_posix)', | 201 'os_posix%': '<(os_posix)', |
| 194 | 202 |
| 195 'skia_freetype_static%': '<(skia_freetype_static)', | 203 'skia_freetype_static%': '<(skia_freetype_static)', |
| 196 'skia_giflib_static%': '<(skia_giflib_static)', | 204 'skia_giflib_static%': '<(skia_giflib_static)', |
| 197 'skia_libpng_static%': '<(skia_libpng_static)', | 205 'skia_libpng_static%': '<(skia_libpng_static)', |
| 198 'skia_zlib_static%': '<(skia_zlib_static)', | 206 'skia_zlib_static%': '<(skia_zlib_static)', |
| 199 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 207 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
| 200 'skia_sanitizer%': '<(skia_sanitizer)', | 208 'skia_sanitizer%': '<(skia_sanitizer)', |
| 201 'skia_scalar%': '<(skia_scalar)', | 209 'skia_scalar%': '<(skia_scalar)', |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 225 'skia_run_pdfviewer_in_gm%': 0, | 233 'skia_run_pdfviewer_in_gm%': 0, |
| 226 'skia_disable_inlining%': 0, | 234 'skia_disable_inlining%': 0, |
| 227 'skia_moz2d%': 0, | 235 'skia_moz2d%': 0, |
| 228 | 236 |
| 229 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 237 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 230 # | 238 # |
| 231 'skia_src_path%': '../src', | 239 'skia_src_path%': '../src', |
| 232 'skia_include_path%': '../include', | 240 'skia_include_path%': '../include', |
| 233 }, | 241 }, |
| 234 } | 242 } |
| OLD | NEW |