| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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' : { | 102 'arch:ia32' : { |
| 103 'CPPDEFINES': ['V8_NATIVE_REGEXP'] | 103 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
| 104 }, |
| 105 'arch:x64' : { |
| 106 'CPPDEFINES': ['V8_NATIVE_REGEXP'] |
| 104 } | 107 } |
| 105 } | 108 } |
| 106 }, | 109 }, |
| 107 'gcc': { | 110 'gcc': { |
| 108 'all': { | 111 'all': { |
| 109 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 112 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
| 110 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 113 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
| 111 }, | 114 }, |
| 112 'mode:debug': { | 115 'mode:debug': { |
| 113 'CCFLAGS': ['-g', '-O0'], | 116 'CCFLAGS': ['-g', '-O0'], |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 # version of scons. Also, there's a bug in some revisions that | 913 # version of scons. Also, there's a bug in some revisions that |
| 911 # doesn't allow this flag to be set, so we swallow any exceptions. | 914 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 912 # Lovely. | 915 # Lovely. |
| 913 try: | 916 try: |
| 914 SetOption('warn', 'no-deprecated') | 917 SetOption('warn', 'no-deprecated') |
| 915 except: | 918 except: |
| 916 pass | 919 pass |
| 917 | 920 |
| 918 | 921 |
| 919 Build() | 922 Build() |
| OLD | NEW |