OLD | NEW |
1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', | 92 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', |
93 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', | 93 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', |
94 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1
/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', | 94 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1
/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', |
95 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; | 95 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; |
96 | 96 |
97 LIBRARY_FLAGS = { | 97 LIBRARY_FLAGS = { |
98 'all': { | 98 'all': { |
99 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], | 99 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], |
100 'CPPPATH': [join(root_dir, 'src')], | 100 'CPPPATH': [join(root_dir, 'src')], |
101 'regexp:native': { | 101 'regexp:native': { |
102 'arch:ia32' : { | |
103 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 102 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
104 }, | |
105 'arch:x64' : { | |
106 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | |
107 } | |
108 }, | 103 }, |
109 'mode:debug': { | 104 'mode:debug': { |
110 'CPPDEFINES': ['V8_ENABLE_CHECKS'] | 105 'CPPDEFINES': ['V8_ENABLE_CHECKS'] |
111 } | 106 } |
112 }, | 107 }, |
113 'gcc': { | 108 'gcc': { |
114 'all': { | 109 'all': { |
115 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 110 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
116 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 111 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
117 }, | 112 }, |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 # version of scons. Also, there's a bug in some revisions that | 923 # version of scons. Also, there's a bug in some revisions that |
929 # doesn't allow this flag to be set, so we swallow any exceptions. | 924 # doesn't allow this flag to be set, so we swallow any exceptions. |
930 # Lovely. | 925 # Lovely. |
931 try: | 926 try: |
932 SetOption('warn', 'no-deprecated') | 927 SetOption('warn', 'no-deprecated') |
933 except: | 928 except: |
934 pass | 929 pass |
935 | 930 |
936 | 931 |
937 Build() | 932 Build() |
OLD | NEW |