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 --param=ssp-buffer-size=4 \ 206 -Werror \ 207 -fno-exceptions \ 208 -fno-strict-aliasing \ 209 -Wall \ 210 -Wno-unused-parameter \ 211 -Wno-missing-field-initializers \ 212 -fvisibility=hidden \ 213 -pipe \ 214 -fPIC \ 215 -m32 \ 216 -mmmx \ 217 -march=pentium4 \ 218 -msse2 \ 219 -mfpmath=sse \ 220 -fuse-ld=gold \ 221 -ffunction-sections \ 222 -funwind-tables \ 223 -g \ 224 -fno-short-enums \ 225 -finline-limit=64 \ 226 -Wa,--noexecstack \ 227 -U_FORTIFY_SOURCE \ 228 -Wno-extra \ 229 -Wno-ignored-qualifiers \ 230 -Wno-type-limits \ 231 -fno-stack-protector \ 232 -Os \ 233 -g \ 234 -fomit-frame-pointer \ 235 -fdata-sections \ 236 -ffunction-sections 237 238MY_DEFS_Debug := \ 239 '-DV8_DEPRECATION_WARNINGS' \ 240 '-D_FILE_OFFSET_BITS=64' \ 241 '-DNO_TCMALLOC' \ 242 '-DDISABLE_NACL' \ 243 '-DCHROMIUM_BUILD' \ 244 '-DUSE_LIBJPEG_TURBO=1' \ 245 '-DUSE_PROPRIETARY_CODECS' \ 246 '-DENABLE_CONFIGURATION_POLICY' \ 247 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 248 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 249 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 250 '-DUSE_OPENSSL=1' \ 251 '-DENABLE_EGLIMAGE=1' \ 252 '-DCLD_VERSION=1' \ 253 '-DENABLE_PRINTING=1' \ 254 '-DENABLE_MANAGED_USERS=1' \ 255 '-DBLINK_IMPLEMENTATION=1' \ 256 '-DINSIDE_BLINK' \ 257 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 258 '-DENABLE_SVG_FONTS=1' \ 259 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 260 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 261 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 262 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 263 '-DENABLE_INPUT_SPEECH=0' \ 264 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 265 '-DENABLE_MEDIA_CAPTURE=1' \ 266 '-DENABLE_ORIENTATION_EVENTS=1' \ 267 '-DENABLE_TOUCH_ICON_LOADING=1' \ 268 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 269 '-DENABLE_OPENTYPE_VERTICAL=1' \ 270 '-DU_USING_ICU_NAMESPACE=0' \ 271 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 272 '-DCHROME_PNG_WRITE_SUPPORT' \ 273 '-DPNG_USER_CONFIG' \ 274 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 275 '-DLIBXML_STATIC' \ 276 '-DLIBXSLT_STATIC' \ 277 '-D__STDC_CONSTANT_MACROS' \ 278 '-D__STDC_FORMAT_MACROS' \ 279 '-DANDROID' \ 280 '-D__GNU_SOURCE=1' \ 281 '-DUSE_STLPORT=1' \ 282 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 283 '-DCHROME_BUILD_ID=""' \ 284 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 285 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 286 '-D_DEBUG' 287 288 289# Include paths placed before CFLAGS/CPPFLAGS 290LOCAL_C_INCLUDES_Debug := \ 291 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 292 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 293 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 294 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 295 $(LOCAL_PATH)/third_party/WebKit/Source \ 296 $(LOCAL_PATH) \ 297 $(LOCAL_PATH)/skia/config \ 298 $(LOCAL_PATH)/third_party/khronos \ 299 $(LOCAL_PATH)/gpu \ 300 $(LOCAL_PATH)/third_party/WebKit \ 301 $(gyp_shared_intermediate_dir)/blink \ 302 $(gyp_shared_intermediate_dir)/blink/bindings \ 303 $(LOCAL_PATH)/third_party/angle/include \ 304 $(PWD)/external/icu4c/common \ 305 $(PWD)/external/icu4c/i18n \ 306 $(PWD)/external/skia/include \ 307 $(PWD)/external/skia/include/core \ 308 $(LOCAL_PATH)/third_party/skia/src/core \ 309 $(LOCAL_PATH)/skia/ext \ 310 $(LOCAL_PATH)/third_party/iccjpeg \ 311 $(LOCAL_PATH)/third_party/libpng \ 312 $(LOCAL_PATH)/third_party/libwebp \ 313 $(LOCAL_PATH)/third_party/libxml/linux/include \ 314 $(LOCAL_PATH)/third_party/libxml/src/include \ 315 $(LOCAL_PATH)/third_party/libxslt \ 316 $(LOCAL_PATH)/third_party/npapi \ 317 $(LOCAL_PATH)/third_party/npapi/bindings \ 318 $(LOCAL_PATH)/third_party/ots/include \ 319 $(LOCAL_PATH)/third_party/qcms/src \ 320 $(LOCAL_PATH)/third_party/sqlite \ 321 $(LOCAL_PATH)/third_party/zlib \ 322 $(LOCAL_PATH)/v8/include \ 323 $(PWD)/frameworks/wilhelm/include \ 324 $(PWD)/bionic \ 325 $(PWD)/external/stlport/stlport 326 327 328# Flags passed to only C++ (and not C) files. 329LOCAL_CPPFLAGS_Debug := \ 330 -fno-rtti \ 331 -fno-threadsafe-statics \ 332 -fvisibility-inlines-hidden \ 333 -Wsign-compare \ 334 -Wno-c++0x-compat \ 335 -Wno-error=c++0x-compat \ 336 -Wno-non-virtual-dtor \ 337 -Wno-sign-promo 338 339 340# Flags passed to both C and C++ files. 341MY_CFLAGS_Release := \ 342 --param=ssp-buffer-size=4 \ 343 -Werror \ 344 -fno-exceptions \ 345 -fno-strict-aliasing \ 346 -Wall \ 347 -Wno-unused-parameter \ 348 -Wno-missing-field-initializers \ 349 -fvisibility=hidden \ 350 -pipe \ 351 -fPIC \ 352 -m32 \ 353 -mmmx \ 354 -march=pentium4 \ 355 -msse2 \ 356 -mfpmath=sse \ 357 -fuse-ld=gold \ 358 -ffunction-sections \ 359 -funwind-tables \ 360 -g \ 361 -fno-short-enums \ 362 -finline-limit=64 \ 363 -Wa,--noexecstack \ 364 -U_FORTIFY_SOURCE \ 365 -Wno-extra \ 366 -Wno-ignored-qualifiers \ 367 -Wno-type-limits \ 368 -fno-stack-protector \ 369 -Os \ 370 -fno-ident \ 371 -fdata-sections \ 372 -ffunction-sections \ 373 -fomit-frame-pointer \ 374 -fno-unwind-tables \ 375 -fno-asynchronous-unwind-tables 376 377MY_DEFS_Release := \ 378 '-DV8_DEPRECATION_WARNINGS' \ 379 '-D_FILE_OFFSET_BITS=64' \ 380 '-DNO_TCMALLOC' \ 381 '-DDISABLE_NACL' \ 382 '-DCHROMIUM_BUILD' \ 383 '-DUSE_LIBJPEG_TURBO=1' \ 384 '-DUSE_PROPRIETARY_CODECS' \ 385 '-DENABLE_CONFIGURATION_POLICY' \ 386 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 387 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 388 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 389 '-DUSE_OPENSSL=1' \ 390 '-DENABLE_EGLIMAGE=1' \ 391 '-DCLD_VERSION=1' \ 392 '-DENABLE_PRINTING=1' \ 393 '-DENABLE_MANAGED_USERS=1' \ 394 '-DBLINK_IMPLEMENTATION=1' \ 395 '-DINSIDE_BLINK' \ 396 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 397 '-DENABLE_SVG_FONTS=1' \ 398 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 399 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 400 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 401 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 402 '-DENABLE_INPUT_SPEECH=0' \ 403 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 404 '-DENABLE_MEDIA_CAPTURE=1' \ 405 '-DENABLE_ORIENTATION_EVENTS=1' \ 406 '-DENABLE_TOUCH_ICON_LOADING=1' \ 407 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 408 '-DENABLE_OPENTYPE_VERTICAL=1' \ 409 '-DU_USING_ICU_NAMESPACE=0' \ 410 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 411 '-DCHROME_PNG_WRITE_SUPPORT' \ 412 '-DPNG_USER_CONFIG' \ 413 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 414 '-DLIBXML_STATIC' \ 415 '-DLIBXSLT_STATIC' \ 416 '-D__STDC_CONSTANT_MACROS' \ 417 '-D__STDC_FORMAT_MACROS' \ 418 '-DANDROID' \ 419 '-D__GNU_SOURCE=1' \ 420 '-DUSE_STLPORT=1' \ 421 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 422 '-DCHROME_BUILD_ID=""' \ 423 '-DNDEBUG' \ 424 '-DNVALGRIND' \ 425 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 426 '-D_FORTIFY_SOURCE=2' 427 428 429# Include paths placed before CFLAGS/CPPFLAGS 430LOCAL_C_INCLUDES_Release := \ 431 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 432 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 433 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 434 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 435 $(LOCAL_PATH)/third_party/WebKit/Source \ 436 $(LOCAL_PATH) \ 437 $(LOCAL_PATH)/skia/config \ 438 $(LOCAL_PATH)/third_party/khronos \ 439 $(LOCAL_PATH)/gpu \ 440 $(LOCAL_PATH)/third_party/WebKit \ 441 $(gyp_shared_intermediate_dir)/blink \ 442 $(gyp_shared_intermediate_dir)/blink/bindings \ 443 $(LOCAL_PATH)/third_party/angle/include \ 444 $(PWD)/external/icu4c/common \ 445 $(PWD)/external/icu4c/i18n \ 446 $(PWD)/external/skia/include \ 447 $(PWD)/external/skia/include/core \ 448 $(LOCAL_PATH)/third_party/skia/src/core \ 449 $(LOCAL_PATH)/skia/ext \ 450 $(LOCAL_PATH)/third_party/iccjpeg \ 451 $(LOCAL_PATH)/third_party/libpng \ 452 $(LOCAL_PATH)/third_party/libwebp \ 453 $(LOCAL_PATH)/third_party/libxml/linux/include \ 454 $(LOCAL_PATH)/third_party/libxml/src/include \ 455 $(LOCAL_PATH)/third_party/libxslt \ 456 $(LOCAL_PATH)/third_party/npapi \ 457 $(LOCAL_PATH)/third_party/npapi/bindings \ 458 $(LOCAL_PATH)/third_party/ots/include \ 459 $(LOCAL_PATH)/third_party/qcms/src \ 460 $(LOCAL_PATH)/third_party/sqlite \ 461 $(LOCAL_PATH)/third_party/zlib \ 462 $(LOCAL_PATH)/v8/include \ 463 $(PWD)/frameworks/wilhelm/include \ 464 $(PWD)/bionic \ 465 $(PWD)/external/stlport/stlport 466 467 468# Flags passed to only C++ (and not C) files. 469LOCAL_CPPFLAGS_Release := \ 470 -fno-rtti \ 471 -fno-threadsafe-statics \ 472 -fvisibility-inlines-hidden \ 473 -Wsign-compare \ 474 -Wno-c++0x-compat \ 475 -Wno-error=c++0x-compat \ 476 -Wno-non-virtual-dtor \ 477 -Wno-sign-promo 478 479 480LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 481LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 482LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 483### Rules for final target. 484 485LOCAL_LDFLAGS_Debug := \ 486 -Wl,-z,now \ 487 -Wl,-z,relro \ 488 -Wl,-z,noexecstack \ 489 -fPIC \ 490 -m32 \ 491 -fuse-ld=gold \ 492 -nostdlib \ 493 -Wl,--no-undefined \ 494 -Wl,--exclude-libs=ALL \ 495 -Wl,--fatal-warnings \ 496 -Wl,--gc-sections \ 497 -Wl,--warn-shared-textrel \ 498 -Wl,-O1 \ 499 -Wl,--as-needed 500 501 502LOCAL_LDFLAGS_Release := \ 503 -Wl,-z,now \ 504 -Wl,-z,relro \ 505 -Wl,-z,noexecstack \ 506 -fPIC \ 507 -m32 \ 508 -fuse-ld=gold \ 509 -nostdlib \ 510 -Wl,--no-undefined \ 511 -Wl,--exclude-libs=ALL \ 512 -Wl,-O1 \ 513 -Wl,--as-needed \ 514 -Wl,--gc-sections \ 515 -Wl,--fatal-warnings \ 516 -Wl,--warn-shared-textrel 517 518 519LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 520 521LOCAL_STATIC_LIBRARIES := 522 523# Enable grouping to fix circular references 524LOCAL_GROUP_STATIC_LIBRARIES := true 525 526LOCAL_SHARED_LIBRARIES := \ 527 libskia \ 528 libstlport \ 529 libdl 530 531# Add target alias to "gyp_all_modules" target. 532.PHONY: gyp_all_modules 533gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp 534 535# Alias gyp target name. 536.PHONY: webcore_dom 537webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp 538 539include $(BUILD_STATIC_LIBRARY) 540