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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 '-Wl,-dynamic-linker,/system/bin/linker', | 76 '-Wl,-dynamic-linker,/system/bin/linker', |
77 '-Wl,--gc-sections', | 77 '-Wl,--gc-sections', |
78 '-Wl,-z,nocopyreloc', | 78 '-Wl,-z,nocopyreloc', |
79 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', | 79 '-Wl,-rpath-link=' + ANDROID_TOP + '/out/target/product/gen
eric/obj/lib', |
80 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', | 80 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtbegin
_dynamic.o', |
81 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1
/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', | 81 ANDROID_TOP + '/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1
/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a', |
82 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; | 82 ANDROID_TOP + '/out/target/product/generic/obj/lib/crtend_a
ndroid.o']; |
83 | 83 |
84 LIBRARY_FLAGS = { | 84 LIBRARY_FLAGS = { |
85 'all': { | 85 'all': { |
86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'] | 86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'], |
| 87 'CPPPATH': [join(root_dir, 'src')] |
87 }, | 88 }, |
88 'gcc': { | 89 'gcc': { |
89 'all': { | 90 'all': { |
90 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 91 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
91 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 92 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], |
92 }, | 93 }, |
93 'mode:debug': { | 94 'mode:debug': { |
94 'CCFLAGS': ['-g', '-O0'], | 95 'CCFLAGS': ['-g', '-O0'], |
95 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], | 96 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], |
96 'os:android': { | 97 'os:android': { |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 # version of scons. Also, there's a bug in some revisions that | 782 # version of scons. Also, there's a bug in some revisions that |
782 # doesn't allow this flag to be set, so we swallow any exceptions. | 783 # doesn't allow this flag to be set, so we swallow any exceptions. |
783 # Lovely. | 784 # Lovely. |
784 try: | 785 try: |
785 SetOption('warn', 'no-deprecated') | 786 SetOption('warn', 'no-deprecated') |
786 except: | 787 except: |
787 pass | 788 pass |
788 | 789 |
789 | 790 |
790 Build() | 791 Build() |
OLD | NEW |