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