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