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 BINDING_C_INCLUDES := \ 27 $(LOCAL_PATH)/bindings/js \ 28 $(LOCAL_PATH)/bindings/js/specialization \ 29 $(LOCAL_PATH)/bridge \ 30 $(LOCAL_PATH)/bridge/c \ 31 $(LOCAL_PATH)/bridge/jni \ 32 $(LOCAL_PATH)/bridge/jni/jsc \ 33 $(LOCAL_PATH)/bridge/jsc \ 34 \ 35 $(JAVASCRIPTCORE_PATH)/API \ 36 $(JAVASCRIPTCORE_PATH)/assembler \ 37 $(JAVASCRIPTCORE_PATH)/bytecode \ 38 $(JAVASCRIPTCORE_PATH)/bytecompiler \ 39 $(JAVASCRIPTCORE_PATH)/debugger \ 40 $(JAVASCRIPTCORE_PATH)/parser \ 41 $(JAVASCRIPTCORE_PATH)/jit \ 42 $(JAVASCRIPTCORE_PATH)/interpreter \ 43 $(JAVASCRIPTCORE_PATH)/profiler \ 44 $(JAVASCRIPTCORE_PATH)/runtime \ 45 $(JAVASCRIPTCORE_PATH)/yarr \ 46 $(JAVASCRIPTCORE_PATH)/ForwardingHeaders \ 47 \ 48 $(WEBCORE_INTERMEDIATES_PATH)/bindings/js \ 49 $(WEBCORE_INTERMEDIATES_PATH)/dom \ 50 $(WEBCORE_INTERMEDIATES_PATH)/fileapi \ 51 $(WEBCORE_INTERMEDIATES_PATH)/html/canvas \ 52 $(WEBCORE_INTERMEDIATES_PATH)/inspector \ 53 $(WEBCORE_INTERMEDIATES_PATH)/loader/appcache \ 54 $(WEBCORE_INTERMEDIATES_PATH)/page \ 55 $(WEBCORE_INTERMEDIATES_PATH)/plugins \ 56 $(WEBCORE_INTERMEDIATES_PATH)/storage \ 57 $(WEBCORE_INTERMEDIATES_PATH)/svg \ 58 $(WEBCORE_INTERMEDIATES_PATH)/webaudio \ 59 $(WEBCORE_INTERMEDIATES_PATH)/workers \ 60 $(WEBCORE_INTERMEDIATES_PATH)/xml 61 62 LOCAL_SRC_FILES += \ 63 bindings/js/CallbackFunction.cpp \ 64 bindings/js/DOMObjectHashTableMap.cpp \ 65 bindings/js/DOMWrapperWorld.cpp \ 66 bindings/js/GCController.cpp \ 67 bindings/js/IDBBindingUtilities.cpp \ 68 bindings/js/JSArrayBufferCustom.cpp \ 69 bindings/js/JSAttrCustom.cpp \ 70 bindings/js/JSAudioBufferSourceNodeCustom.cpp \ 71 bindings/js/JSAudioConstructor.cpp \ 72 bindings/js/JSCDATASectionCustom.cpp \ 73 bindings/js/JSCSSFontFaceRuleCustom.cpp \ 74 bindings/js/JSCSSImportRuleCustom.cpp \ 75 bindings/js/JSCSSMediaRuleCustom.cpp \ 76 bindings/js/JSCSSPageRuleCustom.cpp \ 77 bindings/js/JSCSSRuleCustom.cpp \ 78 bindings/js/JSCSSRuleListCustom.cpp \ 79 bindings/js/JSCSSStyleDeclarationCustom.cpp \ 80 bindings/js/JSCSSStyleRuleCustom.cpp \ 81 bindings/js/JSCSSValueCustom.cpp \ 82 bindings/js/JSCallbackData.cpp \ 83 bindings/js/JSCanvasRenderingContext2DCustom.cpp \ 84 bindings/js/JSCanvasRenderingContextCustom.cpp \ 85 bindings/js/JSClipboardCustom.cpp \ 86 bindings/js/JSConsoleCustom.cpp \ 87 bindings/js/JSConvolverNodeCustom.cpp \ 88 bindings/js/JSCoordinatesCustom.cpp \ 89 bindings/js/JSCustomApplicationInstalledCallback.cpp \ 90 bindings/js/JSCustomPositionCallback.cpp \ 91 bindings/js/JSCustomPositionErrorCallback.cpp \ 92 bindings/js/JSCustomSQLStatementErrorCallback.cpp \ 93 bindings/js/JSCustomVoidCallback.cpp \ 94 bindings/js/JSDOMApplicationCacheCustom.cpp \ 95 bindings/js/JSDOMBinding.cpp \ 96 bindings/js/JSDOMFormDataCustom.cpp \ 97 bindings/js/JSDOMGlobalObject.cpp \ 98 bindings/js/JSDOMImplementationCustom.cpp \ 99 bindings/js/JSDOMMimeTypeArrayCustom.cpp \ 100 bindings/js/JSDOMPluginArrayCustom.cpp \ 101 bindings/js/JSDOMPluginCustom.cpp \ 102 bindings/js/JSDOMStringMapCustom.cpp \ 103 bindings/js/JSDOMWindowBase.cpp \ 104 bindings/js/JSDOMWindowCustom.cpp \ 105 bindings/js/JSDOMWindowShell.cpp \ 106 bindings/js/JSDOMWrapper.cpp \ 107 bindings/js/JSDataGridColumnListCustom.cpp \ 108 bindings/js/JSDataGridDataSource.cpp \ 109 bindings/js/JSDataViewCustom.cpp \ 110 bindings/js/JSDedicatedWorkerContextCustom.cpp \ 111 bindings/js/JSDesktopNotificationsCustom.cpp \ 112 bindings/js/JSDeviceMotionEventCustom.cpp \ 113 bindings/js/JSDeviceOrientationEventCustom.cpp \ 114 bindings/js/JSDirectoryEntrySyncCustom.cpp \ 115 bindings/js/JSDocumentCustom.cpp \ 116 bindings/js/JSElementCustom.cpp \ 117 bindings/js/JSEntrySyncCustom.cpp \ 118 bindings/js/JSErrorHandler.cpp \ 119 bindings/js/JSEventCustom.cpp \ 120 bindings/js/JSEventListener.cpp \ 121 bindings/js/JSEventTarget.cpp \ 122 bindings/js/JSExceptionBase.cpp \ 123 bindings/js/JSFloat32ArrayCustom.cpp \ 124 bindings/js/JSFileReaderCustom.cpp \ 125 bindings/js/JSGeolocationCustom.cpp \ 126 bindings/js/JSHTMLAllCollectionCustom.cpp \ 127 bindings/js/JSHTMLAppletElementCustom.cpp \ 128 bindings/js/JSHTMLCanvasElementCustom.cpp \ 129 bindings/js/JSHTMLCollectionCustom.cpp \ 130 bindings/js/JSHTMLDataGridElementCustom.cpp \ 131 bindings/js/JSHTMLDocumentCustom.cpp \ 132 bindings/js/JSHTMLElementCustom.cpp \ 133 bindings/js/JSHTMLEmbedElementCustom.cpp \ 134 bindings/js/JSHTMLFormElementCustom.cpp \ 135 bindings/js/JSHTMLFrameElementCustom.cpp \ 136 bindings/js/JSHTMLFrameSetElementCustom.cpp \ 137 bindings/js/JSHTMLInputElementCustom.cpp \ 138 bindings/js/JSHTMLLinkElementCustom.cpp \ 139 bindings/js/JSHTMLObjectElementCustom.cpp \ 140 bindings/js/JSHTMLOptionsCollectionCustom.cpp \ 141 bindings/js/JSHTMLOutputElementCustom.cpp \ 142 bindings/js/JSHTMLSelectElementCustom.cpp \ 143 bindings/js/JSHTMLStyleElementCustom.cpp \ 144 bindings/js/JSHistoryCustom.cpp \ 145 bindings/js/JSIDBAnyCustom.cpp \ 146 bindings/js/JSIDBKeyCustom.cpp \ 147 bindings/js/JSImageConstructor.cpp \ 148 bindings/js/JSImageDataCustom.cpp \ 149 bindings/js/JSInt16ArrayCustom.cpp \ 150 bindings/js/JSInt32ArrayCustom.cpp \ 151 bindings/js/JSInt8ArrayCustom.cpp \ 152 bindings/js/JSJavaScriptAudioNodeCustom.cpp \ 153 bindings/js/JSLazyEventListener.cpp \ 154 bindings/js/JSLocationCustom.cpp \ 155 bindings/js/JSMainThreadExecState.cpp \ 156 bindings/js/JSMemoryInfoCustom.cpp \ 157 bindings/js/JSMessageChannelCustom.cpp \ 158 bindings/js/JSMessageEventCustom.cpp \ 159 bindings/js/JSMessagePortCustom.cpp \ 160 bindings/js/JSNamedNodeMapCustom.cpp \ 161 bindings/js/JSNavigatorCustom.cpp \ 162 bindings/js/JSNodeCustom.cpp \ 163 bindings/js/JSNodeFilterCondition.cpp \ 164 bindings/js/JSNodeFilterCustom.cpp \ 165 bindings/js/JSNodeIteratorCustom.cpp \ 166 bindings/js/JSNodeListCustom.cpp \ 167 bindings/js/JSOptionConstructor.cpp \ 168 bindings/js/JSPluginElementFunctions.cpp \ 169 bindings/js/JSProcessingInstructionCustom.cpp \ 170 bindings/js/JSSQLResultSetRowListCustom.cpp \ 171 bindings/js/JSSQLTransactionCustom.cpp \ 172 bindings/js/JSSQLTransactionSyncCustom.cpp \ 173 bindings/js/JSSVGElementInstanceCustom.cpp \ 174 bindings/js/JSSVGLengthCustom.cpp \ 175 bindings/js/JSSVGPathSegCustom.cpp \ 176 bindings/js/JSSharedWorkerCustom.cpp \ 177 bindings/js/JSStorageCustom.cpp \ 178 bindings/js/JSStyleSheetCustom.cpp \ 179 bindings/js/JSStyleSheetListCustom.cpp \ 180 bindings/js/JSTextCustom.cpp \ 181 bindings/js/JSTouchCustom.cpp \ 182 bindings/js/JSTouchListCustom.cpp \ 183 bindings/js/JSTreeWalkerCustom.cpp \ 184 bindings/js/JSUint16ArrayCustom.cpp \ 185 bindings/js/JSUint32ArrayCustom.cpp \ 186 bindings/js/JSUint8ArrayCustom.cpp \ 187 bindings/js/JSWebKitAnimationCustom.cpp \ 188 bindings/js/JSWebKitAnimationListCustom.cpp \ 189 bindings/js/JSWebKitCSSKeyframeRuleCustom.cpp \ 190 bindings/js/JSWebKitCSSKeyframesRuleCustom.cpp \ 191 bindings/js/JSWebKitCSSMatrixCustom.cpp \ 192 bindings/js/JSWebKitPointCustom.cpp \ 193 bindings/js/JSWorkerContextBase.cpp \ 194 bindings/js/JSWorkerContextCustom.cpp \ 195 bindings/js/JSWorkerCustom.cpp \ 196 bindings/js/JSXMLHttpRequestCustom.cpp \ 197 bindings/js/JSXMLHttpRequestUploadCustom.cpp \ 198 bindings/js/JSXSLTProcessorCustom.cpp \ 199 bindings/js/ScheduledAction.cpp \ 200 bindings/js/ScriptCachedFrameData.cpp \ 201 bindings/js/ScriptCallStackFactory.cpp \ 202 bindings/js/ScriptController.cpp \ 203 bindings/js/ScriptControllerAndroid.cpp \ 204 bindings/js/ScriptEventListener.cpp \ 205 bindings/js/ScriptFunctionCall.cpp \ 206 bindings/js/ScriptObject.cpp \ 207 bindings/js/ScriptProfile.cpp \ 208 bindings/js/ScriptState.cpp \ 209 bindings/js/ScriptValue.cpp \ 210 bindings/js/SerializedScriptValue.cpp \ 211 bindings/js/WorkerScriptController.cpp \ 212 \ 213 bindings/ScriptControllerBase.cpp \ 214 \ 215 bridge/IdentifierRep.cpp \ 216 bridge/NP_jsobject.cpp \ 217 bridge/c/CRuntimeObject.cpp \ 218 bridge/c/c_class.cpp \ 219 bridge/c/c_instance.cpp \ 220 bridge/c/c_runtime.cpp \ 221 bridge/c/c_utility.cpp \ 222 bridge/jni/JNIUtility.cpp \ 223 bridge/jni/JavaMethodJobject.cpp \ 224 bridge/jni/JobjectWrapper.cpp \ 225 bridge/jni/jsc/JNIUtilityPrivate.cpp \ 226 bridge/jni/jsc/JavaArrayJSC.cpp \ 227 bridge/jni/jsc/JavaClassJSC.cpp \ 228 bridge/jni/jsc/JavaFieldJSC.cpp \ 229 bridge/jni/jsc/JavaInstanceJSC.cpp \ 230 bridge/jni/jsc/JavaRuntimeObject.cpp \ 231 bridge/jsc/BridgeJSC.cpp \ 232 bridge/npruntime.cpp \ 233 bridge/runtime_array.cpp \ 234 bridge/runtime_method.cpp \ 235 bridge/runtime_object.cpp \ 236 bridge/runtime_root.cpp 237 238 # For XPath. 239 LOCAL_SRC_FILES += \ 240 bindings/js/JSCustomXPathNSResolver.cpp 241