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

Side by Side Diff: gyp/gpu.gyp

Issue 459033002: Change GR_COMPRESS_ALPHA_MASK from compile-time flag to run-time flag (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Code cleanup Created 6 years, 4 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
« no previous file with comments | « no previous file | include/gpu/GrContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GYP for building gpu 1 # GYP for building gpu
2 { 2 {
3 'target_defaults': { 3 'target_defaults': {
4 'conditions': [ 4 'conditions': [
5 ['skia_os != "win"', { 5 ['skia_os != "win"', {
6 'sources/': [ ['exclude', '_win.(h|cpp)$'], 6 'sources/': [ ['exclude', '_win.(h|cpp)$'],
7 ], 7 ],
8 }], 8 }],
9 ['skia_os != "mac"', { 9 ['skia_os != "mac"', {
10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], 10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'],
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 [ 'skia_os == "win"', { 67 [ 'skia_os == "win"', {
68 'defines': [ 68 'defines': [
69 'GR_GL_FUNCTION_TYPE=__stdcall', 69 'GR_GL_FUNCTION_TYPE=__stdcall',
70 ], 70 ],
71 }], 71 }],
72 ], 72 ],
73 'include_dirs': [ 73 'include_dirs': [
74 '../include/gpu', 74 '../include/gpu',
75 ], 75 ],
76 }, 76 },
77 'defines': [
78 'GR_COMPRESS_ALPHA_MASK=0',
79 ],
80 }, 77 },
81 'targets': [ 78 'targets': [
82 { 79 {
83 'target_name': 'skgpu', 80 'target_name': 'skgpu',
84 'product_name': 'skia_skgpu', 81 'product_name': 'skia_skgpu',
85 'type': 'static_library', 82 'type': 'static_library',
86 'standalone_static_library': 1, 83 'standalone_static_library': 1,
87 'dependencies': [ 84 'dependencies': [
88 'core.gyp:*', 85 'core.gyp:*',
89 'utils.gyp:*', 86 'utils.gyp:*',
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 'libraries': [ 219 'libraries': [
223 '-lGLESv2', 220 '-lGLESv2',
224 '-lEGL', 221 '-lEGL',
225 ], 222 ],
226 }, 223 },
227 }], 224 }],
228 ], 225 ],
229 }, 226 },
230 ], 227 ],
231 } 228 }
OLDNEW
« no previous file with comments | « no previous file | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698