Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (48 sloc) 1.115 kb
3d32489 @indutny build: gyp
authored
1 {
2 'variables': {
3 'variables': {
4 'host_arch%':
5 '<!(uname -m | sed -e "s/i.86/ia32/;\
98fb713 @indutny make, gyp: prepare for ia32
authored
6 s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mips/")',
7 'osx_arch%': ''
3d32489 @indutny build: gyp
authored
8 },
9 'conditions': [
98fb713 @indutny make, gyp: prepare for ia32
authored
10 ['OS == "mac" and osx_arch != "ia32"', {
3d32489 @indutny build: gyp
authored
11 'target_arch%': 'x64'
12 }, {
13 'target_arch%': '<(host_arch)'
14 }]
15 ]
98fb713 @indutny make, gyp: prepare for ia32
authored
16 },
17 'target_defaults': {
18 'default_configuration': 'Debug',
19 'defines': [ 'CANDOR_ARCH_<(target_arch)' ],
20 'conditions': [
21 ['OS == "mac"', {
22 'defines': [ 'CANDOR_PLATFORM_DARWIN' ]
23 }, {
24 'defines': [ 'CANDOR_PLATFORM_LINUX' ]
25 }],
26 ['OS == "mac" and target_arch == "x64"', {
27 'xcode_settings': {
28 'ARCHS': [ 'x86_64' ]
29 },
30 }]
31 ],
32 'configurations': {
33 'Debug': {
34 'cflags': [ '-g', '-O0' ],
40a27c8 @indutny build: use -O3 for release, and -O0 for debug
authored
35 'xcode_settings': {
36 'OTHER_CFLAGS': [ '-g', '-O0' ]
37 }
98fb713 @indutny make, gyp: prepare for ia32
authored
38 },
39 'Release': {
40 'cflags': [ '-O3' ],
40a27c8 @indutny build: use -O3 for release, and -O0 for debug
authored
41 'defines': [ 'NDEBUG' ],
42 'xcode_settings': {
43 'OTHER_CFLAGS': [ '-O3' ]
44 }
98fb713 @indutny make, gyp: prepare for ia32
authored
45 }
46 }
3d32489 @indutny build: gyp
authored
47 }
48 }
Something went wrong with that request. Please try again.