| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 'skia_resource_cache_mb_limit%': 0, | 87 'skia_resource_cache_mb_limit%': 0, |
| 88 'skia_resource_cache_count_limit%': 0, | 88 'skia_resource_cache_count_limit%': 0, |
| 89 'skia_angle%': 0, | 89 'skia_angle%': 0, |
| 90 'skia_directwrite%': 0, | 90 'skia_directwrite%': 0, |
| 91 'skia_gpu%': 1, | 91 'skia_gpu%': 1, |
| 92 'skia_osx_sdkroot%': '', | 92 'skia_osx_sdkroot%': '', |
| 93 'skia_profile_enabled%': 0, | 93 'skia_profile_enabled%': 0, |
| 94 'skia_win_debuggers_path%': '', | 94 'skia_win_debuggers_path%': '', |
| 95 'skia_shared_lib%': 0, | 95 'skia_shared_lib%': 0, |
| 96 'skia_opencl%': 0, | 96 'skia_opencl%': 0, |
| 97 'skia_distancefield_fonts%': 0, |
| 97 | 98 |
| 98 # These variables determine the default optimization level for different | 99 # These variables determine the default optimization level for different |
| 99 # compilers. | 100 # compilers. |
| 100 'skia_default_vs_optimization_level': 3, # full (/Ox) | 101 'skia_default_vs_optimization_level': 3, # full (/Ox) |
| 101 'skia_default_gcc_optimization_level': 3, # -O3 | 102 'skia_default_gcc_optimization_level': 3, # -O3 |
| 102 }, | 103 }, |
| 103 | 104 |
| 104 'conditions': [ | 105 'conditions': [ |
| 105 [ 'skia_os == "win" and skia_arch_width == 32 or ' | 106 [ 'skia_os == "win" and skia_arch_width == 32 or ' |
| 106 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] or ' | 107 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] or ' |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 'skia_angle%': '<(skia_angle)', | 147 'skia_angle%': '<(skia_angle)', |
| 147 'skia_arch_width%': '<(skia_arch_width)', | 148 'skia_arch_width%': '<(skia_arch_width)', |
| 148 'skia_arch_type%': '<(skia_arch_type)', | 149 'skia_arch_type%': '<(skia_arch_type)', |
| 149 'skia_directwrite%': '<(skia_directwrite)', | 150 'skia_directwrite%': '<(skia_directwrite)', |
| 150 'skia_gpu%': '<(skia_gpu)', | 151 'skia_gpu%': '<(skia_gpu)', |
| 151 'skia_win_exceptions%': 0, | 152 'skia_win_exceptions%': 0, |
| 152 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', | 153 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', |
| 153 'skia_profile_enabled%': '<(skia_profile_enabled)', | 154 'skia_profile_enabled%': '<(skia_profile_enabled)', |
| 154 'skia_shared_lib%': '<(skia_shared_lib)', | 155 'skia_shared_lib%': '<(skia_shared_lib)', |
| 155 'skia_opencl%': '<(skia_opencl)', | 156 'skia_opencl%': '<(skia_opencl)', |
| 157 'skia_distancefield_fonts%': '<(skia_distancefield_fonts)', |
| 156 'skia_static_initializers%': '<(skia_static_initializers)', | 158 'skia_static_initializers%': '<(skia_static_initializers)', |
| 157 'ios_sdk_version%': '6.0', | 159 'ios_sdk_version%': '6.0', |
| 158 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', | 160 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
| 159 | 161 |
| 160 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 162 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 161 # | 163 # |
| 162 'skia_src_path%': '../src', | 164 'skia_src_path%': '../src', |
| 163 'skia_include_path%': '../include', | 165 'skia_include_path%': '../include', |
| 164 }, | 166 }, |
| 165 } | 167 } |
| 166 # Local Variables: | 168 # Local Variables: |
| 167 # tab-width:2 | 169 # tab-width:2 |
| 168 # indent-tabs-mode:nil | 170 # indent-tabs-mode:nil |
| 169 # End: | 171 # End: |
| 170 # vim: set expandtab tabstop=2 shiftwidth=2: | 172 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |