| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 62         }, { | 62         }, { | 
| 63           'skia_arch_width%': 32, | 63           'skia_arch_width%': 32, | 
| 64         }], | 64         }], | 
| 65         [ 'skia_os == "android"', { | 65         [ 'skia_os == "android"', { | 
| 66           'skia_static_initializers%': 0, | 66           'skia_static_initializers%': 0, | 
| 67         }, { | 67         }, { | 
| 68           'skia_static_initializers%': 1, | 68           'skia_static_initializers%': 1, | 
| 69         }], | 69         }], | 
| 70         [ 'skia_os == "ios"', { | 70         [ 'skia_os == "ios"', { | 
| 71           'skia_arch_type%': 'arm', | 71           'skia_arch_type%': 'arm', | 
| 72           'armv7%': 1, | 72           'arm_version%': 7, | 
| 73           'arm_neon%': 0, # neon asm files known not to work with the ios build | 73           'arm_neon%': 0, # neon asm files known not to work with the ios build | 
| 74         },{ # skia_os is not ios | 74         },{ # skia_os is not ios | 
| 75           'skia_arch_type%': 'x86', | 75           'skia_arch_type%': 'x86', | 
| 76           'armv7%': 0, | 76           'arm_version%': 0, | 
| 77           'arm_neon%': 0, | 77           'arm_neon%': 0, | 
| 78         }], | 78         }], | 
| 79       ], | 79       ], | 
| 80 | 80 | 
| 81       'skia_scalar%': 'float', | 81       'skia_scalar%': 'float', | 
| 82       'skia_mesa%': 0, | 82       'skia_mesa%': 0, | 
| 83       'skia_nv_path_rendering%': 0, | 83       'skia_nv_path_rendering%': 0, | 
| 84       'skia_stroke_path_rendering%': 0, | 84       'skia_stroke_path_rendering%': 0, | 
| 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, | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
| 114       # overriding it. | 114       # overriding it. | 
| 115       [ 'skia_os == "win"', { | 115       [ 'skia_os == "win"', { | 
| 116         'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve
     l)', | 116         'skia_release_optimization_level%': '<(skia_default_vs_optimization_leve
     l)', | 
| 117       }, { | 117       }, { | 
| 118         'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
     el)', | 118         'skia_release_optimization_level%': '<(skia_default_gcc_optimization_lev
     el)', | 
| 119       }], | 119       }], | 
| 120     ], | 120     ], | 
| 121 | 121 | 
| 122     # Re-define all variables defined within the level-2 'variables' dict, | 122     # Re-define all variables defined within the level-2 'variables' dict, | 
| 123     # so that siblings of the level-1 'variables' dict can see them. | 123     # so that siblings of the level-1 'variables' dict can see them. | 
| 124     'armv7%': '<(armv7)', | 124     'arm_version%': '<(arm_version)', | 
| 125     'arm_neon%': '<(arm_neon)', | 125     'arm_neon%': '<(arm_neon)', | 
|  | 126     'arm_neon_optional%': 0, | 
| 126     'skia_os%': '<(skia_os)', | 127     'skia_os%': '<(skia_os)', | 
| 127     'os_posix%': '<(os_posix)', | 128     'os_posix%': '<(os_posix)', | 
| 128     'skia_scalar%': '<(skia_scalar)', | 129     'skia_scalar%': '<(skia_scalar)', | 
| 129     'skia_mesa%': '<(skia_mesa)', | 130     'skia_mesa%': '<(skia_mesa)', | 
| 130     'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', | 131     'skia_nv_path_rendering%': '<(skia_nv_path_rendering)', | 
| 131     'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 132     'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', | 
| 132     'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 133     'skia_android_path_rendering%': '<(skia_android_path_rendering)', | 
| 133     'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)', | 134     'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)', | 
| 134     'skia_angle%': '<(skia_angle)', | 135     'skia_angle%': '<(skia_angle)', | 
| 135     'skia_arch_width%': '<(skia_arch_width)', | 136     'skia_arch_width%': '<(skia_arch_width)', | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 150     # | 151     # | 
| 151     'skia_src_path%': '../src', | 152     'skia_src_path%': '../src', | 
| 152     'skia_include_path%': '../include', | 153     'skia_include_path%': '../include', | 
| 153   }, | 154   }, | 
| 154 } | 155 } | 
| 155 # Local Variables: | 156 # Local Variables: | 
| 156 # tab-width:2 | 157 # tab-width:2 | 
| 157 # indent-tabs-mode:nil | 158 # indent-tabs-mode:nil | 
| 158 # End: | 159 # End: | 
| 159 # vim: set expandtab tabstop=2 shiftwidth=2: | 160 # vim: set expandtab tabstop=2 shiftwidth=2: | 
| OLD | NEW | 
|---|