|
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)/bridge \ |
|
34 \ |
|
35 $(base_intermediates)/WebCore/bindings \ |
|
36 $(base_intermediates)/JavaScriptCore |
|
37 |
|
38 LOCAL_SRC_FILES += \ |
|
39 bindings/ScriptControllerBase.cpp \ |
|
40 \ |
|
41 bindings/v8/ChildThreadDOMData.cpp \ |
|
42 bindings/v8/DateExtension.cpp \ |
|
43 bindings/v8/DOMData.cpp \ |
|
44 bindings/v8/DOMDataStore.cpp \ |
|
45 bindings/v8/IDBBindingUtilities.cpp \ |
|
46 bindings/v8/MainThreadDOMData.cpp \ |
|
47 bindings/v8/NPV8Object.cpp \ |
|
48 bindings/v8/RuntimeEnabledFeatures.cpp \ |
|
49 bindings/v8/ScheduledAction.cpp \ |
|
50 bindings/v8/ScopedDOMDataStore.cpp \ |
|
51 bindings/v8/ScriptArray.cpp \ |
|
52 bindings/v8/ScriptCallFrame.cpp \ |
|
53 bindings/v8/ScriptCallStack.cpp \ |
|
54 bindings/v8/ScriptController.cpp \ |
|
55 bindings/v8/ScriptEventListener.cpp \ |
|
56 bindings/v8/ScriptFunctionCall.cpp \ |
|
57 bindings/v8/ScriptInstance.cpp \ |
|
58 bindings/v8/ScriptObject.cpp \ |
|
59 bindings/v8/ScriptScope.cpp \ |
|
60 bindings/v8/ScriptState.cpp \ |
|
61 bindings/v8/ScriptStringImpl.cpp \ |
|
62 bindings/v8/ScriptValue.cpp \ |
|
63 bindings/v8/StaticDOMDataStore.cpp \ |
|
64 bindings/v8/V8AbstractEventListener.cpp \ |
|
65 bindings/v8/V8Binding.cpp \ |
|
66 bindings/v8/V8Collection.cpp \ |
|
67 bindings/v8/V8ConsoleMessage.cpp \ |
|
68 bindings/v8/V8DOMMap.cpp \ |
|
69 bindings/v8/V8DOMWrapper.cpp \ |
|
70 bindings/v8/V8DataGridDataSource.cpp \ |
|
71 bindings/v8/V8EventListenerList.cpp \ |
|
72 bindings/v8/V8GCController.cpp \ |
|
73 bindings/v8/V8Helpers.cpp \ |
|
74 bindings/v8/V8HiddenPropertyName.cpp \ |
|
75 bindings/v8/V8IsolatedWorld.cpp \ |
|
76 bindings/v8/V8LazyEventListener.cpp \ |
|
77 bindings/v8/V8NPObject.cpp \ |
|
78 bindings/v8/V8NPUtils.cpp \ |
|
79 bindings/v8/V8NodeFilterCondition.cpp \ |
|
80 bindings/v8/V8Proxy.cpp \ |
|
81 bindings/v8/V8Utilities.cpp \ |
|
82 bindings/v8/V8WorkerContextEventListener.cpp \ |
|
83 bindings/v8/WorkerContextExecutionProxy.cpp \ |
|
84 bindings/v8/WorkerScriptController.cpp \ |
|
85 \ |
|
86 bindings/v8/npruntime.cpp \ |
|
87 \ |
|
88 bindings/v8/custom/V8CSSRuleCustom.cpp \ |
|
89 bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp \ |
|
90 bindings/v8/custom/V8CSSStyleSheetCustom.cpp \ |
|
91 bindings/v8/custom/V8CSSValueCustom.cpp \ |
|
92 bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp \ |
|
93 bindings/v8/custom/V8CanvasPixelArrayCustom.cpp \ |
|
94 bindings/v8/custom/V8ClientRectListCustom.cpp \ |
|
95 bindings/v8/custom/V8ClipboardCustom.cpp \ |
|
96 bindings/v8/custom/V8CoordinatesCustom.cpp \ |
|
97 bindings/v8/custom/V8CustomEventListener.cpp \ |
|
98 bindings/v8/custom/V8CustomPositionCallback.cpp \ |
|
99 bindings/v8/custom/V8CustomPositionErrorCallback.cpp \ |
|
100 bindings/v8/custom/V8CustomSQLStatementCallback.cpp \ |
|
101 bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp \ |
|
102 bindings/v8/custom/V8CustomSQLTransactionCallback.cpp \ |
|
103 bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp \ |
|
104 bindings/v8/custom/V8CustomVoidCallback.cpp \ |
|
105 bindings/v8/custom/V8DOMFormDataCustom.cpp \ |
|
106 bindings/v8/custom/V8DOMWindowCustom.cpp \ |
|
107 bindings/v8/custom/V8DataGridColumnListCustom.cpp \ |
|
108 bindings/v8/custom/V8DatabaseCallback.cpp \ |
|
109 bindings/v8/custom/V8DatabaseCustom.cpp \ |
|
110 bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp \ |
|
111 bindings/v8/custom/V8DeviceOrientationEventCustom.cpp \ |
|
112 bindings/v8/custom/V8DocumentCustom.cpp \ |
|
113 bindings/v8/custom/V8DocumentLocationCustom.cpp \ |
|
114 bindings/v8/custom/V8ElementCustom.cpp \ |
|
115 bindings/v8/custom/V8EventCustom.cpp \ |
|
116 bindings/v8/custom/V8EventSourceConstructor.cpp \ |
|
117 bindings/v8/custom/V8FileListCustom.cpp \ |
|
118 bindings/v8/custom/V8GeolocationCustom.cpp \ |
|
119 bindings/v8/custom/V8IDBAny.cpp \ |
|
120 bindings/v8/custom/V8IDBKey.cpp \ |
|
121 bindings/v8/custom/V8HTMLAllCollectionCustom.cpp \ |
|
122 bindings/v8/custom/V8HTMLAudioElementConstructor.cpp \ |
|
123 bindings/v8/custom/V8HTMLCanvasElementCustom.cpp \ |
|
124 bindings/v8/custom/V8HTMLCollectionCustom.cpp \ |
|
125 bindings/v8/custom/V8HTMLDataGridElementCustom.cpp \ |
|
126 bindings/v8/custom/V8HTMLDocumentCustom.cpp \ |
|
127 bindings/v8/custom/V8HTMLElementCustom.cpp \ |
|
128 bindings/v8/custom/V8HTMLFormElementCustom.cpp \ |
|
129 bindings/v8/custom/V8HTMLFrameElementCustom.cpp \ |
|
130 bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp \ |
|
131 bindings/v8/custom/V8HTMLImageElementConstructor.cpp \ |
|
132 bindings/v8/custom/V8HTMLInputElementCustom.cpp \ |
|
133 bindings/v8/custom/V8HTMLOptionElementConstructor.cpp \ |
|
134 bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp \ |
|
135 bindings/v8/custom/V8HTMLPlugInElementCustom.cpp \ |
|
136 bindings/v8/custom/V8HTMLSelectElementCollectionCustom.cpp \ |
|
137 bindings/v8/custom/V8HTMLSelectElementCustom.cpp \ |
|
138 bindings/v8/custom/V8LocationCustom.cpp \ |
|
139 bindings/v8/custom/V8MessageChannelConstructor.cpp \ |
|
140 bindings/v8/custom/V8MessagePortCustom.cpp \ |
|
141 bindings/v8/custom/V8MessageEventCustom.cpp \ |
|
142 bindings/v8/custom/V8NamedNodeMapCustom.cpp \ |
|
143 bindings/v8/custom/V8NamedNodesCollection.cpp \ |
|
144 bindings/v8/custom/V8NodeCustom.cpp \ |
|
145 bindings/v8/custom/V8NodeFilterCustom.cpp \ |
|
146 bindings/v8/custom/V8NodeIteratorCustom.cpp \ |
|
147 bindings/v8/custom/V8NodeListCustom.cpp \ |
|
148 bindings/v8/custom/V8SQLResultSetRowListCustom.cpp \ |
|
149 bindings/v8/custom/V8SQLTransactionCustom.cpp \ |
|
150 bindings/v8/custom/V8WebSocketCustom.cpp |
|
151 |
|
152 ifeq ($(ENABLE_SVG), true) |
|
153 LOCAL_SRC_FILES += \ |
|
154 bindings/v8/custom/V8SVGDocumentCustom.cpp \ |
|
155 bindings/v8/custom/V8SVGElementCustom.cpp \ |
|
156 bindings/v8/custom/V8SVGLengthCustom.cpp \ |
|
157 bindings/v8/custom/V8SVGMatrixCustom.cpp |
|
158 bindings/v8/custom/V8SVGPathSegCustom.cpp \ |
|
159 endif |
|
160 |
|
161 LOCAL_SRC_FILES += \ |
|
162 bindings/v8/custom/V8SharedWorkerCustom.cpp \ |
|
163 bindings/v8/custom/V8StorageCustom.cpp \ |
|
164 bindings/v8/custom/V8StyleSheetCustom.cpp \ |
|
165 bindings/v8/custom/V8StyleSheetListCustom.cpp \ |
|
166 bindings/v8/custom/V8TreeWalkerCustom.cpp \ |
|
167 bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp \ |
|
168 bindings/v8/custom/V8WebKitPointConstructor.cpp \ |
|
169 bindings/v8/custom/V8WorkerContextCustom.cpp \ |
|
170 bindings/v8/custom/V8WorkerCustom.cpp \ |
|
171 bindings/v8/custom/V8XMLHttpRequestConstructor.cpp \ |
|
172 bindings/v8/custom/V8XMLHttpRequestCustom.cpp |
|
173 |
|
174 LOCAL_SRC_FILES += \ |
|
175 bridge/jni/JNIBridge.cpp \ |
|
176 bridge/jni/JNIUtility.cpp \ |
|
177 bridge/jni/v8/JNIBridgeV8.cpp \ |
|
178 bridge/jni/v8/JNIUtilityPrivate.cpp \ |
|
179 bridge/jni/v8/JavaClassV8.cpp \ |
|
180 bridge/jni/v8/JavaInstanceV8.cpp \ |
|
181 bridge/jni/v8/JavaNPObject.cpp |