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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 # by the compiler. The user should be aware that this has different | 113 # by the compiler. The user should be aware that this has different |
114 # meanings for different compilers and should exercise caution when | 114 # meanings for different compilers and should exercise caution when |
115 # overriding it. | 115 # overriding it. |
116 [ 'skia_os == "win"', { | 116 [ 'skia_os == "win"', { |
117 'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve
l)', | 117 'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve
l)', |
118 }, { | 118 }, { |
119 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
el)', | 119 'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
el)', |
120 }], | 120 }], |
121 [ 'skia_sanitizer', { | 121 [ 'skia_sanitizer', { |
122 'skia_clang_build': 1, | 122 'skia_clang_build': 1, |
| 123 'skia_keep_frame_pointer': 1, |
123 }, { | 124 }, { |
124 'skia_clang_build%': 0, | 125 'skia_clang_build%': 0, |
| 126 'skia_keep_frame_pointer%': 0, |
125 }], | 127 }], |
126 ], | 128 ], |
127 | 129 |
128 # Re-define all variables defined within the level-2 'variables' dict, | 130 # Re-define all variables defined within the level-2 'variables' dict, |
129 # so that siblings of the level-1 'variables' dict can see them. | 131 # so that siblings of the level-1 'variables' dict can see them. |
130 'arm_version%': '<(arm_version)', | 132 'arm_version%': '<(arm_version)', |
131 'arm_neon%': '<(arm_neon)', | 133 'arm_neon%': '<(arm_neon)', |
132 'arm_neon_optional%': 0, | 134 'arm_neon_optional%': 0, |
133 'skia_os%': '<(skia_os)', | 135 'skia_os%': '<(skia_os)', |
134 'os_posix%': '<(os_posix)', | 136 'os_posix%': '<(os_posix)', |
(...skipping 22 matching lines...) Expand all Loading... |
157 # | 159 # |
158 'skia_src_path%': '../src', | 160 'skia_src_path%': '../src', |
159 'skia_include_path%': '../include', | 161 'skia_include_path%': '../include', |
160 }, | 162 }, |
161 } | 163 } |
162 # Local Variables: | 164 # Local Variables: |
163 # tab-width:2 | 165 # tab-width:2 |
164 # indent-tabs-mode:nil | 166 # indent-tabs-mode:nil |
165 # End: | 167 # End: |
166 # vim: set expandtab tabstop=2 shiftwidth=2: | 168 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |