blob: 3d7c2ebfe1744744d0e408902055b738b28121ef [file] [log] [blame]
Torne (Richard Coles)23042b72013-06-11 16:24:26 +01001# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := third_party_WebKit_Source_core_webcore_dom_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9gyp_intermediate_dir := $(call local-intermediates-dir)
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp)/webcore_prerequisites.stamp \
15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES := \
27 third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp \
28 third_party/WebKit/Source/core/dom/AnimationEvent.cpp \
29 third_party/WebKit/Source/core/dom/Attr.cpp \
30 third_party/WebKit/Source/core/dom/BeforeTextInsertedEvent.cpp \
31 third_party/WebKit/Source/core/dom/BeforeUnloadEvent.cpp \
32 third_party/WebKit/Source/core/dom/CDATASection.cpp \
33 third_party/WebKit/Source/core/dom/CharacterData.cpp \
34 third_party/WebKit/Source/core/dom/CheckedRadioButtons.cpp \
35 third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp \
36 third_party/WebKit/Source/core/dom/ChildNodeList.cpp \
37 third_party/WebKit/Source/core/dom/ClassNodeList.cpp \
38 third_party/WebKit/Source/core/dom/ClientRect.cpp \
39 third_party/WebKit/Source/core/dom/ClientRectList.cpp \
40 third_party/WebKit/Source/core/dom/Clipboard.cpp \
41 third_party/WebKit/Source/core/dom/ClipboardEvent.cpp \
42 third_party/WebKit/Source/core/dom/Comment.cpp \
43 third_party/WebKit/Source/core/dom/CompositionEvent.cpp \
44 third_party/WebKit/Source/core/dom/ContainerNode.cpp \
45 third_party/WebKit/Source/core/dom/ContainerNodeAlgorithms.cpp \
46 third_party/WebKit/Source/core/dom/ContextDestructionObserver.cpp \
47 third_party/WebKit/Source/core/dom/ContextFeatures.cpp \
48 third_party/WebKit/Source/core/dom/CustomElementConstructor.cpp \
49 third_party/WebKit/Source/core/dom/CustomElementDefinition.cpp \
50 third_party/WebKit/Source/core/dom/CustomElementRegistry.cpp \
51 third_party/WebKit/Source/core/dom/CustomElementUpgradeCandidateMap.cpp \
52 third_party/WebKit/Source/core/dom/CustomEvent.cpp \
53 third_party/WebKit/Source/core/dom/DOMCoreException.cpp \
54 third_party/WebKit/Source/core/dom/DOMError.cpp \
55 third_party/WebKit/Source/core/dom/DOMImplementation.cpp \
56 third_party/WebKit/Source/core/dom/DOMNamedFlowCollection.cpp \
57 third_party/WebKit/Source/core/dom/DOMStringList.cpp \
58 third_party/WebKit/Source/core/dom/DOMStringMap.cpp \
59 third_party/WebKit/Source/core/dom/DataTransferItem.cpp \
60 third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp \
61 third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp \
62 third_party/WebKit/Source/core/dom/DeviceOrientationController.cpp \
63 third_party/WebKit/Source/core/dom/DeviceOrientationData.cpp \
64 third_party/WebKit/Source/core/dom/DeviceOrientationEvent.cpp \
65 third_party/WebKit/Source/core/dom/Document.cpp \
66 third_party/WebKit/Source/core/dom/DocumentEventQueue.cpp \
67 third_party/WebKit/Source/core/dom/DocumentFragment.cpp \
68 third_party/WebKit/Source/core/dom/DocumentMarkerController.cpp \
69 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \
70 third_party/WebKit/Source/core/dom/DocumentOrderedMap.cpp \
71 third_party/WebKit/Source/core/dom/DocumentParser.cpp \
72 third_party/WebKit/Source/core/dom/DocumentSharedObjectPool.cpp \
73 third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp \
74 third_party/WebKit/Source/core/dom/DocumentType.cpp \
75 third_party/WebKit/Source/core/dom/Element.cpp \
76 third_party/WebKit/Source/core/dom/ElementRareData.cpp \
77 third_party/WebKit/Source/core/dom/ErrorEvent.cpp \
78 third_party/WebKit/Source/core/dom/Event.cpp \
79 third_party/WebKit/Source/core/dom/EventContext.cpp \
80 third_party/WebKit/Source/core/dom/EventDispatchMediator.cpp \
81 third_party/WebKit/Source/core/dom/EventDispatcher.cpp \
82 third_party/WebKit/Source/core/dom/EventRetargeter.cpp \
83 third_party/WebKit/Source/core/dom/EventException.cpp \
84 third_party/WebKit/Source/core/dom/EventListenerMap.cpp \
85 third_party/WebKit/Source/core/dom/EventNames.cpp \
86 third_party/WebKit/Source/core/dom/EventPathWalker.cpp \
87 third_party/WebKit/Source/core/dom/EventTarget.cpp \
88 third_party/WebKit/Source/core/dom/ExceptionBase.cpp \
89 third_party/WebKit/Source/core/dom/ExceptionCodePlaceholder.cpp \
90 third_party/WebKit/Source/core/dom/FocusEvent.cpp \
91 third_party/WebKit/Source/core/dom/GenericEventQueue.cpp \
92 third_party/WebKit/Source/core/dom/GestureEvent.cpp \
93 third_party/WebKit/Source/core/dom/IconURL.cpp \
94 third_party/WebKit/Source/core/dom/IdTargetObserver.cpp \
95 third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp \
96 third_party/WebKit/Source/core/dom/KeyboardEvent.cpp \
97 third_party/WebKit/Source/core/dom/LiveNodeList.cpp \
98 third_party/WebKit/Source/core/dom/MessageChannel.cpp \
99 third_party/WebKit/Source/core/dom/MessageEvent.cpp \
100 third_party/WebKit/Source/core/dom/MessagePort.cpp \
101 third_party/WebKit/Source/core/dom/MessagePortChannel.cpp \
102 third_party/WebKit/Source/core/dom/MouseEvent.cpp \
103 third_party/WebKit/Source/core/dom/MouseRelatedEvent.cpp \
104 third_party/WebKit/Source/core/dom/MutationEvent.cpp \
105 third_party/WebKit/Source/core/dom/MutationObserver.cpp \
106 third_party/WebKit/Source/core/dom/MutationObserverInterestGroup.cpp \
107 third_party/WebKit/Source/core/dom/MutationObserverRegistration.cpp \
108 third_party/WebKit/Source/core/dom/MutationRecord.cpp \
109 third_party/WebKit/Source/core/dom/NamedFlow.cpp \
110 third_party/WebKit/Source/core/dom/NamedFlowCollection.cpp \
111 third_party/WebKit/Source/core/dom/NameNodeList.cpp \
112 third_party/WebKit/Source/core/dom/NamedNodeMap.cpp \
113 third_party/WebKit/Source/core/dom/NamedNodesCollection.cpp \
114 third_party/WebKit/Source/core/dom/Node.cpp \
115 third_party/WebKit/Source/core/dom/NodeFilter.cpp \
116 third_party/WebKit/Source/core/dom/NodeFilterCondition.cpp \
117 third_party/WebKit/Source/core/dom/NodeIterator.cpp \
118 third_party/WebKit/Source/core/dom/NodeList.cpp \
119 third_party/WebKit/Source/core/dom/NodeRareData.cpp \
120 third_party/WebKit/Source/core/dom/NodeRenderingContext.cpp \
121 third_party/WebKit/Source/core/dom/NodeRenderingTraversal.cpp \
122 third_party/WebKit/Source/core/dom/NodeTraversal.cpp \
123 third_party/WebKit/Source/core/dom/Notation.cpp \
124 third_party/WebKit/Source/core/dom/OverflowEvent.cpp \
125 third_party/WebKit/Source/core/dom/PageTransitionEvent.cpp \
126 third_party/WebKit/Source/core/dom/PendingScript.cpp \
127 third_party/WebKit/Source/core/dom/PopStateEvent.cpp \
128 third_party/WebKit/Source/core/dom/Position.cpp \
129 third_party/WebKit/Source/core/dom/PositionIterator.cpp \
130 third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp \
131 third_party/WebKit/Source/core/dom/ProgressEvent.cpp \
132 third_party/WebKit/Source/core/dom/PseudoElement.cpp \
133 third_party/WebKit/Source/core/dom/QualifiedName.cpp \
134 third_party/WebKit/Source/core/dom/Range.cpp \
135 third_party/WebKit/Source/core/dom/RegisteredEventListener.cpp \
136 third_party/WebKit/Source/core/dom/ResourceProgressEvent.cpp \
137 third_party/WebKit/Source/core/dom/ScopedEventQueue.cpp \
138 third_party/WebKit/Source/core/dom/ScriptElement.cpp \
139 third_party/WebKit/Source/core/dom/ScriptExecutionContext.cpp \
140 third_party/WebKit/Source/core/dom/ScriptRunner.cpp \
141 third_party/WebKit/Source/core/dom/ScriptableDocumentParser.cpp \
142 third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp \
143 third_party/WebKit/Source/core/dom/SecurityContext.cpp \
144 third_party/WebKit/Source/core/dom/SelectorQuery.cpp \
145 third_party/WebKit/Source/core/dom/SpaceSplitString.cpp \
146 third_party/WebKit/Source/core/dom/StaticNodeList.cpp \
147 third_party/WebKit/Source/core/dom/StringCallback.cpp \
148 third_party/WebKit/Source/core/dom/StyleElement.cpp \
149 third_party/WebKit/Source/core/dom/StyledElement.cpp \
150 third_party/WebKit/Source/core/dom/TagNodeList.cpp \
151 third_party/WebKit/Source/core/dom/Text.cpp \
152 third_party/WebKit/Source/core/dom/TextEvent.cpp \
153 third_party/WebKit/Source/core/dom/Touch.cpp \
154 third_party/WebKit/Source/core/dom/TouchEvent.cpp \
155 third_party/WebKit/Source/core/dom/TouchList.cpp \
156 third_party/WebKit/Source/core/dom/TransformSourceLibxslt.cpp \
157 third_party/WebKit/Source/core/dom/TransitionEvent.cpp \
158 third_party/WebKit/Source/core/dom/Traversal.cpp \
159 third_party/WebKit/Source/core/dom/TreeScope.cpp \
160 third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp \
161 third_party/WebKit/Source/core/dom/TreeWalker.cpp \
162 third_party/WebKit/Source/core/dom/UIEvent.cpp \
163 third_party/WebKit/Source/core/dom/UIEventWithKeyState.cpp \
164 third_party/WebKit/Source/core/dom/UserActionElementSet.cpp \
165 third_party/WebKit/Source/core/dom/UserGestureIndicator.cpp \
166 third_party/WebKit/Source/core/dom/UserTypingGestureIndicator.cpp \
167 third_party/WebKit/Source/core/dom/ViewportArguments.cpp \
168 third_party/WebKit/Source/core/dom/VisitedLinkState.cpp \
169 third_party/WebKit/Source/core/dom/WebCoreMemoryInstrumentation.cpp \
170 third_party/WebKit/Source/core/dom/WheelEvent.cpp \
171 third_party/WebKit/Source/core/dom/WindowEventContext.cpp \
172 third_party/WebKit/Source/core/dom/default/chromium/PlatformMessagePortChannelChromium.cpp \
173 third_party/WebKit/Source/core/dom/shadow/ComposedShadowTreeWalker.cpp \
174 third_party/WebKit/Source/core/dom/shadow/ContentDistributor.cpp \
175 third_party/WebKit/Source/core/dom/shadow/ContentSelectorQuery.cpp \
176 third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp \
177 third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp \
178 third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp \
179 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
180
181
182# Flags passed to both C and C++ files.
183MY_CFLAGS := \
184 -fstack-protector \
185 --param=ssp-buffer-size=4 \
186 \
187 -fno-exceptions \
188 -fno-strict-aliasing \
189 -Wno-unused-parameter \
190 -Wno-missing-field-initializers \
191 -fvisibility=hidden \
192 -pipe \
193 -fPIC \
194 -Wno-format \
195 -EL \
196 -mhard-float \
197 -mips32r2 \
198 -Wa,-mips32r2 \
199 --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \
200 -ffunction-sections \
201 -funwind-tables \
202 -g \
203 -fstack-protector \
204 -fno-short-enums \
205 -finline-limit=64 \
206 -Wa,--noexecstack \
207 -U_FORTIFY_SOURCE \
208 -Wno-extra \
209 -Wno-ignored-qualifiers \
210 -Wno-type-limits \
211 -Wno-address \
212 -Wno-format-security \
213 -Wno-return-type \
214 -Wno-sequence-point \
215 -Os \
216 -g \
217 -fomit-frame-pointer \
218 -fdata-sections \
219 -ffunction-sections
220
221MY_CFLAGS_C :=
222
223MY_DEFS := \
224 '-D_FILE_OFFSET_BITS=64' \
225 '-DNO_TCMALLOC' \
226 '-DDISABLE_NACL' \
227 '-DCHROMIUM_BUILD' \
228 '-DUSE_LIBJPEG_TURBO=1' \
229 '-DUSE_PROPRIETARY_CODECS' \
230 '-DENABLE_GPU=1' \
231 '-DUSE_OPENSSL=1' \
232 '-DENABLE_EGLIMAGE=1' \
233 '-DENABLE_LANGUAGE_DETECTION=1' \
234 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \
235 '-DWEBKIT_IMPLEMENTATION=1' \
236 '-DENABLE_CANVAS_USES_MAILBOX=0' \
237 '-DENABLE_CSS3_TEXT=0' \
238 '-DENABLE_CSS_DEVICE_ADAPTATION=0' \
239 '-DENABLE_CSS_EXCLUSIONS=1' \
240 '-DENABLE_CSS_REGIONS=1' \
241 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
242 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \
243 '-DENABLE_GRAPHICS_CONTEXT_ANNOTATIONS=0' \
244 '-DENABLE_SVG_FONTS=1' \
245 '-DENABLE_TOUCH_ICON_LOADING=1' \
246 '-DENABLE_XHR_TIMEOUT=0' \
247 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
248 '-DENABLE_CALENDAR_PICKER=0' \
249 '-DENABLE_FAST_MOBILE_SCROLLING=1' \
250 '-DENABLE_INPUT_SPEECH=0' \
251 '-DENABLE_LEGACY_NOTIFICATIONS=0' \
252 '-DENABLE_MEDIA_CAPTURE=1' \
253 '-DENABLE_NOTIFICATIONS=0' \
254 '-DENABLE_ORIENTATION_EVENTS=1' \
255 '-DENABLE_PRINTING=0' \
256 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \
257 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \
258 '-DENABLE_8BIT_TEXTRUN=1' \
259 '-DENABLE_OPENTYPE_VERTICAL=1' \
260 '-DWTF_USE_HARFBUZZ=1' \
261 '-DU_USING_ICU_NAMESPACE=0' \
262 '-DSK_BUILD_NO_IMAGE_ENCODE' \
263 '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \
264 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
265 '-DGR_AGGRESSIVE_SHADER_OPTS=1' \
266 '-DSK_ENABLE_INST_COUNT=0' \
267 '-DSK_USE_POSIX_THREADS' \
268 '-DSK_BUILD_FOR_ANDROID' \
269 '-DCHROME_PNG_WRITE_SUPPORT' \
270 '-DPNG_USER_CONFIG' \
271 '-DLIBXML_STATIC' \
272 '-DLIBXSLT_STATIC' \
273 '-DUSE_SYSTEM_LIBJPEG' \
274 '-DANDROID' \
275 '-D__GNU_SOURCE=1' \
276 '-DUSE_STLPORT=1' \
277 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
278 '-DCHROME_BUILD_ID=""' \
279 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
280 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
281 '-D_DEBUG'
282
283LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
284
285# Include paths placed before CFLAGS/CPPFLAGS
286LOCAL_C_INCLUDES := \
287 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
288 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
289 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
290 $(LOCAL_PATH)/third_party/khronos \
291 $(LOCAL_PATH)/gpu \
292 $(LOCAL_PATH) \
293 $(LOCAL_PATH)/third_party/WebKit \
294 $(LOCAL_PATH)/third_party/WebKit/Source \
295 $(gyp_shared_intermediate_dir)/webkit \
296 $(gyp_shared_intermediate_dir)/webkit/bindings \
297 $(LOCAL_PATH)/third_party/angle/include/GLSLANG \
298 $(PWD)/external/icu4c/common \
299 $(PWD)/external/icu4c/i18n \
300 $(LOCAL_PATH)/skia/config \
301 $(LOCAL_PATH)/third_party/skia/src/core \
302 $(LOCAL_PATH)/third_party/skia/include/config \
303 $(LOCAL_PATH)/third_party/skia/include/core \
304 $(LOCAL_PATH)/third_party/skia/include/effects \
305 $(LOCAL_PATH)/third_party/skia/include/pdf \
306 $(LOCAL_PATH)/third_party/skia/include/gpu \
307 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \
308 $(LOCAL_PATH)/third_party/skia/include/pathops \
309 $(LOCAL_PATH)/third_party/skia/include/pipe \
310 $(LOCAL_PATH)/third_party/skia/include/ports \
311 $(LOCAL_PATH)/third_party/skia/include/utils \
312 $(LOCAL_PATH)/skia/ext \
313 $(LOCAL_PATH)/third_party/iccjpeg \
314 $(LOCAL_PATH)/third_party/libwebp \
315 $(LOCAL_PATH)/third_party/libpng \
316 $(LOCAL_PATH)/third_party/libxml/linux/include \
317 $(LOCAL_PATH)/third_party/libxml/src/include \
318 $(LOCAL_PATH)/third_party/libxslt \
319 $(LOCAL_PATH)/third_party/npapi \
320 $(LOCAL_PATH)/third_party/npapi/bindings \
321 $(LOCAL_PATH)/third_party/ots/include \
322 $(LOCAL_PATH)/third_party/qcms/src \
323 $(LOCAL_PATH)/third_party/sqlite \
324 $(LOCAL_PATH)/third_party/zlib \
325 $(LOCAL_PATH)/v8/include \
326 $(PWD)/external/jpeg \
327 $(PWD)/frameworks/wilhelm/include \
328 $(PWD)/bionic \
329 $(PWD)/external/stlport/stlport
330
331LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES)
332
333# Flags passed to only C++ (and not C) files.
334LOCAL_CPPFLAGS := \
335 -fno-rtti \
336 -fno-threadsafe-statics \
337 -fvisibility-inlines-hidden \
338 -Wno-c++0x-compat \
339 -Wno-deprecated \
340 -Wno-uninitialized \
341 -Wno-error=c++0x-compat \
342 -Wno-non-virtual-dtor \
343 -Wno-sign-promo \
344 -Wno-non-virtual-dtor
345
346### Rules for final target.
347
348LOCAL_LDFLAGS := \
349 -Wl,-z,now \
350 -Wl,-z,relro \
351 -Wl,-z,noexecstack \
352 -fPIC \
353 -EL \
354 -Wl,--no-keep-memory \
355 --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \
356 \
357 -nostdlib \
358 -Wl,--no-undefined \
359 -Wl,--exclude-libs=ALL \
360 -Wl,--gc-sections \
361 -Wl,-O1 \
362 -Wl,--as-needed
363
364
365LOCAL_STATIC_LIBRARIES := \
366 skia_skia_gyp
367
368# Enable grouping to fix circular references
369LOCAL_GROUP_STATIC_LIBRARIES := true
370
371LOCAL_SHARED_LIBRARIES := \
372 libstlport \
373 libdl
374
375# Add target alias to "gyp_all_modules" target.
376.PHONY: gyp_all_modules
377gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp
378
379# Alias gyp target name.
380.PHONY: webcore_dom
381webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp
382
383include $(BUILD_STATIC_LIBRARY)