blob: cb5436723f32d3325a0cedc9da0879cdd129af7d [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'target_defaults': {
3 'configurations': {
4 'Debug': {
5 'defines': [
6 'SK_DEBUG',
7 'GR_DEBUG=1',
8 ],
bungeman@google.com7a9ad1b2011-06-01 16:14:01 +00009 'msvs_settings': {
10 'VCLinkerTool': {
11 'GenerateDebugInformation': 'true',
bungeman@google.com55bfd452011-06-03 15:48:17 +000012 },
13 'VCCLCompilerTool': {
14 #0 Disabled (/Od)
15 #1 Minimize Size (/O1)
16 #2 Maximize Speed (/O2)
17 #3 Full Optimization (/Ox)
18 'Optimization': '0',
19 },
bungeman@google.com7a9ad1b2011-06-01 16:14:01 +000020 },
epoger@google.comae85aea2011-05-31 13:50:51 +000021 },
22 'Release': {
23 'defines': [
24 'SK_RELEASE',
25 'GR_RELEASE=1',
26 ],
27 },
28 },
29 'conditions': [
30 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', {
31 'include_dirs' : [
32 '/usr/include/freetype2',
33 ],
34 }],
35 [ 'OS == "mac"', {
36 'defines': [
37 'SK_BUILD_FOR_MAC',
38 ],
39 }],
40 [ 'OS == "win"', {
41 'defines': [
42 'SK_BUILD_FOR_WIN32',
43 'SK_IGNORE_STDINT_DOT_H',
44 ],
45 }],
46 [ 'OS == "linux"', {
47 'defines': [
48 'SK_SAMPLES_FOR_X',
49 'SK_BUILD_FOR_UNIX',
50 ],
51 }],
52 ],
53 'direct_dependent_settings': {
54 'conditions': [
55 [ 'OS == "mac"', {
56 'defines': [
57 'SK_BUILD_FOR_MAC',
58 ],
59 }],
60 [ 'OS == "win"', {
61 'defines': [
62 'SK_BUILD_FOR_WIN32',
63 ],
64 }],
65 ],
66 },
67 },
68}
69
70# Local Variables:
71# tab-width:2
72# indent-tabs-mode:nil
73# End:
74# vim: set expandtab tabstop=2 shiftwidth=2: