OSDN Git Service

Merge "Use fixedClipRect when modifying clipRect for fixed elements." into honeycomb
[android-x86/external-webkit.git] / JavaScriptCore / Android.mk
1 ##
2 ## Copyright 2009, The Android Open Source Project
3 ##
4 ## Redistribution and use in source and binary forms, with or without
5 ## modification, are permitted provided that the following conditions
6 ## are met:
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.
12 ##
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.
24 ##
25
26 LOCAL_SRC_FILES := \
27         API/JSValueRef.cpp \
28         API/JSCallbackObject.cpp \
29         API/OpaqueJSString.cpp \
30         \
31         assembler/ARMv7Assembler.cpp \
32         \
33         bytecode/CodeBlock.cpp \
34         bytecode/JumpTable.cpp \
35         bytecode/Opcode.cpp \
36         bytecode/SamplingTool.cpp \
37         bytecode/StructureStubInfo.cpp \
38         \
39         bytecompiler/BytecodeGenerator.cpp \
40         bytecompiler/NodesCodegen.cpp \
41         \
42         debugger/Debugger.cpp \
43         debugger/DebuggerActivation.cpp \
44         debugger/DebuggerCallFrame.cpp \
45         \
46         interpreter/CallFrame.cpp \
47         interpreter/Interpreter.cpp \
48         interpreter/RegisterFile.cpp \
49         \
50         jit/ExecutableAllocator.cpp\
51         jit/ExecutableAllocatorFixedVMPool.cpp \
52         jit/JIT.cpp \
53         jit/JITArithmetic.cpp \
54         jit/JITArithmetic32_64.cpp \
55         jit/JITCall.cpp \
56         jit/JITCall32_64.cpp \
57         jit/JITOpcodes.cpp \
58         jit/JITPropertyAccess.cpp \
59         jit/JITStubs.cpp \
60         jit/ThunkGenerators.cpp \
61         \
62         parser/JSParser.cpp \
63         parser/Lexer.cpp \
64         parser/Nodes.cpp \
65         parser/Parser.cpp \
66         parser/ParserArena.cpp \
67         \
68         pcre/pcre_compile.cpp \
69         pcre/pcre_exec.cpp \
70         pcre/pcre_tables.cpp \
71         pcre/pcre_ucp_searchfuncs.cpp \
72         pcre/pcre_xclass.cpp \
73         \
74         profiler/Profile.cpp \
75         profiler/ProfileGenerator.cpp \
76         profiler/ProfileNode.cpp \
77         profiler/Profiler.cpp \
78         \
79         runtime/ArgList.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 \
95         runtime/Error.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 \
114         runtime/JSCell.cpp \
115         runtime/JSFunction.cpp \
116         runtime/JSGlobalData.cpp \
117         runtime/JSGlobalObject.cpp \
118         runtime/JSGlobalObjectFunctions.cpp \
119         runtime/JSImmediate.cpp \
120         runtime/JSLock.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 \
133         runtime/Lookup.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 \
149         runtime/RegExp.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 \
165         \
166         wtf/Assertions.cpp \
167         wtf/ByteArray.cpp \
168         wtf/CurrentTime.cpp \
169         wtf/DateMath.cpp \
170         wtf/DecimalNumber.cpp \
171         wtf/FastMalloc.cpp \
172         wtf/HashTable.cpp \
173         wtf/MD5.cpp \
174         wtf/MainThread.cpp \
175         wtf/PageAllocation.cpp \
176         wtf/RandomNumber.cpp \
177         wtf/RefCountedLeakCounter.cpp \
178         wtf/TCSystemAlloc.cpp \
179         wtf/ThreadIdentifierDataPthreads.cpp \
180         wtf/Threading.cpp \
181         wtf/ThreadingPthreads.cpp \
182         wtf/TypeTraits.cpp \
183         wtf/WTFThreadData.cpp \
184         wtf/dtoa.cpp \
185         \
186         wtf/android/MainThreadAndroid.cpp \
187         \
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 \
194         \
195         wtf/unicode/CollatorDefault.cpp \
196         wtf/unicode/UTF8.cpp \
197         \
198         wtf/unicode/icu/CollatorICU.cpp \
199         \
200         wtf/url/src/URLCharacterTypes.cpp \
201         wtf/url/src/URLEscape.cpp \
202         wtf/url/src/URLSegments.cpp \
203         \
204         yarr/RegexCompiler.cpp \
205         yarr/RegexInterpreter.cpp \
206         yarr/RegexJIT.cpp
207
208 # generated headers
209 JSC_OBJECTS := $(addprefix $(intermediates)/runtime/, \
210                                 ArrayPrototype.lut.h \
211                                 DatePrototype.lut.h \
212                                 JSONObject.lut.h \
213                                 MathObject.lut.h \
214                                 NumberConstructor.lut.h \
215                                 RegExpConstructor.lut.h \
216                                 RegExpObject.lut.h \
217                                 StringPrototype.lut.h \
218                         )
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)
224
225
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)
232
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)
239
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)
245
246 LOCAL_GENERATED_SOURCES += $(JSC_OBJECTS) $(LEXER_HEADER) $(CHARTABLES) $(REGEXP_JIT_TABLES)