| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 'skia_android_path_rendering%': 0, | 85 'skia_android_path_rendering%': 0, |
| 86 'skia_texture_cache_mb_limit%': 0, | 86 'skia_texture_cache_mb_limit%': 0, |
| 87 'skia_angle%': 0, | 87 'skia_angle%': 0, |
| 88 'skia_directwrite%': 0, | 88 'skia_directwrite%': 0, |
| 89 'skia_gpu%': 1, | 89 'skia_gpu%': 1, |
| 90 'skia_osx_sdkroot%': '', | 90 'skia_osx_sdkroot%': '', |
| 91 'skia_profile_enabled%': 0, | 91 'skia_profile_enabled%': 0, |
| 92 # Note: This is currently only turned on for linux and android. | 92 # Note: This is currently only turned on for linux and android. |
| 93 # TODO: Turn on for Win and Mac as well. | 93 # TODO: Turn on for Win and Mac as well. |
| 94 'skia_warnings_as_errors%': 0, | 94 'skia_warnings_as_errors%': 0, |
| 95 'skia_win_debuggers_path%': '', |
| 95 }, | 96 }, |
| 96 | 97 |
| 97 # Re-define all variables defined within the level-2 'variables' dict, | 98 # Re-define all variables defined within the level-2 'variables' dict, |
| 98 # so that siblings of the level-1 'variables' dict can see them. | 99 # so that siblings of the level-1 'variables' dict can see them. |
| 99 'armv7%': '<(armv7)', | 100 'armv7%': '<(armv7)', |
| 100 'arm_neon%': '<(arm_neon)', | 101 'arm_neon%': '<(arm_neon)', |
| 101 'skia_os%': '<(skia_os)', | 102 'skia_os%': '<(skia_os)', |
| 102 'os_posix%': '<(os_posix)', | 103 'os_posix%': '<(os_posix)', |
| 103 'skia_scalar%': '<(skia_scalar)', | 104 'skia_scalar%': '<(skia_scalar)', |
| 104 'skia_mesa%': '<(skia_mesa)', | 105 'skia_mesa%': '<(skia_mesa)', |
| 105 'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', | 106 'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', |
| 106 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 107 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', |
| 107 'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 108 'skia_android_path_rendering%': '<(skia_android_path_rendering)', |
| 108 'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)', | 109 'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)', |
| 109 'skia_angle%': '<(skia_angle)', | 110 'skia_angle%': '<(skia_angle)', |
| 110 'skia_arch_width%': '<(skia_arch_width)', | 111 'skia_arch_width%': '<(skia_arch_width)', |
| 111 'skia_arch_type%': '<(skia_arch_type)', | 112 'skia_arch_type%': '<(skia_arch_type)', |
| 112 'skia_directwrite%': '<(skia_directwrite)', | 113 'skia_directwrite%': '<(skia_directwrite)', |
| 113 'skia_gpu%': '<(skia_gpu)', | 114 'skia_gpu%': '<(skia_gpu)', |
| 114 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', | 115 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', |
| 115 'skia_profile_enabled%': '<(skia_profile_enabled)', | 116 'skia_profile_enabled%': '<(skia_profile_enabled)', |
| 116 'skia_warnings_as_errors%': '<(skia_warnings_as_errors)', | 117 'skia_warnings_as_errors%': '<(skia_warnings_as_errors)', |
| 117 'skia_static_initializers%': '<(skia_static_initializers)', | 118 'skia_static_initializers%': '<(skia_static_initializers)', |
| 118 'ios_sdk_version%': '6.0', | 119 'ios_sdk_version%': '6.0', |
| 120 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', |
| 119 | 121 |
| 120 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 122 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
| 121 # | 123 # |
| 122 'skia_src_path%': '../src', | 124 'skia_src_path%': '../src', |
| 123 'skia_include_path%': '../include', | 125 'skia_include_path%': '../include', |
| 124 }, | 126 }, |
| 125 } | 127 } |
| 126 # Local Variables: | 128 # Local Variables: |
| 127 # tab-width:2 | 129 # tab-width:2 |
| 128 # indent-tabs-mode:nil | 130 # indent-tabs-mode:nil |
| 129 # End: | 131 # End: |
| 130 # vim: set expandtab tabstop=2 shiftwidth=2: | 132 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |