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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 'arm_version%': '<(arm_version)', | 75 'arm_version%': '<(arm_version)', |
76 'arm_neon%': '<(arm_neon)', | 76 'arm_neon%': '<(arm_neon)', |
77 'skia_egl%': '<(skia_egl)', | 77 'skia_egl%': '<(skia_egl)', |
78 'vulkan_merged_into_skia%': '<(vulkan_merged_into_skia)', | 78 'vulkan_merged_into_skia%': '<(vulkan_merged_into_skia)', |
79 'conditions': [ | 79 'conditions': [ |
80 [ 'skia_android_framework == 1', { | 80 [ 'skia_android_framework == 1', { |
81 'skia_os%': 'android', | 81 'skia_os%': 'android', |
82 'skia_chrome_utils%': 0, | 82 'skia_chrome_utils%': 0, |
83 'skia_use_android_framework_defines%': 1, | 83 'skia_use_android_framework_defines%': 1, |
84 'skia_use_system_json%': 1, | 84 'skia_use_system_json%': 1, |
| 85 'skia_vulkan%': 1, |
85 }, { | 86 }, { |
86 'skia_os%': '<(skia_os)', | 87 'skia_os%': '<(skia_os)', |
87 'skia_chrome_utils%': 1, | 88 'skia_chrome_utils%': 1, |
88 'skia_use_android_framework_defines%': 0, | 89 'skia_use_android_framework_defines%': 0, |
89 'skia_use_system_json%': 0, | 90 'skia_use_system_json%': 0, |
90 }], | 91 }], |
91 [ 'skia_os == "win"', { | 92 [ 'skia_os == "win"', { |
92 'os_posix%': 0, | 93 'os_posix%': 0, |
93 }, { | 94 }, { |
94 'os_posix%': 1, | 95 'os_posix%': 1, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 #'-ffast-math', # Optimize float math even when it breaks IEEE
compliance. | 251 #'-ffast-math', # Optimize float math even when it breaks IEEE
compliance. |
251 #'-flto' # Enable link-time optimization. | 252 #'-flto' # Enable link-time optimization. |
252 ], | 253 ], |
253 | 254 |
254 # These are referenced by our .gypi files that list files (e.g. core.gypi) | 255 # These are referenced by our .gypi files that list files (e.g. core.gypi) |
255 # | 256 # |
256 'skia_src_path%': '../src', | 257 'skia_src_path%': '../src', |
257 'skia_include_path%': '../include', | 258 'skia_include_path%': '../include', |
258 }, | 259 }, |
259 } | 260 } |
OLD | NEW |