OSDN Git Service

fc74a30efe7b829e5bafcda0468f87d1668aa7a8
[android-x86/external-webkit.git] / WebCore / Android.v8bindings.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_CFLAGS += -DWTF_USE_V8=1
27
28 BINDING_C_INCLUDES := \
29         external/v8/include \
30         \
31         $(LOCAL_PATH)/bindings/v8 \
32         $(LOCAL_PATH)/bindings/v8/custom \
33         $(LOCAL_PATH)/bindings/v8/specialization \
34         $(LOCAL_PATH)/bridge \
35         $(LOCAL_PATH)/bridge/jni \
36         $(LOCAL_PATH)/bridge/jni/v8 \
37         $(LOCAL_PATH)/bridge/jsc \
38         \
39         $(base_intermediates)/WebCore/bindings \
40         $(base_intermediates)/WebCore/svg \
41         $(base_intermediates)/JavaScriptCore
42
43 LOCAL_SRC_FILES += \
44         bindings/ScriptControllerBase.cpp \
45         \
46         bindings/v8/ChildThreadDOMData.cpp \
47         bindings/v8/DateExtension.cpp \
48         bindings/v8/DOMData.cpp \
49         bindings/v8/DOMDataStore.cpp \
50         bindings/v8/DOMWrapperWorld.cpp \
51         bindings/v8/IDBBindingUtilities.cpp \
52         bindings/v8/IsolatedWorld.cpp \
53         bindings/v8/MainThreadDOMData.cpp \
54         bindings/v8/NPV8Object.cpp \
55         bindings/v8/ScheduledAction.cpp \
56         bindings/v8/ScopedDOMDataStore.cpp \
57         bindings/v8/ScriptCachedFrameData.cpp \
58         bindings/v8/ScriptCallFrame.cpp \
59         bindings/v8/ScriptCallStack.cpp \
60         bindings/v8/ScriptController.cpp \
61         bindings/v8/ScriptEventListener.cpp \
62         bindings/v8/ScriptFunctionCall.cpp \
63         bindings/v8/ScriptInstance.cpp \
64         bindings/v8/ScriptObject.cpp \
65         bindings/v8/ScriptScope.cpp \
66         bindings/v8/ScriptState.cpp \
67         bindings/v8/ScriptValue.cpp \
68         bindings/v8/SerializedScriptValue.cpp \
69         bindings/v8/StaticDOMDataStore.cpp \
70         bindings/v8/V8AbstractEventListener.cpp \
71         bindings/v8/V8Binding.cpp \
72         bindings/v8/V8Collection.cpp \
73         bindings/v8/V8ConsoleMessage.cpp \
74         bindings/v8/V8DOMMap.cpp \
75         bindings/v8/V8DOMWindowShell.cpp \
76         bindings/v8/V8DOMWrapper.cpp \
77         bindings/v8/V8DataGridDataSource.cpp \
78         bindings/v8/V8EventListenerList.cpp \
79         bindings/v8/V8GCController.cpp \
80         bindings/v8/V8GCForContextDispose.cpp \
81         bindings/v8/V8Helpers.cpp \
82         bindings/v8/V8HiddenPropertyName.cpp \
83         bindings/v8/V8IsolatedContext.cpp \
84         bindings/v8/V8LazyEventListener.cpp \
85         bindings/v8/V8NPObject.cpp \
86         bindings/v8/V8NPUtils.cpp \
87         bindings/v8/V8NodeFilterCondition.cpp \
88         bindings/v8/V8Proxy.cpp \
89         bindings/v8/V8Utilities.cpp \
90         bindings/v8/V8WorkerContextEventListener.cpp \
91         bindings/v8/WorkerContextExecutionProxy.cpp \
92         bindings/v8/WorkerScriptController.cpp \
93         bindings/v8/WorldContextHandle.cpp \
94         \
95         bindings/v8/npruntime.cpp \
96         \
97         bindings/v8/custom/V8ArrayBufferCustom.cpp \
98         bindings/v8/custom/V8ArrayBufferViewCustom.cpp \
99         bindings/v8/custom/V8CSSRuleCustom.cpp \
100         bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp \
101         bindings/v8/custom/V8CSSStyleSheetCustom.cpp \
102         bindings/v8/custom/V8CSSValueCustom.cpp \
103         bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp \
104         bindings/v8/custom/V8CanvasPixelArrayCustom.cpp \
105         bindings/v8/custom/V8ClipboardCustom.cpp \
106         bindings/v8/custom/V8ConsoleCustom.cpp \
107         bindings/v8/custom/V8CoordinatesCustom.cpp \
108         bindings/v8/custom/V8CustomApplicationInstalledCallback.cpp \
109         bindings/v8/custom/V8CustomEventListener.cpp \
110         bindings/v8/custom/V8CustomPositionCallback.cpp \
111         bindings/v8/custom/V8CustomPositionErrorCallback.cpp \
112         bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp \
113         bindings/v8/custom/V8CustomVoidCallback.cpp \
114         bindings/v8/custom/V8DOMFormDataCustom.cpp \
115         bindings/v8/custom/V8DOMSettableTokenListCustom.cpp \
116         bindings/v8/custom/V8DOMStringMapCustom.cpp \
117         bindings/v8/custom/V8DOMTokenListCustom.cpp \
118         bindings/v8/custom/V8DOMWindowCustom.cpp \
119         bindings/v8/custom/V8DataGridColumnListCustom.cpp \
120         bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp \
121         bindings/v8/custom/V8DeviceMotionEventCustom.cpp \
122         bindings/v8/custom/V8DeviceOrientationEventCustom.cpp \
123         bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp \
124         bindings/v8/custom/V8DocumentCustom.cpp \
125         bindings/v8/custom/V8DocumentLocationCustom.cpp \
126         bindings/v8/custom/V8ElementCustom.cpp \
127         bindings/v8/custom/V8EntrySyncCustom.cpp \
128         bindings/v8/custom/V8EventCustom.cpp \
129         bindings/v8/custom/V8EventSourceConstructor.cpp \
130         bindings/v8/custom/V8FileReaderCustom.cpp \
131         bindings/v8/custom/V8Float32ArrayCustom.cpp \
132         bindings/v8/custom/V8GeolocationCustom.cpp \
133         bindings/v8/custom/V8HistoryCustom.cpp \
134         bindings/v8/custom/V8HTMLAllCollectionCustom.cpp \
135         bindings/v8/custom/V8HTMLAudioElementConstructor.cpp \
136         bindings/v8/custom/V8HTMLCanvasElementCustom.cpp \
137         bindings/v8/custom/V8HTMLCollectionCustom.cpp \
138         bindings/v8/custom/V8HTMLDataGridElementCustom.cpp \
139         bindings/v8/custom/V8HTMLDocumentCustom.cpp \
140         bindings/v8/custom/V8HTMLElementCustom.cpp \
141         bindings/v8/custom/V8HTMLFormElementCustom.cpp \
142         bindings/v8/custom/V8HTMLFrameElementCustom.cpp \
143         bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp \
144         bindings/v8/custom/V8HTMLImageElementConstructor.cpp \
145         bindings/v8/custom/V8HTMLInputElementCustom.cpp \
146         bindings/v8/custom/V8HTMLOptionElementConstructor.cpp \
147         bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp \
148         bindings/v8/custom/V8HTMLPlugInElementCustom.cpp \
149         bindings/v8/custom/V8HTMLSelectElementCustom.cpp \
150         bindings/v8/custom/V8Int16ArrayCustom.cpp \
151         bindings/v8/custom/V8Int32ArrayCustom.cpp \
152         bindings/v8/custom/V8Int8ArrayCustom.cpp \
153         bindings/v8/custom/V8LocationCustom.cpp \
154         bindings/v8/custom/V8MessageChannelConstructor.cpp \
155         bindings/v8/custom/V8MessagePortCustom.cpp \
156         bindings/v8/custom/V8MessageEventCustom.cpp \
157         bindings/v8/custom/V8NamedNodeMapCustom.cpp \
158         bindings/v8/custom/V8NamedNodesCollection.cpp \
159         bindings/v8/custom/V8NavigatorCustom.cpp \
160         bindings/v8/custom/V8NodeCustom.cpp \
161         bindings/v8/custom/V8NodeListCustom.cpp \
162         bindings/v8/custom/V8PopStateEventCustom.cpp \
163         bindings/v8/custom/V8SQLResultSetRowListCustom.cpp \
164         bindings/v8/custom/V8SQLTransactionCustom.cpp \
165         bindings/v8/custom/V8SQLTransactionSyncCustom.cpp \
166         bindings/v8/custom/V8Uint16ArrayCustom.cpp \
167         bindings/v8/custom/V8Uint32ArrayCustom.cpp \
168         bindings/v8/custom/V8Uint8ArrayCustom.cpp \
169         bindings/v8/custom/V8WebSocketCustom.cpp
170
171 ifeq ($(ENABLE_SVG), true)
172 LOCAL_SRC_FILES += \
173         bindings/v8/custom/V8SVGDocumentCustom.cpp \
174         bindings/v8/custom/V8SVGElementCustom.cpp \
175         bindings/v8/custom/V8SVGLengthCustom.cpp \
176         bindings/v8/custom/V8SVGMatrixCustom.cpp \
177         bindings/v8/custom/V8SVGPathSegCustom.cpp
178 endif
179
180 LOCAL_SRC_FILES += \
181         bindings/v8/custom/V8SharedWorkerCustom.cpp \
182         bindings/v8/custom/V8StorageCustom.cpp \
183         bindings/v8/custom/V8StyleSheetCustom.cpp \
184         bindings/v8/custom/V8StyleSheetListCustom.cpp \
185         bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp \
186         bindings/v8/custom/V8WebKitPointConstructor.cpp \
187         bindings/v8/custom/V8WorkerContextCustom.cpp \
188         bindings/v8/custom/V8WorkerCustom.cpp \
189         bindings/v8/custom/V8XMLHttpRequestConstructor.cpp \
190         bindings/v8/custom/V8XMLHttpRequestCustom.cpp \
191         \
192         bindings/v8/specialization/V8BindingState.cpp
193
194 LOCAL_SRC_FILES += \
195         bridge/jni/JNIBridge.cpp \
196         bridge/jni/JNIUtility.cpp \
197         bridge/jni/v8/JNIBridgeV8.cpp \
198         bridge/jni/v8/JNIUtilityPrivate.cpp \
199         bridge/jni/v8/JavaClassV8.cpp \
200         bridge/jni/v8/JavaInstanceV8.cpp \
201         bridge/jni/v8/JavaNPObjectV8.cpp
202
203 # For XPath.
204 LOCAL_SRC_FILES += \
205         bindings/v8/custom/V8CustomXPathNSResolver.cpp
206
207 # For XSLT.
208 LOCAL_SRC_FILES += \
209         bindings/v8/custom/V8XSLTProcessorCustom.cpp