1# 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 16GYP_GENERATED_OUTPUTS := 17 18# Make sure our deps and generated files are built first. 19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21LOCAL_GENERATED_SOURCES := 22 23GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25LOCAL_SRC_FILES := \ 26 third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp \ 27 third_party/WebKit/Source/core/dom/AddConsoleMessageTask.cpp \ 28 third_party/WebKit/Source/core/dom/Attr.cpp \ 29 third_party/WebKit/Source/core/dom/CDATASection.cpp \ 30 third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp \ 31 third_party/WebKit/Source/core/dom/CharacterData.cpp \ 32 third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp \ 33 third_party/WebKit/Source/core/dom/ChildNodeList.cpp \ 34 third_party/WebKit/Source/core/dom/ClassNodeList.cpp \ 35 third_party/WebKit/Source/core/dom/ClientRect.cpp \ 36 third_party/WebKit/Source/core/dom/ClientRectList.cpp \ 37 third_party/WebKit/Source/core/dom/Clipboard.cpp \ 38 third_party/WebKit/Source/core/dom/Comment.cpp \ 39 third_party/WebKit/Source/core/dom/ContainerNode.cpp \ 40 third_party/WebKit/Source/core/dom/ContainerNodeAlgorithms.cpp \ 41 third_party/WebKit/Source/core/dom/ContextFeatures.cpp \ 42 third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp \ 43 third_party/WebKit/Source/core/dom/ContextLifecycleObserver.cpp \ 44 third_party/WebKit/Source/core/dom/DatasetDOMStringMap.cpp \ 45 third_party/WebKit/Source/core/dom/DataTransferItem.cpp \ 46 third_party/WebKit/Source/core/dom/DataTransferItemList.cpp \ 47 third_party/WebKit/Source/core/dom/DecodedDataDocumentParser.cpp \ 48 third_party/WebKit/Source/core/dom/Document.cpp \ 49 third_party/WebKit/Source/core/dom/DocumentFragment.cpp \ 50 third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp \ 51 third_party/WebKit/Source/core/dom/DocumentInit.cpp \ 52 third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp \ 53 third_party/WebKit/Source/core/dom/DocumentLifecycleNotifier.cpp \ 54 third_party/WebKit/Source/core/dom/DocumentLifecycleObserver.cpp \ 55 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \ 56 third_party/WebKit/Source/core/dom/DocumentMarkerController.cpp \ 57 third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp \ 58 third_party/WebKit/Source/core/dom/DocumentOrderedMap.cpp \ 59 third_party/WebKit/Source/core/dom/DocumentParser.cpp \ 60 third_party/WebKit/Source/core/dom/DocumentSharedObjectPool.cpp \ 61 third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp \ 62 third_party/WebKit/Source/core/dom/DocumentType.cpp \ 63 third_party/WebKit/Source/core/dom/DOMError.cpp \ 64 third_party/WebKit/Source/core/dom/DOMException.cpp \ 65 third_party/WebKit/Source/core/dom/DOMImplementation.cpp \ 66 third_party/WebKit/Source/core/dom/DOMNamedFlowCollection.cpp \ 67 third_party/WebKit/Source/core/dom/DOMSettableTokenList.cpp \ 68 third_party/WebKit/Source/core/dom/DOMStringList.cpp \ 69 third_party/WebKit/Source/core/dom/DOMStringMap.cpp \ 70 third_party/WebKit/Source/core/dom/DOMTokenList.cpp \ 71 third_party/WebKit/Source/core/dom/DOMURL.cpp \ 72 third_party/WebKit/Source/core/dom/DOMURLUtils.cpp \ 73 third_party/WebKit/Source/core/dom/DOMURLUtilsReadOnly.cpp \ 74 third_party/WebKit/Source/core/dom/Element.cpp \ 75 third_party/WebKit/Source/core/dom/ElementData.cpp \ 76 third_party/WebKit/Source/core/dom/ElementRareData.cpp \ 77 third_party/WebKit/Source/core/dom/ExecutionContextTask.cpp \ 78 third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp \ 79 third_party/WebKit/Source/core/dom/FullscreenElementStack.cpp \ 80 third_party/WebKit/Source/core/dom/IconURL.cpp \ 81 third_party/WebKit/Source/core/dom/IdTargetObserver.cpp \ 82 third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp \ 83 third_party/WebKit/Source/core/dom/LiveNodeList.cpp \ 84 third_party/WebKit/Source/core/dom/MessageChannel.cpp \ 85 third_party/WebKit/Source/core/dom/MessagePort.cpp \ 86 third_party/WebKit/Source/core/dom/Microtask.cpp \ 87 third_party/WebKit/Source/core/dom/MutationObserver.cpp \ 88 third_party/WebKit/Source/core/dom/MutationObserverInterestGroup.cpp \ 89 third_party/WebKit/Source/core/dom/MutationObserverRegistration.cpp \ 90 third_party/WebKit/Source/core/dom/MutationRecord.cpp \ 91 third_party/WebKit/Source/core/dom/NamedFlow.cpp \ 92 third_party/WebKit/Source/core/dom/NamedFlowCollection.cpp \ 93 third_party/WebKit/Source/core/dom/NamedNodeMap.cpp \ 94 third_party/WebKit/Source/core/dom/NamedNodesCollection.cpp \ 95 third_party/WebKit/Source/core/dom/NameNodeList.cpp \ 96 third_party/WebKit/Source/core/dom/Node.cpp \ 97 third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.cpp \ 98 third_party/WebKit/Source/core/dom/NodeFilter.cpp \ 99 third_party/WebKit/Source/core/dom/NodeFilterCondition.cpp \ 100 third_party/WebKit/Source/core/dom/NodeIterator.cpp \ 101 third_party/WebKit/Source/core/dom/NodeList.cpp \ 102 third_party/WebKit/Source/core/dom/NodeRareData.cpp \ 103 third_party/WebKit/Source/core/dom/NodeRenderingContext.cpp \ 104 third_party/WebKit/Source/core/dom/NodeRenderingTraversal.cpp \ 105 third_party/WebKit/Source/core/dom/NodeTraversal.cpp \ 106 third_party/WebKit/Source/core/dom/PendingScript.cpp \ 107 third_party/WebKit/Source/core/dom/Position.cpp \ 108 third_party/WebKit/Source/core/dom/PositionIterator.cpp \ 109 third_party/WebKit/Source/core/dom/PostAttachCallbacks.cpp \ 110 third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp \ 111 third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp \ 112 third_party/WebKit/Source/core/dom/PseudoElement.cpp \ 113 third_party/WebKit/Source/core/dom/QualifiedName.cpp \ 114 third_party/WebKit/Source/core/dom/Range.cpp \ 115 third_party/WebKit/Source/core/dom/SandboxFlags.cpp \ 116 third_party/WebKit/Source/core/dom/ScriptableDocumentParser.cpp \ 117 third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp \ 118 third_party/WebKit/Source/core/dom/ExecutionContext.cpp \ 119 third_party/WebKit/Source/core/dom/ScriptLoader.cpp \ 120 third_party/WebKit/Source/core/dom/ScriptRunner.cpp \ 121 third_party/WebKit/Source/core/dom/SecurityContext.cpp \ 122 third_party/WebKit/Source/core/dom/SelectorQuery.cpp \ 123 third_party/WebKit/Source/core/dom/custom/CustomElement.cpp \ 124 third_party/WebKit/Source/core/dom/custom/CustomElementBaseElementQueue.cpp \ 125 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackDispatcher.cpp \ 126 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackInvocation.cpp \ 127 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackQueue.cpp \ 128 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackScheduler.cpp \ 129 third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp \ 130 third_party/WebKit/Source/core/dom/custom/CustomElementException.cpp \ 131 third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp \ 132 third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.cpp \ 133 third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp \ 134 third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp \ 135 third_party/WebKit/Source/core/dom/shadow/ComposedTreeWalker.cpp \ 136 third_party/WebKit/Source/core/dom/shadow/ContentDistribution.cpp \ 137 third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp \ 138 third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp \ 139 third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp \ 140 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp \ 141 third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp \ 142 third_party/WebKit/Source/core/dom/SpaceSplitString.cpp \ 143 third_party/WebKit/Source/core/dom/StaticNodeList.cpp \ 144 third_party/WebKit/Source/core/dom/StringCallback.cpp \ 145 third_party/WebKit/Source/core/dom/StyleElement.cpp \ 146 third_party/WebKit/Source/core/dom/StyleEngine.cpp \ 147 third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp \ 148 third_party/WebKit/Source/core/dom/StyleSheetScopingNodeList.cpp \ 149 third_party/WebKit/Source/core/dom/TagNodeList.cpp \ 150 third_party/WebKit/Source/core/dom/Text.cpp \ 151 third_party/WebKit/Source/core/dom/TextLinkColors.cpp \ 152 third_party/WebKit/Source/core/dom/Touch.cpp \ 153 third_party/WebKit/Source/core/dom/TouchList.cpp \ 154 third_party/WebKit/Source/core/dom/TransformSourceLibxslt.cpp \ 155 third_party/WebKit/Source/core/dom/Traversal.cpp \ 156 third_party/WebKit/Source/core/dom/TreeScope.cpp \ 157 third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp \ 158 third_party/WebKit/Source/core/dom/TreeWalker.cpp \ 159 third_party/WebKit/Source/core/dom/UserActionElementSet.cpp \ 160 third_party/WebKit/Source/core/dom/ViewportDescription.cpp \ 161 third_party/WebKit/Source/core/dom/VisitedLinkState.cpp \ 162 third_party/WebKit/Source/core/dom/WheelController.cpp \ 163 third_party/WebKit/Source/core/events/BeforeTextInsertedEvent.cpp \ 164 third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp \ 165 third_party/WebKit/Source/core/events/ClipboardEvent.cpp \ 166 third_party/WebKit/Source/core/events/CompositionEvent.cpp \ 167 third_party/WebKit/Source/core/events/CustomEvent.cpp \ 168 third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp \ 169 third_party/WebKit/Source/core/events/ErrorEvent.cpp \ 170 third_party/WebKit/Source/core/events/Event.cpp \ 171 third_party/WebKit/Source/core/events/EventContext.cpp \ 172 third_party/WebKit/Source/core/events/EventDispatcher.cpp \ 173 third_party/WebKit/Source/core/events/EventDispatchMediator.cpp \ 174 third_party/WebKit/Source/core/events/EventListenerMap.cpp \ 175 third_party/WebKit/Source/core/events/EventPath.cpp \ 176 third_party/WebKit/Source/core/events/EventRetargeter.cpp \ 177 third_party/WebKit/Source/core/events/EventTarget.cpp \ 178 third_party/WebKit/Source/core/events/FocusEvent.cpp \ 179 third_party/WebKit/Source/core/events/GenericEventQueue.cpp \ 180 third_party/WebKit/Source/core/events/GestureEvent.cpp \ 181 third_party/WebKit/Source/core/events/KeyboardEvent.cpp \ 182 third_party/WebKit/Source/core/events/MessageEvent.cpp \ 183 third_party/WebKit/Source/core/events/MouseEvent.cpp \ 184 third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp \ 185 third_party/WebKit/Source/core/events/MutationEvent.cpp \ 186 third_party/WebKit/Source/core/events/NavigatorEvents.cpp \ 187 third_party/WebKit/Source/core/events/OverflowEvent.cpp \ 188 third_party/WebKit/Source/core/events/PageTransitionEvent.cpp \ 189 third_party/WebKit/Source/core/events/PopStateEvent.cpp \ 190 third_party/WebKit/Source/core/events/ProgressEvent.cpp \ 191 third_party/WebKit/Source/core/events/ResourceProgressEvent.cpp \ 192 third_party/WebKit/Source/core/events/ScopedEventQueue.cpp \ 193 third_party/WebKit/Source/core/events/TextEvent.cpp \ 194 third_party/WebKit/Source/core/events/TouchEvent.cpp \ 195 third_party/WebKit/Source/core/events/TransitionEvent.cpp \ 196 third_party/WebKit/Source/core/events/UIEvent.cpp \ 197 third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp \ 198 third_party/WebKit/Source/core/events/WebKitAnimationEvent.cpp \ 199 third_party/WebKit/Source/core/events/WheelEvent.cpp \ 200 third_party/WebKit/Source/core/events/WindowEventContext.cpp 201 202 203# Flags passed to both C and C++ files. 204MY_CFLAGS_Debug := \ 205 -fstack-protector \ 206 --param=ssp-buffer-size=4 \ 207 \ 208 -fno-exceptions \ 209 -fno-strict-aliasing \ 210 -Wall \ 211 -Wno-unused-parameter \ 212 -Wno-missing-field-initializers \ 213 -fvisibility=hidden \ 214 -pipe \ 215 -fPIC \ 216 -EL \ 217 -mhard-float \ 218 -ffunction-sections \ 219 -funwind-tables \ 220 -g \ 221 -fstack-protector \ 222 -fno-short-enums \ 223 -finline-limit=64 \ 224 -Wa,--noexecstack \ 225 -U_FORTIFY_SOURCE \ 226 -Wno-extra \ 227 -Wno-ignored-qualifiers \ 228 -Wno-type-limits \ 229 -Os \ 230 -g \ 231 -fomit-frame-pointer \ 232 -fdata-sections \ 233 -ffunction-sections 234 235MY_DEFS_Debug := \ 236 '-DV8_DEPRECATION_WARNINGS' \ 237 '-D_FILE_OFFSET_BITS=64' \ 238 '-DNO_TCMALLOC' \ 239 '-DDISABLE_NACL' \ 240 '-DCHROMIUM_BUILD' \ 241 '-DUSE_LIBJPEG_TURBO=1' \ 242 '-DUSE_PROPRIETARY_CODECS' \ 243 '-DENABLE_CONFIGURATION_POLICY' \ 244 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 245 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 246 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 247 '-DUSE_OPENSSL=1' \ 248 '-DENABLE_EGLIMAGE=1' \ 249 '-DCLD_VERSION=1' \ 250 '-DENABLE_PRINTING=1' \ 251 '-DENABLE_MANAGED_USERS=1' \ 252 '-DBLINK_IMPLEMENTATION=1' \ 253 '-DINSIDE_BLINK' \ 254 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 255 '-DENABLE_SVG_FONTS=1' \ 256 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 257 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 258 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 259 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 260 '-DENABLE_INPUT_SPEECH=0' \ 261 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 262 '-DENABLE_MEDIA_CAPTURE=1' \ 263 '-DENABLE_ORIENTATION_EVENTS=1' \ 264 '-DENABLE_TOUCH_ICON_LOADING=1' \ 265 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 266 '-DENABLE_OPENTYPE_VERTICAL=1' \ 267 '-DU_USING_ICU_NAMESPACE=0' \ 268 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 269 '-DCHROME_PNG_WRITE_SUPPORT' \ 270 '-DPNG_USER_CONFIG' \ 271 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 272 '-DLIBXML_STATIC' \ 273 '-DLIBXSLT_STATIC' \ 274 '-D__STDC_CONSTANT_MACROS' \ 275 '-D__STDC_FORMAT_MACROS' \ 276 '-DANDROID' \ 277 '-D__GNU_SOURCE=1' \ 278 '-DUSE_STLPORT=1' \ 279 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 280 '-DCHROME_BUILD_ID=""' \ 281 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 282 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 283 '-D_DEBUG' 284 285 286# Include paths placed before CFLAGS/CPPFLAGS 287LOCAL_C_INCLUDES_Debug := \ 288 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 289 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 290 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 291 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 292 $(LOCAL_PATH)/third_party/WebKit/Source \ 293 $(LOCAL_PATH) \ 294 $(LOCAL_PATH)/skia/config \ 295 $(LOCAL_PATH)/third_party/khronos \ 296 $(LOCAL_PATH)/gpu \ 297 $(LOCAL_PATH)/third_party/WebKit \ 298 $(gyp_shared_intermediate_dir)/blink \ 299 $(gyp_shared_intermediate_dir)/blink/bindings \ 300 $(LOCAL_PATH)/third_party/angle/include \ 301 $(PWD)/external/icu4c/common \ 302 $(PWD)/external/icu4c/i18n \ 303 $(PWD)/external/skia/include \ 304 $(PWD)/external/skia/include/core \ 305 $(LOCAL_PATH)/third_party/skia/src/core \ 306 $(LOCAL_PATH)/skia/ext \ 307 $(LOCAL_PATH)/third_party/iccjpeg \ 308 $(LOCAL_PATH)/third_party/libpng \ 309 $(LOCAL_PATH)/third_party/libwebp \ 310 $(LOCAL_PATH)/third_party/libxml/linux/include \ 311 $(LOCAL_PATH)/third_party/libxml/src/include \ 312 $(LOCAL_PATH)/third_party/libxslt \ 313 $(LOCAL_PATH)/third_party/npapi \ 314 $(LOCAL_PATH)/third_party/npapi/bindings \ 315 $(LOCAL_PATH)/third_party/ots/include \ 316 $(LOCAL_PATH)/third_party/qcms/src \ 317 $(LOCAL_PATH)/third_party/sqlite \ 318 $(LOCAL_PATH)/third_party/zlib \ 319 $(LOCAL_PATH)/v8/include \ 320 $(PWD)/frameworks/wilhelm/include \ 321 $(PWD)/bionic \ 322 $(PWD)/external/stlport/stlport 323 324 325# Flags passed to only C++ (and not C) files. 326LOCAL_CPPFLAGS_Debug := \ 327 -fno-rtti \ 328 -fno-threadsafe-statics \ 329 -fvisibility-inlines-hidden \ 330 -Wsign-compare \ 331 -Wno-c++0x-compat \ 332 -Wno-uninitialized \ 333 -Wno-error=c++0x-compat \ 334 -Wno-non-virtual-dtor \ 335 -Wno-sign-promo 336 337 338# Flags passed to both C and C++ files. 339MY_CFLAGS_Release := \ 340 -fstack-protector \ 341 --param=ssp-buffer-size=4 \ 342 \ 343 -fno-exceptions \ 344 -fno-strict-aliasing \ 345 -Wall \ 346 -Wno-unused-parameter \ 347 -Wno-missing-field-initializers \ 348 -fvisibility=hidden \ 349 -pipe \ 350 -fPIC \ 351 -EL \ 352 -mhard-float \ 353 -ffunction-sections \ 354 -funwind-tables \ 355 -g \ 356 -fstack-protector \ 357 -fno-short-enums \ 358 -finline-limit=64 \ 359 -Wa,--noexecstack \ 360 -U_FORTIFY_SOURCE \ 361 -Wno-extra \ 362 -Wno-ignored-qualifiers \ 363 -Wno-type-limits \ 364 -Os \ 365 -fno-ident \ 366 -fdata-sections \ 367 -ffunction-sections \ 368 -fomit-frame-pointer 369 370MY_DEFS_Release := \ 371 '-DV8_DEPRECATION_WARNINGS' \ 372 '-D_FILE_OFFSET_BITS=64' \ 373 '-DNO_TCMALLOC' \ 374 '-DDISABLE_NACL' \ 375 '-DCHROMIUM_BUILD' \ 376 '-DUSE_LIBJPEG_TURBO=1' \ 377 '-DUSE_PROPRIETARY_CODECS' \ 378 '-DENABLE_CONFIGURATION_POLICY' \ 379 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 380 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 381 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 382 '-DUSE_OPENSSL=1' \ 383 '-DENABLE_EGLIMAGE=1' \ 384 '-DCLD_VERSION=1' \ 385 '-DENABLE_PRINTING=1' \ 386 '-DENABLE_MANAGED_USERS=1' \ 387 '-DBLINK_IMPLEMENTATION=1' \ 388 '-DINSIDE_BLINK' \ 389 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 390 '-DENABLE_SVG_FONTS=1' \ 391 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 392 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 393 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 394 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 395 '-DENABLE_INPUT_SPEECH=0' \ 396 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 397 '-DENABLE_MEDIA_CAPTURE=1' \ 398 '-DENABLE_ORIENTATION_EVENTS=1' \ 399 '-DENABLE_TOUCH_ICON_LOADING=1' \ 400 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 401 '-DENABLE_OPENTYPE_VERTICAL=1' \ 402 '-DU_USING_ICU_NAMESPACE=0' \ 403 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 404 '-DCHROME_PNG_WRITE_SUPPORT' \ 405 '-DPNG_USER_CONFIG' \ 406 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 407 '-DLIBXML_STATIC' \ 408 '-DLIBXSLT_STATIC' \ 409 '-D__STDC_CONSTANT_MACROS' \ 410 '-D__STDC_FORMAT_MACROS' \ 411 '-DANDROID' \ 412 '-D__GNU_SOURCE=1' \ 413 '-DUSE_STLPORT=1' \ 414 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 415 '-DCHROME_BUILD_ID=""' \ 416 '-DNDEBUG' \ 417 '-DNVALGRIND' \ 418 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 419 '-D_FORTIFY_SOURCE=2' 420 421 422# Include paths placed before CFLAGS/CPPFLAGS 423LOCAL_C_INCLUDES_Release := \ 424 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 425 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 426 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 427 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 428 $(LOCAL_PATH)/third_party/WebKit/Source \ 429 $(LOCAL_PATH) \ 430 $(LOCAL_PATH)/skia/config \ 431 $(LOCAL_PATH)/third_party/khronos \ 432 $(LOCAL_PATH)/gpu \ 433 $(LOCAL_PATH)/third_party/WebKit \ 434 $(gyp_shared_intermediate_dir)/blink \ 435 $(gyp_shared_intermediate_dir)/blink/bindings \ 436 $(LOCAL_PATH)/third_party/angle/include \ 437 $(PWD)/external/icu4c/common \ 438 $(PWD)/external/icu4c/i18n \ 439 $(PWD)/external/skia/include \ 440 $(PWD)/external/skia/include/core \ 441 $(LOCAL_PATH)/third_party/skia/src/core \ 442 $(LOCAL_PATH)/skia/ext \ 443 $(LOCAL_PATH)/third_party/iccjpeg \ 444 $(LOCAL_PATH)/third_party/libpng \ 445 $(LOCAL_PATH)/third_party/libwebp \ 446 $(LOCAL_PATH)/third_party/libxml/linux/include \ 447 $(LOCAL_PATH)/third_party/libxml/src/include \ 448 $(LOCAL_PATH)/third_party/libxslt \ 449 $(LOCAL_PATH)/third_party/npapi \ 450 $(LOCAL_PATH)/third_party/npapi/bindings \ 451 $(LOCAL_PATH)/third_party/ots/include \ 452 $(LOCAL_PATH)/third_party/qcms/src \ 453 $(LOCAL_PATH)/third_party/sqlite \ 454 $(LOCAL_PATH)/third_party/zlib \ 455 $(LOCAL_PATH)/v8/include \ 456 $(PWD)/frameworks/wilhelm/include \ 457 $(PWD)/bionic \ 458 $(PWD)/external/stlport/stlport 459 460 461# Flags passed to only C++ (and not C) files. 462LOCAL_CPPFLAGS_Release := \ 463 -fno-rtti \ 464 -fno-threadsafe-statics \ 465 -fvisibility-inlines-hidden \ 466 -Wsign-compare \ 467 -Wno-c++0x-compat \ 468 -Wno-uninitialized \ 469 -Wno-error=c++0x-compat \ 470 -Wno-non-virtual-dtor \ 471 -Wno-sign-promo 472 473 474LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 475LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 476LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 477### Rules for final target. 478 479LOCAL_LDFLAGS_Debug := \ 480 -Wl,-z,now \ 481 -Wl,-z,relro \ 482 -Wl,-z,noexecstack \ 483 -fPIC \ 484 -EL \ 485 -Wl,--no-keep-memory \ 486 -nostdlib \ 487 -Wl,--no-undefined \ 488 -Wl,--exclude-libs=ALL \ 489 -Wl,--fatal-warnings \ 490 -Wl,--gc-sections \ 491 -Wl,--warn-shared-textrel \ 492 -Wl,-O1 \ 493 -Wl,--as-needed 494 495 496LOCAL_LDFLAGS_Release := \ 497 -Wl,-z,now \ 498 -Wl,-z,relro \ 499 -Wl,-z,noexecstack \ 500 -fPIC \ 501 -EL \ 502 -Wl,--no-keep-memory \ 503 -nostdlib \ 504 -Wl,--no-undefined \ 505 -Wl,--exclude-libs=ALL \ 506 -Wl,-O1 \ 507 -Wl,--as-needed \ 508 -Wl,--gc-sections \ 509 -Wl,--fatal-warnings \ 510 -Wl,--warn-shared-textrel 511 512 513LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 514 515LOCAL_STATIC_LIBRARIES := 516 517# Enable grouping to fix circular references 518LOCAL_GROUP_STATIC_LIBRARIES := true 519 520LOCAL_SHARED_LIBRARIES := \ 521 libskia \ 522 libstlport \ 523 libdl 524 525# Add target alias to "gyp_all_modules" target. 526.PHONY: gyp_all_modules 527gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp 528 529# Alias gyp target name. 530.PHONY: webcore_dom 531webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp 532 533include $(BUILD_STATIC_LIBRARY) 534