2 ## Copyright 2009, The Android Open Source Project
4 ## Redistribution and use in source and binary forms, with or without
5 ## modification, are permitted provided that the following conditions
7 ## * Redistributions of source code must retain the above copyright
8 ## notice, this list of conditions and the following disclaimer.
9 ## * Redistributions in binary form must reproduce the above copyright
10 ## notice, this list of conditions and the following disclaimer in the
11 ## documentation and/or other materials provided with the distribution.
13 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
14 ## EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 ## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 API/JSCallbackObject.cpp \
29 API/OpaqueJSString.cpp \
31 assembler/ARMv7Assembler.cpp \
33 bytecode/CodeBlock.cpp \
34 bytecode/JumpTable.cpp \
36 bytecode/SamplingTool.cpp \
37 bytecode/StructureStubInfo.cpp \
39 bytecompiler/BytecodeGenerator.cpp \
40 bytecompiler/NodesCodegen.cpp \
42 debugger/Debugger.cpp \
43 debugger/DebuggerActivation.cpp \
44 debugger/DebuggerCallFrame.cpp \
46 interpreter/CallFrame.cpp \
47 interpreter/Interpreter.cpp \
48 interpreter/RegisterFile.cpp \
50 jit/ExecutableAllocator.cpp\
51 jit/ExecutableAllocatorFixedVMPool.cpp \
53 jit/JITArithmetic.cpp \
54 jit/JITArithmetic32_64.cpp \
56 jit/JITCall32_64.cpp \
58 jit/JITPropertyAccess.cpp \
60 jit/ThunkGenerators.cpp \
66 parser/ParserArena.cpp \
68 pcre/pcre_compile.cpp \
70 pcre/pcre_tables.cpp \
71 pcre/pcre_ucp_searchfuncs.cpp \
72 pcre/pcre_xclass.cpp \
74 profiler/Profile.cpp \
75 profiler/ProfileGenerator.cpp \
76 profiler/ProfileNode.cpp \
77 profiler/Profiler.cpp \
80 runtime/Arguments.cpp \
81 runtime/ArrayConstructor.cpp \
82 runtime/ArrayPrototype.cpp \
83 runtime/BooleanConstructor.cpp \
84 runtime/BooleanObject.cpp \
85 runtime/BooleanPrototype.cpp \
86 runtime/CallData.cpp \
87 runtime/Collector.cpp \
88 runtime/CommonIdentifiers.cpp \
89 runtime/Completion.cpp \
90 runtime/ConstructData.cpp \
91 runtime/DateConstructor.cpp \
92 runtime/DateConversion.cpp \
93 runtime/DateInstance.cpp \
94 runtime/DatePrototype.cpp \
96 runtime/ErrorConstructor.cpp \
97 runtime/ErrorInstance.cpp \
98 runtime/ErrorPrototype.cpp \
99 runtime/ExceptionHelpers.cpp \
100 runtime/Executable.cpp \
101 runtime/FunctionConstructor.cpp \
102 runtime/FunctionPrototype.cpp \
103 runtime/GCActivityCallback.cpp \
104 runtime/GCHandle.cpp \
105 runtime/GetterSetter.cpp \
106 runtime/GlobalEvalFunction.cpp \
107 runtime/Identifier.cpp \
108 runtime/InitializeThreading.cpp \
109 runtime/InternalFunction.cpp \
110 runtime/JSAPIValueWrapper.cpp \
111 runtime/JSActivation.cpp \
112 runtime/JSArray.cpp \
113 runtime/JSByteArray.cpp \
115 runtime/JSFunction.cpp \
116 runtime/JSGlobalData.cpp \
117 runtime/JSGlobalObject.cpp \
118 runtime/JSGlobalObjectFunctions.cpp \
119 runtime/JSImmediate.cpp \
121 runtime/JSNotAnObject.cpp \
122 runtime/JSNumberCell.cpp \
123 runtime/JSONObject.cpp \
124 runtime/JSObject.cpp \
125 runtime/JSObjectWithGlobalObject.cpp \
126 runtime/JSPropertyNameIterator.cpp \
127 runtime/JSStaticScopeObject.cpp \
128 runtime/JSString.cpp \
129 runtime/JSValue.cpp \
130 runtime/JSVariableObject.cpp \
131 runtime/JSWrapperObject.cpp \
132 runtime/LiteralParser.cpp \
134 runtime/MarkStack.cpp \
135 runtime/MarkStackPosix.cpp \
136 runtime/MathObject.cpp \
137 runtime/NativeErrorConstructor.cpp \
138 runtime/NativeErrorPrototype.cpp \
139 runtime/NumberConstructor.cpp \
140 runtime/NumberObject.cpp \
141 runtime/NumberPrototype.cpp \
142 runtime/ObjectConstructor.cpp \
143 runtime/ObjectPrototype.cpp \
144 runtime/Operations.cpp \
145 runtime/PropertyDescriptor.cpp \
146 runtime/PropertyNameArray.cpp \
147 runtime/PropertySlot.cpp \
148 runtime/PrototypeFunction.cpp \
150 runtime/RegExpCache.cpp \
151 runtime/RegExpConstructor.cpp \
152 runtime/RegExpObject.cpp \
153 runtime/RegExpPrototype.cpp \
154 runtime/RopeImpl.cpp \
155 runtime/ScopeChain.cpp \
156 runtime/SmallStrings.cpp \
157 runtime/StrictEvalActivation.cpp \
158 runtime/StringConstructor.cpp \
159 runtime/StringObject.cpp \
160 runtime/StringPrototype.cpp \
161 runtime/Structure.cpp \
162 runtime/StructureChain.cpp \
163 runtime/TimeoutChecker.cpp \
164 runtime/UString.cpp \
168 wtf/CurrentTime.cpp \
170 wtf/DecimalNumber.cpp \
175 wtf/PageAllocation.cpp \
176 wtf/RandomNumber.cpp \
177 wtf/RefCountedLeakCounter.cpp \
178 wtf/TCSystemAlloc.cpp \
179 wtf/ThreadIdentifierDataPthreads.cpp \
181 wtf/ThreadingPthreads.cpp \
183 wtf/WTFThreadData.cpp \
186 wtf/android/MainThreadAndroid.cpp \
188 wtf/text/AtomicString.cpp \
189 wtf/text/CString.cpp \
190 wtf/text/StringBuilder.cpp \
191 wtf/text/StringImpl.cpp \
192 wtf/text/StringStatics.cpp \
193 wtf/text/WTFString.cpp \
195 wtf/unicode/CollatorDefault.cpp \
196 wtf/unicode/UTF8.cpp \
198 wtf/unicode/icu/CollatorICU.cpp \
200 wtf/url/src/URLCharacterTypes.cpp \
201 wtf/url/src/URLEscape.cpp \
202 wtf/url/src/URLSegments.cpp \
204 yarr/RegexCompiler.cpp \
205 yarr/RegexInterpreter.cpp \
209 JSC_OBJECTS := $(addprefix $(intermediates)/runtime/, \
210 ArrayPrototype.lut.h \
211 DatePrototype.lut.h \
214 NumberConstructor.lut.h \
215 RegExpConstructor.lut.h \
217 StringPrototype.lut.h \
219 $(JSC_OBJECTS): PRIVATE_PATH := $(LOCAL_PATH)
220 $(JSC_OBJECTS): PRIVATE_CUSTOM_TOOL = perl $(PRIVATE_PATH)/create_hash_table $< -i > $@
221 $(JSC_OBJECTS): $(LOCAL_PATH)/create_hash_table
222 $(JSC_OBJECTS): $(intermediates)/%.lut.h : $(LOCAL_PATH)/%.cpp
223 $(transform-generated-source)
226 LEXER_HEADER := $(intermediates)/Lexer.lut.h
227 $(LEXER_HEADER): PRIVATE_PATH := $(LOCAL_PATH)
228 $(LEXER_HEADER): PRIVATE_CUSTOM_TOOL = perl $(PRIVATE_PATH)/create_hash_table $< -i > $@
229 $(LEXER_HEADER): $(LOCAL_PATH)/create_hash_table
230 $(LEXER_HEADER): $(intermediates)/%.lut.h : $(LOCAL_PATH)/parser/Keywords.table
231 $(transform-generated-source)
233 CHARTABLES := $(intermediates)/chartables.c
234 $(CHARTABLES): PRIVATE_PATH := $(LOCAL_PATH)
235 $(CHARTABLES): PRIVATE_CUSTOM_TOOL = perl $(PRIVATE_PATH)/pcre/dftables $@
236 $(CHARTABLES): $(LOCAL_PATH)/pcre/dftables
237 $(CHARTABLES): $(LOCAL_PATH)/pcre/pcre_internal.h
238 $(transform-generated-source)
240 REGEXP_JIT_TABLES := $(intermediates)/RegExpJitTables.h
241 $(REGEXP_JIT_TABLES): PRIVATE_PATH := $(LOCAL_PATH)
242 $(REGEXP_JIT_TABLES): PRIVATE_CUSTOM_TOOL = python $(PRIVATE_PATH)/create_regex_tables > $@
243 $(REGEXP_JIT_TABLES): $(LOCAL_PATH)/create_regex_tables
244 $(transform-generated-source)
246 LOCAL_GENERATED_SOURCES += $(JSC_OBJECTS) $(LEXER_HEADER) $(CHARTABLES) $(REGEXP_JIT_TABLES)