Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: gyp/common_variables.gypi

Issue 19374006: make OpenCL optional for skpdiff (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: this-> Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
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 'skia_win_debuggers_path%': '', 92 'skia_win_debuggers_path%': '',
93 'skia_shared_lib%': 0, 93 'skia_shared_lib%': 0,
94 'skia_opencl%': 0,
94 95
95 # These variables determine the default optimization level for different 96 # These variables determine the default optimization level for different
96 # compilers. 97 # compilers.
97 'skia_default_vs_optimization_level': 3, # full (/Ox) 98 'skia_default_vs_optimization_level': 3, # full (/Ox)
98 'skia_default_gcc_optimization_level': 3, # -O3 99 'skia_default_gcc_optimization_level': 3, # -O3
99 }, 100 },
100 101
101 'conditions': [ 102 'conditions': [
102 [ 'skia_os == "win" and skia_arch_width == 32 or ' 103 [ 'skia_os == "win" and skia_arch_width == 32 or '
103 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] or ' 104 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"] or '
(...skipping 28 matching lines...) Expand all
132 'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)', 133 'skia_texture_cache_mb_limit%': '<(skia_texture_cache_mb_limit)',
133 'skia_angle%': '<(skia_angle)', 134 'skia_angle%': '<(skia_angle)',
134 'skia_arch_width%': '<(skia_arch_width)', 135 'skia_arch_width%': '<(skia_arch_width)',
135 'skia_arch_type%': '<(skia_arch_type)', 136 'skia_arch_type%': '<(skia_arch_type)',
136 'skia_directwrite%': '<(skia_directwrite)', 137 'skia_directwrite%': '<(skia_directwrite)',
137 'skia_gpu%': '<(skia_gpu)', 138 'skia_gpu%': '<(skia_gpu)',
138 'skia_win_exceptions%': 0, 139 'skia_win_exceptions%': 0,
139 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)', 140 'skia_osx_sdkroot%': '<(skia_osx_sdkroot)',
140 'skia_profile_enabled%': '<(skia_profile_enabled)', 141 'skia_profile_enabled%': '<(skia_profile_enabled)',
141 'skia_shared_lib%': '<(skia_shared_lib)', 142 'skia_shared_lib%': '<(skia_shared_lib)',
143 'skia_opencl%': '<(skia_opencl)',
142 'skia_static_initializers%': '<(skia_static_initializers)', 144 'skia_static_initializers%': '<(skia_static_initializers)',
143 'ios_sdk_version%': '6.0', 145 'ios_sdk_version%': '6.0',
144 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', 146 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
145 'skia_asan_build%': 0, 147 'skia_asan_build%': 0,
146 148
147 # These are referenced by our .gypi files that list files (e.g. core.gypi) 149 # These are referenced by our .gypi files that list files (e.g. core.gypi)
148 # 150 #
149 'skia_src_path%': '../src', 151 'skia_src_path%': '../src',
150 'skia_include_path%': '../include', 152 'skia_include_path%': '../include',
151 }, 153 },
152 } 154 }
153 # Local Variables: 155 # Local Variables:
154 # tab-width:2 156 # tab-width:2
155 # indent-tabs-mode:nil 157 # indent-tabs-mode:nil
156 # End: 158 # End:
157 # vim: set expandtab tabstop=2 shiftwidth=2: 159 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698