Android.v8bindings.mk revision 2bde8e466a4451c7319e3a072d118917957d6554
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 26LOCAL_CFLAGS += -DWTF_USE_V8=1 27 28BINDING_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 $(WEBCORE_INTERMEDIATES_PATH)/bindings \ 40 $(WEBCORE_INTERMEDIATES_PATH)/svg \ 41 $(base_intermediates)/Source/JavaScriptCore 42 43LOCAL_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<<<<<<< HEAD 56======= 57 bindings/v8/RetainedDOMInfo.cpp \ 58 bindings/v8/RuntimeEnabledFeatures.cpp \ 59>>>>>>> webkit.org at r82507 60 bindings/v8/ScheduledAction.cpp \ 61 bindings/v8/ScopedDOMDataStore.cpp \ 62 bindings/v8/ScriptCachedFrameData.cpp \ 63 bindings/v8/ScriptCallStackFactory.cpp \ 64 bindings/v8/ScriptController.cpp \ 65 bindings/v8/ScriptEventListener.cpp \ 66 bindings/v8/ScriptFunctionCall.cpp \ 67 bindings/v8/ScriptInstance.cpp \ 68 bindings/v8/ScriptObject.cpp \ 69 bindings/v8/ScriptScope.cpp \ 70 bindings/v8/ScriptState.cpp \ 71 bindings/v8/ScriptValue.cpp \ 72 bindings/v8/SerializedScriptValue.cpp \ 73 bindings/v8/StaticDOMDataStore.cpp \ 74 bindings/v8/V8AbstractEventListener.cpp \ 75 bindings/v8/V8Binding.cpp \ 76 bindings/v8/V8Collection.cpp \ 77 bindings/v8/V8DOMMap.cpp \ 78 bindings/v8/V8DOMWindowShell.cpp \ 79 bindings/v8/V8DOMWrapper.cpp \ 80 bindings/v8/V8DataGridDataSource.cpp \ 81 bindings/v8/V8EventListener.cpp \ 82 bindings/v8/V8EventListenerList.cpp \ 83 bindings/v8/V8GCController.cpp \ 84 bindings/v8/V8GCForContextDispose.cpp \ 85 bindings/v8/V8Helpers.cpp \ 86 bindings/v8/V8HiddenPropertyName.cpp \ 87 bindings/v8/V8IsolatedContext.cpp \ 88 bindings/v8/V8LazyEventListener.cpp \ 89 bindings/v8/V8NPObject.cpp \ 90 bindings/v8/V8NPUtils.cpp \ 91 bindings/v8/V8NodeFilterCondition.cpp \ 92 bindings/v8/V8Proxy.cpp \ 93 bindings/v8/V8Utilities.cpp \ 94 bindings/v8/V8WindowErrorHandler.cpp \ 95 bindings/v8/V8WorkerContextEventListener.cpp \ 96 bindings/v8/WorkerContextExecutionProxy.cpp \ 97 bindings/v8/WorkerScriptController.cpp \ 98 bindings/v8/WorldContextHandle.cpp \ 99 \ 100 bindings/v8/npruntime.cpp \ 101 \ 102 bindings/v8/custom/V8ArrayBufferCustom.cpp \ 103 bindings/v8/custom/V8CSSRuleCustom.cpp \ 104 bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp \ 105 bindings/v8/custom/V8CSSStyleSheetCustom.cpp \ 106 bindings/v8/custom/V8CSSValueCustom.cpp \ 107 bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp \ 108 bindings/v8/custom/V8CanvasPixelArrayCustom.cpp \ 109 bindings/v8/custom/V8ClipboardCustom.cpp \ 110 bindings/v8/custom/V8ConsoleCustom.cpp \ 111 bindings/v8/custom/V8CoordinatesCustom.cpp \ 112 bindings/v8/custom/V8CustomApplicationInstalledCallback.cpp \ 113 bindings/v8/custom/V8CustomPositionCallback.cpp \ 114 bindings/v8/custom/V8CustomPositionErrorCallback.cpp \ 115 bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp \ 116 bindings/v8/custom/V8CustomVoidCallback.cpp \ 117 bindings/v8/custom/V8DOMFormDataCustom.cpp \ 118 bindings/v8/custom/V8DOMSettableTokenListCustom.cpp \ 119 bindings/v8/custom/V8DOMStringMapCustom.cpp \ 120 bindings/v8/custom/V8DOMTokenListCustom.cpp \ 121 bindings/v8/custom/V8DOMWindowCustom.cpp \ 122 bindings/v8/custom/V8DataGridColumnListCustom.cpp \ 123 bindings/v8/custom/V8DataViewCustom.cpp \ 124 bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp \ 125 bindings/v8/custom/V8DeviceMotionEventCustom.cpp \ 126 bindings/v8/custom/V8DeviceOrientationEventCustom.cpp \ 127 bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp \ 128 bindings/v8/custom/V8DocumentCustom.cpp \ 129 bindings/v8/custom/V8DocumentLocationCustom.cpp \ 130 bindings/v8/custom/V8ElementCustom.cpp \ 131 bindings/v8/custom/V8EntrySyncCustom.cpp \ 132 bindings/v8/custom/V8EventCustom.cpp \ 133 bindings/v8/custom/V8EventSourceConstructor.cpp \ 134 bindings/v8/custom/V8FileReaderCustom.cpp \ 135 bindings/v8/custom/V8Float32ArrayCustom.cpp \ 136 bindings/v8/custom/V8GeolocationCustom.cpp \ 137 bindings/v8/custom/V8HistoryCustom.cpp \ 138 bindings/v8/custom/V8HTMLAllCollectionCustom.cpp \ 139 bindings/v8/custom/V8HTMLAudioElementConstructor.cpp \ 140 bindings/v8/custom/V8HTMLCanvasElementCustom.cpp \ 141 bindings/v8/custom/V8HTMLCollectionCustom.cpp \ 142 bindings/v8/custom/V8HTMLDataGridElementCustom.cpp \ 143 bindings/v8/custom/V8HTMLDocumentCustom.cpp \ 144 bindings/v8/custom/V8HTMLElementCustom.cpp \ 145 bindings/v8/custom/V8HTMLFormElementCustom.cpp \ 146 bindings/v8/custom/V8HTMLFrameElementCustom.cpp \ 147 bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp \ 148 bindings/v8/custom/V8HTMLImageElementConstructor.cpp \ 149 bindings/v8/custom/V8HTMLInputElementCustom.cpp \ 150 bindings/v8/custom/V8HTMLOptionElementConstructor.cpp \ 151 bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp \ 152 bindings/v8/custom/V8HTMLOutputElementCustom.cpp \ 153 bindings/v8/custom/V8HTMLPlugInElementCustom.cpp \ 154 bindings/v8/custom/V8HTMLSelectElementCustom.cpp \ 155 bindings/v8/custom/V8ImageDataCustom.cpp \ 156 bindings/v8/custom/V8Int16ArrayCustom.cpp \ 157 bindings/v8/custom/V8Int32ArrayCustom.cpp \ 158 bindings/v8/custom/V8Int8ArrayCustom.cpp \ 159 bindings/v8/custom/V8LocationCustom.cpp \ 160 bindings/v8/custom/V8MessageChannelConstructor.cpp \ 161 bindings/v8/custom/V8MessagePortCustom.cpp \ 162 bindings/v8/custom/V8MessageEventCustom.cpp \ 163 bindings/v8/custom/V8NamedNodeMapCustom.cpp \ 164 bindings/v8/custom/V8NamedNodesCollection.cpp \ 165 bindings/v8/custom/V8NavigatorCustom.cpp \ 166 bindings/v8/custom/V8NodeCustom.cpp \ 167 bindings/v8/custom/V8NodeListCustom.cpp \ 168 bindings/v8/custom/V8PopStateEventCustom.cpp \ 169 bindings/v8/custom/V8SQLResultSetRowListCustom.cpp \ 170 bindings/v8/custom/V8SQLTransactionCustom.cpp \ 171 bindings/v8/custom/V8SQLTransactionSyncCustom.cpp \ 172 bindings/v8/custom/V8Uint16ArrayCustom.cpp \ 173 bindings/v8/custom/V8Uint32ArrayCustom.cpp \ 174 bindings/v8/custom/V8Uint8ArrayCustom.cpp \ 175 bindings/v8/custom/V8WebSocketCustom.cpp 176 177ifeq ($(ENABLE_SVG), true) 178LOCAL_SRC_FILES += \ 179 bindings/v8/custom/V8SVGDocumentCustom.cpp \ 180 bindings/v8/custom/V8SVGElementCustom.cpp \ 181 bindings/v8/custom/V8SVGLengthCustom.cpp \ 182 bindings/v8/custom/V8SVGPathSegCustom.cpp 183endif 184 185LOCAL_SRC_FILES += \ 186 bindings/v8/custom/V8SharedWorkerCustom.cpp \ 187 bindings/v8/custom/V8StorageCustom.cpp \ 188 bindings/v8/custom/V8StyleSheetCustom.cpp \ 189 bindings/v8/custom/V8StyleSheetListCustom.cpp \ 190<<<<<<< HEAD 191======= 192 bindings/v8/custom/V8TreeWalkerCustom.cpp \ 193 bindings/v8/custom/V8WebKitAnimationCustom.cpp \ 194>>>>>>> webkit.org at r82507 195 bindings/v8/custom/V8WebKitCSSMatrixConstructor.cpp \ 196 bindings/v8/custom/V8WebKitPointConstructor.cpp \ 197 bindings/v8/custom/V8WorkerContextCustom.cpp \ 198 bindings/v8/custom/V8WorkerCustom.cpp \ 199 bindings/v8/custom/V8XMLHttpRequestConstructor.cpp \ 200 bindings/v8/custom/V8XMLHttpRequestCustom.cpp \ 201 \ 202 bindings/v8/specialization/V8BindingState.cpp 203 204LOCAL_SRC_FILES += \ 205 bridge/jni/JNIUtility.cpp \ 206 bridge/jni/JavaMethodJobject.cpp \ 207 bridge/jni/JobjectWrapper.cpp \ 208 bridge/jni/v8/JNIUtilityPrivate.cpp \ 209 bridge/jni/v8/JavaClassV8.cpp \ 210 bridge/jni/v8/JavaFieldV8.cpp \ 211 bridge/jni/v8/JavaInstanceV8.cpp \ 212 bridge/jni/v8/JavaNPObjectV8.cpp 213 214# For XPath. 215LOCAL_SRC_FILES += \ 216 bindings/v8/custom/V8CustomXPathNSResolver.cpp 217 218# For XSLT. 219LOCAL_SRC_FILES += \ 220 bindings/v8/custom/V8XSLTProcessorCustom.cpp 221