OLD | NEW |
1 # Copyright 2010 the V8 project authors. All rights reserved. | 1 # Copyright 2010 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 '-Wl,--gc-sections', | 89 '-Wl,--gc-sections', |
90 '-Wl,-z,nocopyreloc', | 90 '-Wl,-z,nocopyreloc', |
91 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', | 91 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', |
92 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', | 92 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', |
93 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0
/lib/gcc/arm-eabi/4.4.0/interwork/libgcc.a', | 93 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0
/lib/gcc/arm-eabi/4.4.0/interwork/libgcc.a', |
94 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; | 94 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; |
95 | 95 |
96 LIBRARY_FLAGS = { | 96 LIBRARY_FLAGS = { |
97 'all': { | 97 'all': { |
98 'CPPPATH': [join(root_dir, 'src')], | 98 'CPPPATH': [join(root_dir, 'src')], |
99 'regexp:native': { | 99 'regexp:interpreted': { |
100 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 100 'CPPDEFINES': ['V8_INTERPRETED_REGEXP'] |
101 }, | 101 }, |
102 'mode:debug': { | 102 'mode:debug': { |
103 'CPPDEFINES': ['V8_ENABLE_CHECKS'] | 103 'CPPDEFINES': ['V8_ENABLE_CHECKS'] |
104 }, | 104 }, |
105 'vmstate:on': { | 105 'vmstate:on': { |
106 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], | 106 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING'], |
107 }, | 107 }, |
108 'protectheap:on': { | 108 'protectheap:on': { |
109 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], | 109 'CPPDEFINES': ['ENABLE_VMSTATE_TRACKING', 'ENABLE_HEAP_PROTECTION'], |
110 }, | 110 }, |
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 # version of scons. Also, there's a bug in some revisions that | 1120 # version of scons. Also, there's a bug in some revisions that |
1121 # doesn't allow this flag to be set, so we swallow any exceptions. | 1121 # doesn't allow this flag to be set, so we swallow any exceptions. |
1122 # Lovely. | 1122 # Lovely. |
1123 try: | 1123 try: |
1124 SetOption('warn', 'no-deprecated') | 1124 SetOption('warn', 'no-deprecated') |
1125 except: | 1125 except: |
1126 pass | 1126 pass |
1127 | 1127 |
1128 | 1128 |
1129 Build() | 1129 Build() |
OLD | NEW |