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

Side by Side Diff: gyp/common_conditions.gypi

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Replace magic number 32 with constant; fix comment in shader; fix Linux compiler error. Created 7 years, 1 month 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 | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # conditions used in both common.gypi and skia.gyp in chromium 1 # conditions used in both common.gypi and skia.gyp in chromium
2 # 2 #
3 { 3 {
4 'defines': [ 4 'defines': [
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
6 ], 6 ],
7 'conditions' : [ 7 'conditions' : [
8 [ 'skia_gpu == 1', 8 [ 'skia_gpu == 1',
9 { 9 {
10 'defines': [ 10 'defines': [
11 'SK_SUPPORT_GPU=1', 11 'SK_SUPPORT_GPU=1',
12 ], 12 ],
13 }, { 13 }, {
14 'defines': [ 14 'defines': [
15 'SK_SUPPORT_GPU=0', 15 'SK_SUPPORT_GPU=0',
16 ], 16 ],
17 }, 17 },
18 ], 18 ],
19 [ 'skia_opencl == 1', 19 [ 'skia_opencl == 1',
20 { 20 {
21 'defines': [ 21 'defines': [
22 'SK_SUPPORT_OPENCL=1', 22 'SK_SUPPORT_OPENCL=1',
23 ], 23 ],
24 }, { 24 }, {
25 'defines': [ 25 'defines': [
26 'SK_SUPPORT_OPENCL=0', 26 'SK_SUPPORT_OPENCL=0',
27 ], 27 ],
28 }, 28 },
29 ], 29 ],
30 [ 'skia_distancefield_fonts == 1',
31 {
32 'defines': [
33 'SK_DISTANCEFIELD_FONTS=1',
34 ],
35 }, {
36 'defines': [
37 'SK_DISTANCEFIELD_FONTS=0',
38 ],
39 },
40 ],
30 [ 'skia_os == "win"', 41 [ 'skia_os == "win"',
31 { 42 {
32 'defines': [ 43 'defines': [
33 'SK_BUILD_FOR_WIN32', 44 'SK_BUILD_FOR_WIN32',
34 'SK_FONTHOST_USES_FONTMGR', 45 'SK_FONTHOST_USES_FONTMGR',
35 '_CRT_SECURE_NO_WARNINGS', 46 '_CRT_SECURE_NO_WARNINGS',
36 'GR_GL_FUNCTION_TYPE=__stdcall', 47 'GR_GL_FUNCTION_TYPE=__stdcall',
37 ], 48 ],
38 'msvs_cygwin_shell': 0, 49 'msvs_cygwin_shell': 0,
39 'msvs_settings': { 50 'msvs_settings': {
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 'xcode_settings': { 512 'xcode_settings': {
502 'SYMROOT': '<(DEPTH)/xcodebuild', 513 'SYMROOT': '<(DEPTH)/xcodebuild',
503 }, 514 },
504 } 515 }
505 516
506 # Local Variables: 517 # Local Variables:
507 # tab-width:2 518 # tab-width:2
508 # indent-tabs-mode:nil 519 # indent-tabs-mode:nil
509 # End: 520 # End:
510 # vim: set expandtab tabstop=2 shiftwidth=2: 521 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698