Brian Silverman | 6137a50 | 2013-04-22 15:41:36 -0700 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'libgcc-4.5.2', |
| 5 | 'type': 'static_library', |
| 6 | 'variables': { |
| 7 | 'compiler-rt': '<(externals)/compiler-rt-<(compiler_rt_version)', |
| 8 | }, |
| 9 | 'include_dirs': [ |
| 10 | '<(compiler-rt)/lib', |
| 11 | ], |
| 12 | 'defines': [ |
| 13 | '_YUGA_BIG_ENDIAN=1', |
| 14 | '_YUGA_LITTLE_ENDIAN=0', |
| 15 | 'UINT64_C(c)=c##ULL', |
| 16 | ], |
| 17 | 'sources': [ |
| 18 | '<(compiler-rt)/lib/powisf2.c', |
| 19 | '<(compiler-rt)/lib/powidf2.c', |
| 20 | '<(compiler-rt)/lib/mulsc3.c', |
| 21 | '<(compiler-rt)/lib/muldc3.c', |
| 22 | '<(compiler-rt)/lib/divsc3.c', |
| 23 | '<(compiler-rt)/lib/divdc3.c', |
| 24 | #'<(compiler-rt)/lib/bswapsi2.c', |
| 25 | '_bswapsi2.o', |
| 26 | #'<(compiler-rt)/lib/bswapdi2.c', |
| 27 | '_bswapdi2.o', |
| 28 | '<(compiler-rt)/lib/floatundisf.c', |
| 29 | '<(compiler-rt)/lib/floatundidf.c', |
Brian Silverman | 5da9803 | 2013-04-28 18:08:57 -0700 | [diff] [blame^] | 30 | |
| 31 | 'libm.c', |
Brian Silverman | 6137a50 | 2013-04-22 15:41:36 -0700 | [diff] [blame] | 32 | ], |
| 33 | }, |
| 34 | ], |
| 35 | } |