Chromium Code Reviews| Index: SConstruct |
| =================================================================== |
| --- SConstruct (revision 1599) |
| +++ SConstruct (working copy) |
| @@ -386,6 +386,20 @@ |
| 'os:freebsd': { |
| 'LIBS': ['pthread'], |
| }, |
| + 'os:android': { |
| + 'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], |
|
Søren Thygesen Gjesse
2009/03/24 14:14:42
How about defining ANDROID_LINKFLAGS like ANDROID_
|
| + 'LINKFLAGS': ['-nostdlib', |
| + '-Bdynamic', |
| + '-Wl,-T,' + ANDROID_TOP + '/build/core/armelf.x', |
| + '-Wl,-dynamic-linker,/system/bin/linker', |
| + '-Wl,--gc-sections', |
| + '-Wl,-z,nocopyreloc', |
| + '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/generic/obj/lib', |
| + ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin_dynamic.o', |
| + ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', |
| + ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_android.o'], |
| + 'LIBS': ['c', 'stdc++', 'm'], |
| + }, |
| 'os:win32': { |
| 'LIBS': ['winmm', 'ws2_32'], |
| }, |