| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 # Re-define all variables defined within the level-3 'variables' dict, | 53 # Re-define all variables defined within the level-3 'variables' dict, |
| 54 # so that siblings of the level-2 'variables' dict can see them. | 54 # so that siblings of the level-2 'variables' dict can see them. |
| 55 # (skia_os will depend on skia_android_framework.) | 55 # (skia_os will depend on skia_android_framework.) |
| 56 'skia_android_framework%': '<(skia_android_framework)', | 56 'skia_android_framework%': '<(skia_android_framework)', |
| 57 'skia_arch_type%': '<(skia_arch_type)', | 57 'skia_arch_type%': '<(skia_arch_type)', |
| 58 | 58 |
| 59 'conditions': [ | 59 'conditions': [ |
| 60 [ 'skia_android_framework == 1', { | 60 [ 'skia_android_framework == 1', { |
| 61 'skia_os%': 'android', | 61 'skia_os%': 'android', |
| 62 'skia_chrome_utils%': 0, | 62 'skia_chrome_utils%': 0, |
| 63 # FIXME (scroggo): JSON is disabled in Android framework until we |
| 64 # solve skbug.com/2448 |
| 65 'skia_build_json_writer%': 0, |
| 63 }, { | 66 }, { |
| 64 'skia_os%': '<(skia_os)', | 67 'skia_os%': '<(skia_os)', |
| 65 'skia_chrome_utils%': 1, | 68 'skia_chrome_utils%': 1, |
| 69 'skia_build_json_writer%': 1, |
| 66 }], | 70 }], |
| 67 [ 'skia_os == "win"', { | 71 [ 'skia_os == "win"', { |
| 68 'os_posix%': 0, | 72 'os_posix%': 0, |
| 69 }, { | 73 }, { |
| 70 'os_posix%': 1, | 74 'os_posix%': 1, |
| 71 }], | 75 }], |
| 72 [ 'skia_os in ["linux", "win"]', { | 76 [ 'skia_os in ["linux", "win"]', { |
| 73 'skia_poppler_enabled%': 1, | 77 'skia_poppler_enabled%': 1, |
| 74 }, { | 78 }, { |
| 75 'skia_poppler_enabled%': 0, | 79 'skia_poppler_enabled%': 0, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 'skia_freetype_static%': '<(skia_freetype_static)', | 195 'skia_freetype_static%': '<(skia_freetype_static)', |
| 192 'skia_giflib_static%': '<(skia_giflib_static)', | 196 'skia_giflib_static%': '<(skia_giflib_static)', |
| 193 'skia_libpng_static%': '<(skia_libpng_static)', | 197 'skia_libpng_static%': '<(skia_libpng_static)', |
| 194 'skia_zlib_static%': '<(skia_zlib_static)', | 198 'skia_zlib_static%': '<(skia_zlib_static)', |
| 195 'skia_no_fontconfig%': '<(skia_no_fontconfig)', | 199 'skia_no_fontconfig%': '<(skia_no_fontconfig)', |
| 196 'skia_sanitizer%': '<(skia_sanitizer)', | 200 'skia_sanitizer%': '<(skia_sanitizer)', |
| 197 'skia_scalar%': '<(skia_scalar)', | 201 'skia_scalar%': '<(skia_scalar)', |
| 198 'skia_mesa%': '<(skia_mesa)', | 202 'skia_mesa%': '<(skia_mesa)', |
| 199 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 203 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
| 200 'skia_android_framework%': '<(skia_android_framework)', | 204 'skia_android_framework%': '<(skia_android_framework)', |
| 205 'skia_build_json_writer%': '<(skia_build_json_writer)', |
| 201 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 206 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
| 202 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', | 207 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', |
| 203 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', | 208 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', |
| 204 'skia_angle%': '<(skia_angle)', | 209 'skia_angle%': '<(skia_angle)', |
| 205 'skia_poppler_enabled%': '<(skia_poppler_enabled)', | 210 'skia_poppler_enabled%': '<(skia_poppler_enabled)', |
| 206 'skia_arch_width%': '<(skia_arch_width)', | 211 'skia_arch_width%': '<(skia_arch_width)', |
| 207 'skia_arch_type%': '<(skia_arch_type)', | 212 'skia_arch_type%': '<(skia_arch_type)', |
| 208 'skia_chrome_utils%': '<(skia_chrome_utils)', | 213 'skia_chrome_utils%': '<(skia_chrome_utils)', |
| 209 'skia_directwrite%': '<(skia_directwrite)', | 214 'skia_directwrite%': '<(skia_directwrite)', |
| 210 'skia_gpu%': '<(skia_gpu)', | 215 'skia_gpu%': '<(skia_gpu)', |
| 211 'skia_win_exceptions%': 0, | 216 'skia_win_exceptions%': 0, |
| 212 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', | 217 'skia_osx_deployment_target%': '<(skia_osx_deployment_target)', |
| 213 'skia_profile_enabled%': '<(skia_profile_enabled)', | 218 'skia_profile_enabled%': '<(skia_profile_enabled)', |
| 214 'skia_shared_lib%': '<(skia_shared_lib)', | 219 'skia_shared_lib%': '<(skia_shared_lib)', |
| 215 'skia_opencl%': '<(skia_opencl)', | 220 'skia_opencl%': '<(skia_opencl)', |
| 216 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', | 221 'skia_force_distancefield_fonts%': '<(skia_force_distancefield_fonts)', |
| 217 'skia_static_initializers%': '<(skia_static_initializers)', | 222 'skia_static_initializers%': '<(skia_static_initializers)', |
| 218 'ios_sdk_version%': '6.0', | 223 'ios_sdk_version%': '6.0', |
| 219 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 224 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
| 220 'skia_run_pdfviewer_in_gm%': 0, | 225 'skia_run_pdfviewer_in_gm%': 0, |
| 221 'skia_disable_inlining%': 0, | 226 'skia_disable_inlining%': 0, |
| 222 'skia_moz2d%': 0, | 227 'skia_moz2d%': 0, |
| 223 | 228 |
| 224 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 229 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 225 # | 230 # |
| 226 'skia_src_path%': '../src', | 231 'skia_src_path%': '../src', |
| 227 'skia_include_path%': '../include', | 232 'skia_include_path%': '../include', |
| 228 }, | 233 }, |
| 229 } | 234 } |
| OLD | NEW |