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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 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,,,$(GYP_VAR_PREFIX))/webcore_prerequisites.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_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/AddConsoleMessageTask.cpp \ 29 third_party/WebKit/Source/core/dom/Attr.cpp \ 30 third_party/WebKit/Source/core/dom/CDATASection.cpp \ 31 third_party/WebKit/Source/core/dom/CSSSelectorWatch.cpp \ 32 third_party/WebKit/Source/core/dom/CharacterData.cpp \ 33 third_party/WebKit/Source/core/dom/ChildFrameDisconnector.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/ClassCollection.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/Comment.cpp \ 40 third_party/WebKit/Source/core/dom/ContainerNode.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/DOMError.cpp \ 45 third_party/WebKit/Source/core/dom/DOMException.cpp \ 46 third_party/WebKit/Source/core/dom/DOMImplementation.cpp \ 47 third_party/WebKit/Source/core/dom/DOMMatrix.cpp \ 48 third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp \ 49 third_party/WebKit/Source/core/dom/DOMPoint.cpp \ 50 third_party/WebKit/Source/core/dom/DOMPointReadOnly.cpp \ 51 third_party/WebKit/Source/core/dom/DOMRect.cpp \ 52 third_party/WebKit/Source/core/dom/DOMRectReadOnly.cpp \ 53 third_party/WebKit/Source/core/dom/DOMSettableTokenList.cpp \ 54 third_party/WebKit/Source/core/dom/DOMStringList.cpp \ 55 third_party/WebKit/Source/core/dom/DOMStringMap.cpp \ 56 third_party/WebKit/Source/core/dom/DOMTokenList.cpp \ 57 third_party/WebKit/Source/core/dom/DOMURL.cpp \ 58 third_party/WebKit/Source/core/dom/DOMURLUtils.cpp \ 59 third_party/WebKit/Source/core/dom/DOMURLUtilsReadOnly.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/Document.cpp \ 63 third_party/WebKit/Source/core/dom/DocumentEncodingData.cpp \ 64 third_party/WebKit/Source/core/dom/DocumentFragment.cpp \ 65 third_party/WebKit/Source/core/dom/DocumentFullscreen.cpp \ 66 third_party/WebKit/Source/core/dom/DocumentInit.cpp \ 67 third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp \ 68 third_party/WebKit/Source/core/dom/DocumentLifecycleNotifier.cpp \ 69 third_party/WebKit/Source/core/dom/DocumentLifecycleObserver.cpp \ 70 third_party/WebKit/Source/core/dom/DocumentMarker.cpp \ 71 third_party/WebKit/Source/core/dom/DocumentMarkerController.cpp \ 72 third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp \ 73 third_party/WebKit/Source/core/dom/DocumentOrderedMap.cpp \ 74 third_party/WebKit/Source/core/dom/DocumentParser.cpp \ 75 third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp \ 76 third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp \ 77 third_party/WebKit/Source/core/dom/DocumentType.cpp \ 78 third_party/WebKit/Source/core/dom/Element.cpp \ 79 third_party/WebKit/Source/core/dom/ElementData.cpp \ 80 third_party/WebKit/Source/core/dom/ElementDataCache.cpp \ 81 third_party/WebKit/Source/core/dom/ElementFullscreen.cpp \ 82 third_party/WebKit/Source/core/dom/ElementRareData.cpp \ 83 third_party/WebKit/Source/core/dom/EmptyNodeList.cpp \ 84 third_party/WebKit/Source/core/dom/ExecutionContext.cpp \ 85 third_party/WebKit/Source/core/dom/Fullscreen.cpp \ 86 third_party/WebKit/Source/core/dom/IconURL.cpp \ 87 third_party/WebKit/Source/core/dom/IdTargetObserver.cpp \ 88 third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp \ 89 third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp \ 90 third_party/WebKit/Source/core/dom/LiveNodeList.cpp \ 91 third_party/WebKit/Source/core/dom/LiveNodeListBase.cpp \ 92 third_party/WebKit/Source/core/dom/MainThreadTaskRunner.cpp \ 93 third_party/WebKit/Source/core/dom/MessageChannel.cpp \ 94 third_party/WebKit/Source/core/dom/MessagePort.cpp \ 95 third_party/WebKit/Source/core/dom/Microtask.cpp \ 96 third_party/WebKit/Source/core/dom/MutationObserver.cpp \ 97 third_party/WebKit/Source/core/dom/MutationObserverInterestGroup.cpp \ 98 third_party/WebKit/Source/core/dom/MutationObserverRegistration.cpp \ 99 third_party/WebKit/Source/core/dom/MutationRecord.cpp \ 100 third_party/WebKit/Source/core/dom/NameNodeList.cpp \ 101 third_party/WebKit/Source/core/dom/NamedNodeMap.cpp \ 102 third_party/WebKit/Source/core/dom/Node.cpp \ 103 third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.cpp \ 104 third_party/WebKit/Source/core/dom/NodeFilter.cpp \ 105 third_party/WebKit/Source/core/dom/NodeIterator.cpp \ 106 third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp \ 107 third_party/WebKit/Source/core/dom/NodeListsNodeData.cpp \ 108 third_party/WebKit/Source/core/dom/NodeRareData.cpp \ 109 third_party/WebKit/Source/core/dom/NodeRenderingTraversal.cpp \ 110 third_party/WebKit/Source/core/dom/NodeTraversal.cpp \ 111 third_party/WebKit/Source/core/dom/PendingScript.cpp \ 112 third_party/WebKit/Source/core/dom/Position.cpp \ 113 third_party/WebKit/Source/core/dom/PositionIterator.cpp \ 114 third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp \ 115 third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp \ 116 third_party/WebKit/Source/core/dom/PseudoElement.cpp \ 117 third_party/WebKit/Source/core/dom/QualifiedName.cpp \ 118 third_party/WebKit/Source/core/dom/Range.cpp \ 119 third_party/WebKit/Source/core/dom/RenderTreeBuilder.cpp \ 120 third_party/WebKit/Source/core/dom/SandboxFlags.cpp \ 121 third_party/WebKit/Source/core/dom/ScriptLoader.cpp \ 122 third_party/WebKit/Source/core/dom/ScriptRunner.cpp \ 123 third_party/WebKit/Source/core/dom/ScriptableDocumentParser.cpp \ 124 third_party/WebKit/Source/core/dom/ScriptedAnimationController.cpp \ 125 third_party/WebKit/Source/core/dom/SecurityContext.cpp \ 126 third_party/WebKit/Source/core/dom/SelectorQuery.cpp \ 127 third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp \ 128 third_party/WebKit/Source/core/dom/SpaceSplitString.cpp \ 129 third_party/WebKit/Source/core/dom/StringCallback.cpp \ 130 third_party/WebKit/Source/core/dom/StyleElement.cpp \ 131 third_party/WebKit/Source/core/dom/StyleEngine.cpp \ 132 third_party/WebKit/Source/core/dom/StyleSheetCandidate.cpp \ 133 third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp \ 134 third_party/WebKit/Source/core/dom/TagCollection.cpp \ 135 third_party/WebKit/Source/core/dom/Text.cpp \ 136 third_party/WebKit/Source/core/dom/TextLinkColors.cpp \ 137 third_party/WebKit/Source/core/dom/Touch.cpp \ 138 third_party/WebKit/Source/core/dom/TouchList.cpp \ 139 third_party/WebKit/Source/core/dom/TransformSourceLibxslt.cpp \ 140 third_party/WebKit/Source/core/dom/TreeScope.cpp \ 141 third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp \ 142 third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp \ 143 third_party/WebKit/Source/core/dom/TreeWalker.cpp \ 144 third_party/WebKit/Source/core/dom/UserActionElementSet.cpp \ 145 third_party/WebKit/Source/core/dom/ViewportDescription.cpp \ 146 third_party/WebKit/Source/core/dom/VisitedLinkState.cpp \ 147 third_party/WebKit/Source/core/dom/WeakNodeMap.cpp \ 148 third_party/WebKit/Source/core/dom/XMLDocument.cpp \ 149 third_party/WebKit/Source/core/dom/custom/CustomElement.cpp \ 150 third_party/WebKit/Source/core/dom/custom/CustomElementAsyncImportMicrotaskQueue.cpp \ 151 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackInvocation.cpp \ 152 third_party/WebKit/Source/core/dom/custom/CustomElementCallbackQueue.cpp \ 153 third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp \ 154 third_party/WebKit/Source/core/dom/custom/CustomElementException.cpp \ 155 third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp \ 156 third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp \ 157 third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskQueueBase.cpp \ 158 third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp \ 159 third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp \ 160 third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp \ 161 third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp \ 162 third_party/WebKit/Source/core/dom/custom/CustomElementRegistrationContext.cpp \ 163 third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp \ 164 third_party/WebKit/Source/core/dom/custom/CustomElementScheduler.cpp \ 165 third_party/WebKit/Source/core/dom/custom/CustomElementSyncMicrotaskQueue.cpp \ 166 third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp \ 167 third_party/WebKit/Source/core/dom/shadow/ComposedTreeWalker.cpp \ 168 third_party/WebKit/Source/core/dom/shadow/ContentDistribution.cpp \ 169 third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp \ 170 third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp \ 171 third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp \ 172 third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp \ 173 third_party/WebKit/Source/core/events/AnimationPlayerEvent.cpp \ 174 third_party/WebKit/Source/core/events/ApplicationCacheErrorEvent.cpp \ 175 third_party/WebKit/Source/core/events/BeforeTextInsertedEvent.cpp \ 176 third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp \ 177 third_party/WebKit/Source/core/events/ClipboardEvent.cpp \ 178 third_party/WebKit/Source/core/events/CompositionEvent.cpp \ 179 third_party/WebKit/Source/core/events/CustomEvent.cpp \ 180 third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp \ 181 third_party/WebKit/Source/core/events/ErrorEvent.cpp \ 182 third_party/WebKit/Source/core/events/Event.cpp \ 183 third_party/WebKit/Source/core/events/EventDispatchMediator.cpp \ 184 third_party/WebKit/Source/core/events/EventDispatcher.cpp \ 185 third_party/WebKit/Source/core/events/EventListenerMap.cpp \ 186 third_party/WebKit/Source/core/events/EventPath.cpp \ 187 third_party/WebKit/Source/core/events/EventTarget.cpp \ 188 third_party/WebKit/Source/core/events/FocusEvent.cpp \ 189 third_party/WebKit/Source/core/events/GenericEventQueue.cpp \ 190 third_party/WebKit/Source/core/events/GestureEvent.cpp \ 191 third_party/WebKit/Source/core/events/KeyboardEvent.cpp \ 192 third_party/WebKit/Source/core/events/MessageEvent.cpp \ 193 third_party/WebKit/Source/core/events/MouseEvent.cpp \ 194 third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp \ 195 third_party/WebKit/Source/core/events/MutationEvent.cpp \ 196 third_party/WebKit/Source/core/events/NavigatorEvents.cpp \ 197 third_party/WebKit/Source/core/events/NodeEventContext.cpp \ 198 third_party/WebKit/Source/core/events/OverflowEvent.cpp \ 199 third_party/WebKit/Source/core/events/PageTransitionEvent.cpp \ 200 third_party/WebKit/Source/core/events/PopStateEvent.cpp \ 201 third_party/WebKit/Source/core/events/ProgressEvent.cpp \ 202 third_party/WebKit/Source/core/events/RelatedEvent.cpp \ 203 third_party/WebKit/Source/core/events/ResourceProgressEvent.cpp \ 204 third_party/WebKit/Source/core/events/ScopedEventQueue.cpp \ 205 third_party/WebKit/Source/core/events/TextEvent.cpp \ 206 third_party/WebKit/Source/core/events/TouchEvent.cpp \ 207 third_party/WebKit/Source/core/events/TouchEventContext.cpp \ 208 third_party/WebKit/Source/core/events/TransitionEvent.cpp \ 209 third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp \ 210 third_party/WebKit/Source/core/events/UIEvent.cpp \ 211 third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp \ 212 third_party/WebKit/Source/core/events/WebKitAnimationEvent.cpp \ 213 third_party/WebKit/Source/core/events/WheelEvent.cpp \ 214 third_party/WebKit/Source/core/events/WindowEventContext.cpp 215 216 217# Flags passed to both C and C++ files. 218MY_CFLAGS_Debug := \ 219 --param=ssp-buffer-size=4 \ 220 -Werror \ 221 -fno-strict-aliasing \ 222 -Wall \ 223 -Wno-unused-parameter \ 224 -Wno-missing-field-initializers \ 225 -fvisibility=hidden \ 226 -pipe \ 227 -fPIC \ 228 -Wno-unused-local-typedefs \ 229 -msse2 \ 230 -mfpmath=sse \ 231 -mmmx \ 232 -m32 \ 233 -ffunction-sections \ 234 -funwind-tables \ 235 -g \ 236 -fno-short-enums \ 237 -finline-limit=64 \ 238 -Wa,--noexecstack \ 239 -U_FORTIFY_SOURCE \ 240 -Wno-extra \ 241 -Wno-ignored-qualifiers \ 242 -Wno-type-limits \ 243 -Wno-unused-but-set-variable \ 244 -fno-stack-protector \ 245 -Os \ 246 -g \ 247 -gdwarf-4 \ 248 -fdata-sections \ 249 -ffunction-sections \ 250 -fomit-frame-pointer \ 251 -funwind-tables 252 253MY_DEFS_Debug := \ 254 '-DV8_DEPRECATION_WARNINGS' \ 255 '-D_FILE_OFFSET_BITS=64' \ 256 '-DNO_TCMALLOC' \ 257 '-DDISABLE_NACL' \ 258 '-DCHROMIUM_BUILD' \ 259 '-DUSE_LIBJPEG_TURBO=1' \ 260 '-DENABLE_WEBRTC=1' \ 261 '-DUSE_PROPRIETARY_CODECS' \ 262 '-DENABLE_BROWSER_CDMS' \ 263 '-DENABLE_CONFIGURATION_POLICY' \ 264 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 265 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 266 '-DENABLE_EGLIMAGE=1' \ 267 '-DCLD_VERSION=1' \ 268 '-DENABLE_PRINTING=1' \ 269 '-DENABLE_MANAGED_USERS=1' \ 270 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 271 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 272 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 273 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 274 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 275 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 276 '-DVIDEO_HOLE=1' \ 277 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 278 '-DBLINK_IMPLEMENTATION=1' \ 279 '-DINSIDE_BLINK' \ 280 '-DENABLE_SVG_FONTS=1' \ 281 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 282 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 283 '-DENABLE_WEB_AUDIO=1' \ 284 '-DENABLE_OPENTYPE_VERTICAL=1' \ 285 '-DU_USING_ICU_NAMESPACE=0' \ 286 '-DU_ENABLE_DYLOAD=0' \ 287 '-DSK_ENABLE_INST_COUNT=0' \ 288 '-DSK_SUPPORT_GPU=1' \ 289 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 290 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 291 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 292 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 293 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 294 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 295 '-DSK_BUILD_FOR_ANDROID' \ 296 '-DSK_USE_POSIX_THREADS' \ 297 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 298 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 299 '-DCHROME_PNG_WRITE_SUPPORT' \ 300 '-DPNG_USER_CONFIG' \ 301 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 302 '-DLIBXML_STATIC' \ 303 '-DLIBXSLT_STATIC' \ 304 '-DUSE_OPENSSL=1' \ 305 '-DUSE_OPENSSL_CERTS=1' \ 306 '-D__STDC_CONSTANT_MACROS' \ 307 '-D__STDC_FORMAT_MACROS' \ 308 '-DANDROID' \ 309 '-D__GNU_SOURCE=1' \ 310 '-DUSE_STLPORT=1' \ 311 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 312 '-DCHROME_BUILD_ID=""' \ 313 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 314 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 315 '-D_DEBUG' 316 317 318# Include paths placed before CFLAGS/CPPFLAGS 319LOCAL_C_INCLUDES_Debug := \ 320 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 321 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 322 $(gyp_shared_intermediate_dir) \ 323 $(LOCAL_PATH)/third_party/WebKit/Source \ 324 $(LOCAL_PATH) \ 325 $(LOCAL_PATH)/skia/config \ 326 $(LOCAL_PATH)/third_party/khronos \ 327 $(LOCAL_PATH)/gpu \ 328 $(gyp_shared_intermediate_dir)/blink \ 329 $(LOCAL_PATH)/third_party/openmax_dl \ 330 $(LOCAL_PATH)/third_party/angle/include \ 331 $(PWD)/external/icu/icu4c/source/common \ 332 $(PWD)/external/icu/icu4c/source/i18n \ 333 $(LOCAL_PATH)/third_party/WebKit \ 334 $(LOCAL_PATH)/third_party/skia/src/core \ 335 $(LOCAL_PATH)/third_party/skia/include/core \ 336 $(LOCAL_PATH)/third_party/skia/include/effects \ 337 $(LOCAL_PATH)/third_party/skia/include/pdf \ 338 $(LOCAL_PATH)/third_party/skia/include/gpu \ 339 $(LOCAL_PATH)/third_party/skia/include/lazy \ 340 $(LOCAL_PATH)/third_party/skia/include/pathops \ 341 $(LOCAL_PATH)/third_party/skia/include/pipe \ 342 $(LOCAL_PATH)/third_party/skia/include/ports \ 343 $(LOCAL_PATH)/third_party/skia/include/utils \ 344 $(LOCAL_PATH)/skia/ext \ 345 $(LOCAL_PATH)/third_party/iccjpeg \ 346 $(LOCAL_PATH)/third_party/libpng \ 347 $(LOCAL_PATH)/third_party/libwebp \ 348 $(LOCAL_PATH)/third_party/libxml/linux/include \ 349 $(LOCAL_PATH)/third_party/libxml/src/include \ 350 $(LOCAL_PATH)/third_party/libxslt \ 351 $(LOCAL_PATH)/third_party/npapi \ 352 $(LOCAL_PATH)/third_party/npapi/bindings \ 353 $(LOCAL_PATH)/third_party/ots/include \ 354 $(LOCAL_PATH)/third_party/qcms/src \ 355 $(LOCAL_PATH)/third_party/sqlite \ 356 $(LOCAL_PATH)/third_party/zlib \ 357 $(LOCAL_PATH)/v8/include \ 358 $(PWD)/frameworks/wilhelm/include \ 359 $(PWD)/bionic \ 360 $(PWD)/external/stlport/stlport 361 362 363# Flags passed to only C++ (and not C) files. 364LOCAL_CPPFLAGS_Debug := \ 365 -fno-exceptions \ 366 -fno-rtti \ 367 -fno-threadsafe-statics \ 368 -fvisibility-inlines-hidden \ 369 -Wsign-compare \ 370 -Wno-c++0x-compat \ 371 -std=gnu++11 \ 372 -Wno-narrowing \ 373 -Wno-literal-suffix \ 374 -Wno-non-virtual-dtor \ 375 -Wno-sign-promo 376 377 378# Flags passed to both C and C++ files. 379MY_CFLAGS_Release := \ 380 --param=ssp-buffer-size=4 \ 381 -Werror \ 382 -fno-strict-aliasing \ 383 -Wall \ 384 -Wno-unused-parameter \ 385 -Wno-missing-field-initializers \ 386 -fvisibility=hidden \ 387 -pipe \ 388 -fPIC \ 389 -Wno-unused-local-typedefs \ 390 -msse2 \ 391 -mfpmath=sse \ 392 -mmmx \ 393 -m32 \ 394 -ffunction-sections \ 395 -funwind-tables \ 396 -g \ 397 -fno-short-enums \ 398 -finline-limit=64 \ 399 -Wa,--noexecstack \ 400 -U_FORTIFY_SOURCE \ 401 -Wno-extra \ 402 -Wno-ignored-qualifiers \ 403 -Wno-type-limits \ 404 -Wno-unused-but-set-variable \ 405 -fno-stack-protector \ 406 -Os \ 407 -fno-ident \ 408 -fdata-sections \ 409 -ffunction-sections \ 410 -fomit-frame-pointer \ 411 -funwind-tables 412 413MY_DEFS_Release := \ 414 '-DV8_DEPRECATION_WARNINGS' \ 415 '-D_FILE_OFFSET_BITS=64' \ 416 '-DNO_TCMALLOC' \ 417 '-DDISABLE_NACL' \ 418 '-DCHROMIUM_BUILD' \ 419 '-DUSE_LIBJPEG_TURBO=1' \ 420 '-DENABLE_WEBRTC=1' \ 421 '-DUSE_PROPRIETARY_CODECS' \ 422 '-DENABLE_BROWSER_CDMS' \ 423 '-DENABLE_CONFIGURATION_POLICY' \ 424 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 425 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 426 '-DENABLE_EGLIMAGE=1' \ 427 '-DCLD_VERSION=1' \ 428 '-DENABLE_PRINTING=1' \ 429 '-DENABLE_MANAGED_USERS=1' \ 430 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 431 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 432 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 433 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 434 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 435 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 436 '-DVIDEO_HOLE=1' \ 437 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 438 '-DBLINK_IMPLEMENTATION=1' \ 439 '-DINSIDE_BLINK' \ 440 '-DENABLE_SVG_FONTS=1' \ 441 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 442 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 443 '-DENABLE_WEB_AUDIO=1' \ 444 '-DENABLE_OPENTYPE_VERTICAL=1' \ 445 '-DU_USING_ICU_NAMESPACE=0' \ 446 '-DU_ENABLE_DYLOAD=0' \ 447 '-DSK_ENABLE_INST_COUNT=0' \ 448 '-DSK_SUPPORT_GPU=1' \ 449 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 450 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 451 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 452 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 453 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 454 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 455 '-DSK_BUILD_FOR_ANDROID' \ 456 '-DSK_USE_POSIX_THREADS' \ 457 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 458 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 459 '-DCHROME_PNG_WRITE_SUPPORT' \ 460 '-DPNG_USER_CONFIG' \ 461 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 462 '-DLIBXML_STATIC' \ 463 '-DLIBXSLT_STATIC' \ 464 '-DUSE_OPENSSL=1' \ 465 '-DUSE_OPENSSL_CERTS=1' \ 466 '-D__STDC_CONSTANT_MACROS' \ 467 '-D__STDC_FORMAT_MACROS' \ 468 '-DANDROID' \ 469 '-D__GNU_SOURCE=1' \ 470 '-DUSE_STLPORT=1' \ 471 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 472 '-DCHROME_BUILD_ID=""' \ 473 '-DNDEBUG' \ 474 '-DNVALGRIND' \ 475 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 476 '-D_FORTIFY_SOURCE=2' 477 478 479# Include paths placed before CFLAGS/CPPFLAGS 480LOCAL_C_INCLUDES_Release := \ 481 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 482 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 483 $(gyp_shared_intermediate_dir) \ 484 $(LOCAL_PATH)/third_party/WebKit/Source \ 485 $(LOCAL_PATH) \ 486 $(LOCAL_PATH)/skia/config \ 487 $(LOCAL_PATH)/third_party/khronos \ 488 $(LOCAL_PATH)/gpu \ 489 $(gyp_shared_intermediate_dir)/blink \ 490 $(LOCAL_PATH)/third_party/openmax_dl \ 491 $(LOCAL_PATH)/third_party/angle/include \ 492 $(PWD)/external/icu/icu4c/source/common \ 493 $(PWD)/external/icu/icu4c/source/i18n \ 494 $(LOCAL_PATH)/third_party/WebKit \ 495 $(LOCAL_PATH)/third_party/skia/src/core \ 496 $(LOCAL_PATH)/third_party/skia/include/core \ 497 $(LOCAL_PATH)/third_party/skia/include/effects \ 498 $(LOCAL_PATH)/third_party/skia/include/pdf \ 499 $(LOCAL_PATH)/third_party/skia/include/gpu \ 500 $(LOCAL_PATH)/third_party/skia/include/lazy \ 501 $(LOCAL_PATH)/third_party/skia/include/pathops \ 502 $(LOCAL_PATH)/third_party/skia/include/pipe \ 503 $(LOCAL_PATH)/third_party/skia/include/ports \ 504 $(LOCAL_PATH)/third_party/skia/include/utils \ 505 $(LOCAL_PATH)/skia/ext \ 506 $(LOCAL_PATH)/third_party/iccjpeg \ 507 $(LOCAL_PATH)/third_party/libpng \ 508 $(LOCAL_PATH)/third_party/libwebp \ 509 $(LOCAL_PATH)/third_party/libxml/linux/include \ 510 $(LOCAL_PATH)/third_party/libxml/src/include \ 511 $(LOCAL_PATH)/third_party/libxslt \ 512 $(LOCAL_PATH)/third_party/npapi \ 513 $(LOCAL_PATH)/third_party/npapi/bindings \ 514 $(LOCAL_PATH)/third_party/ots/include \ 515 $(LOCAL_PATH)/third_party/qcms/src \ 516 $(LOCAL_PATH)/third_party/sqlite \ 517 $(LOCAL_PATH)/third_party/zlib \ 518 $(LOCAL_PATH)/v8/include \ 519 $(PWD)/frameworks/wilhelm/include \ 520 $(PWD)/bionic \ 521 $(PWD)/external/stlport/stlport 522 523 524# Flags passed to only C++ (and not C) files. 525LOCAL_CPPFLAGS_Release := \ 526 -fno-exceptions \ 527 -fno-rtti \ 528 -fno-threadsafe-statics \ 529 -fvisibility-inlines-hidden \ 530 -Wsign-compare \ 531 -Wno-c++0x-compat \ 532 -std=gnu++11 \ 533 -Wno-narrowing \ 534 -Wno-literal-suffix \ 535 -Wno-non-virtual-dtor \ 536 -Wno-sign-promo 537 538 539LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 540LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 541LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 542LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 543### Rules for final target. 544 545LOCAL_SHARED_LIBRARIES := \ 546 libstlport \ 547 libdl 548 549# Add target alias to "gyp_all_modules" target. 550.PHONY: gyp_all_modules 551gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp 552 553# Alias gyp target name. 554.PHONY: webcore_dom 555webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp 556 557include $(BUILD_STATIC_LIBRARY) 558