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 --param=ssp-buffer-size=4 \ 217 -Werror \ 218 -fno-exceptions \ 219 -fno-strict-aliasing \ 220 -Wall \ 221 -Wno-unused-parameter \ 222 -Wno-missing-field-initializers \ 223 -fvisibility=hidden \ 224 -pipe \ 225 -fPIC \ 226 -Wno-unused-local-typedefs \ 227 -ffunction-sections \ 228 -funwind-tables \ 229 -g \ 230 -fno-short-enums \ 231 -finline-limit=64 \ 232 -Wa,--noexecstack \ 233 -U_FORTIFY_SOURCE \ 234 -Wno-extra \ 235 -Wno-ignored-qualifiers \ 236 -Wno-type-limits \ 237 -Wno-unused-but-set-variable \ 238 -Os \ 239 -g \ 240 -fdata-sections \ 241 -ffunction-sections \ 242 -funwind-tables 243 244 MY_DEFS_Debug := \ 245 '-DV8_DEPRECATION_WARNINGS' \ 246 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 247 '-D_FILE_OFFSET_BITS=64' \ 248 '-DNO_TCMALLOC' \ 249 '-DDISABLE_NACL' \ 250 '-DCHROMIUM_BUILD' \ 251 '-DUSE_LIBJPEG_TURBO=1' \ 252 '-DENABLE_WEBRTC=1' \ 253 '-DUSE_PROPRIETARY_CODECS' \ 254 '-DENABLE_BROWSER_CDMS' \ 255 '-DENABLE_CONFIGURATION_POLICY' \ 256 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 257 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 258 '-DENABLE_EGLIMAGE=1' \ 259 '-DCLD_VERSION=1' \ 260 '-DENABLE_PRINTING=1' \ 261 '-DENABLE_MANAGED_USERS=1' \ 262 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 263 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 264 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 265 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 266 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 267 '-DVIDEO_HOLE=1' \ 268 '-DBLINK_IMPLEMENTATION=1' \ 269 '-DINSIDE_BLINK' \ 270 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 271 '-DENABLE_SVG_FONTS=1' \ 272 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 273 '-DENABLE_MEDIA_CAPTURE=1' \ 274 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 275 '-DENABLE_WEB_AUDIO=1' \ 276 '-DENABLE_OPENTYPE_VERTICAL=1' \ 277 '-DU_USING_ICU_NAMESPACE=0' \ 278 '-DSK_ENABLE_INST_COUNT=0' \ 279 '-DSK_SUPPORT_GPU=1' \ 280 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 281 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 282 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 283 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 284 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 285 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 286 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 287 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 288 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 289 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 290 '-DSK_IGNORE_ETC1_SUPPORT' \ 291 '-DSK_IGNORE_GPU_DITHER' \ 292 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 293 '-DSK_BUILD_FOR_ANDROID' \ 294 '-DSK_USE_POSIX_THREADS' \ 295 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 296 '-DCHROME_PNG_WRITE_SUPPORT' \ 297 '-DPNG_USER_CONFIG' \ 298 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 299 '-DLIBXML_STATIC' \ 300 '-DLIBXSLT_STATIC' \ 301 '-DUSE_OPENSSL=1' \ 302 '-DUSE_OPENSSL_CERTS=1' \ 303 '-D__STDC_CONSTANT_MACROS' \ 304 '-D__STDC_FORMAT_MACROS' \ 305 '-DANDROID' \ 306 '-D__GNU_SOURCE=1' \ 307 '-DUSE_STLPORT=1' \ 308 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 309 '-DCHROME_BUILD_ID=""' \ 310 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 311 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 312 '-D_DEBUG' 313 314 315 # Include paths placed before CFLAGS/CPPFLAGS 316 LOCAL_C_INCLUDES_Debug := \ 317 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 318 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 319 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 320 $(gyp_shared_intermediate_dir) \ 321 $(LOCAL_PATH)/third_party/WebKit/Source \ 322 $(LOCAL_PATH) \ 323 $(LOCAL_PATH)/skia/config \ 324 $(LOCAL_PATH)/third_party/khronos \ 325 $(LOCAL_PATH)/gpu \ 326 $(gyp_shared_intermediate_dir)/blink/core \ 327 $(gyp_shared_intermediate_dir)/blink/modules \ 328 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 329 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 330 $(gyp_shared_intermediate_dir)/blink \ 331 $(LOCAL_PATH)/third_party/openmax_dl \ 332 $(LOCAL_PATH)/third_party/angle/include \ 333 $(PWD)/external/icu/icu4c/source/common \ 334 $(PWD)/external/icu/icu4c/source/i18n \ 335 $(LOCAL_PATH)/third_party/WebKit \ 336 $(LOCAL_PATH)/third_party/skia/src/core \ 337 $(LOCAL_PATH)/third_party/skia/include/core \ 338 $(LOCAL_PATH)/third_party/skia/include/effects \ 339 $(LOCAL_PATH)/third_party/skia/include/pdf \ 340 $(LOCAL_PATH)/third_party/skia/include/gpu \ 341 $(LOCAL_PATH)/third_party/skia/include/lazy \ 342 $(LOCAL_PATH)/third_party/skia/include/pathops \ 343 $(LOCAL_PATH)/third_party/skia/include/pipe \ 344 $(LOCAL_PATH)/third_party/skia/include/ports \ 345 $(LOCAL_PATH)/third_party/skia/include/utils \ 346 $(LOCAL_PATH)/skia/ext \ 347 $(LOCAL_PATH)/third_party/iccjpeg \ 348 $(LOCAL_PATH)/third_party/libpng \ 349 $(LOCAL_PATH)/third_party/libwebp \ 350 $(LOCAL_PATH)/third_party/libxml/linux/include \ 351 $(LOCAL_PATH)/third_party/libxml/src/include \ 352 $(LOCAL_PATH)/third_party/libxslt \ 353 $(LOCAL_PATH)/third_party/npapi \ 354 $(LOCAL_PATH)/third_party/npapi/bindings \ 355 $(LOCAL_PATH)/third_party/ots/include \ 356 $(LOCAL_PATH)/third_party/qcms/src \ 357 $(LOCAL_PATH)/third_party/sqlite \ 358 $(LOCAL_PATH)/third_party/zlib \ 359 $(LOCAL_PATH)/v8/include \ 360 $(PWD)/frameworks/wilhelm/include \ 361 $(PWD)/bionic \ 362 $(PWD)/external/stlport/stlport 363 364 365 # Flags passed to only C++ (and not C) files. 366 LOCAL_CPPFLAGS_Debug := \ 367 -fno-rtti \ 368 -fno-threadsafe-statics \ 369 -fvisibility-inlines-hidden \ 370 -Wsign-compare \ 371 -Wno-c++0x-compat \ 372 -Wno-non-virtual-dtor \ 373 -Wno-sign-promo 374 375 376 LOCAL_FDO_SUPPORT_Debug := false 377 378 # Flags passed to both C and C++ files. 379 MY_CFLAGS_Release := \ 380 --param=ssp-buffer-size=4 \ 381 -Werror \ 382 -fno-exceptions \ 383 -fno-strict-aliasing \ 384 -Wall \ 385 -Wno-unused-parameter \ 386 -Wno-missing-field-initializers \ 387 -fvisibility=hidden \ 388 -pipe \ 389 -fPIC \ 390 -Wno-unused-local-typedefs \ 391 -ffunction-sections \ 392 -funwind-tables \ 393 -g \ 394 -fno-short-enums \ 395 -finline-limit=64 \ 396 -Wa,--noexecstack \ 397 -U_FORTIFY_SOURCE \ 398 -Wno-extra \ 399 -Wno-ignored-qualifiers \ 400 -Wno-type-limits \ 401 -Wno-unused-but-set-variable \ 402 -Os \ 403 -fno-ident \ 404 -fdata-sections \ 405 -ffunction-sections \ 406 -funwind-tables 407 408 MY_DEFS_Release := \ 409 '-DV8_DEPRECATION_WARNINGS' \ 410 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 411 '-D_FILE_OFFSET_BITS=64' \ 412 '-DNO_TCMALLOC' \ 413 '-DDISABLE_NACL' \ 414 '-DCHROMIUM_BUILD' \ 415 '-DUSE_LIBJPEG_TURBO=1' \ 416 '-DENABLE_WEBRTC=1' \ 417 '-DUSE_PROPRIETARY_CODECS' \ 418 '-DENABLE_BROWSER_CDMS' \ 419 '-DENABLE_CONFIGURATION_POLICY' \ 420 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 421 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 422 '-DENABLE_EGLIMAGE=1' \ 423 '-DCLD_VERSION=1' \ 424 '-DENABLE_PRINTING=1' \ 425 '-DENABLE_MANAGED_USERS=1' \ 426 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 427 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 428 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 429 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 430 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 431 '-DVIDEO_HOLE=1' \ 432 '-DBLINK_IMPLEMENTATION=1' \ 433 '-DINSIDE_BLINK' \ 434 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 435 '-DENABLE_SVG_FONTS=1' \ 436 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 437 '-DENABLE_MEDIA_CAPTURE=1' \ 438 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 439 '-DENABLE_WEB_AUDIO=1' \ 440 '-DENABLE_OPENTYPE_VERTICAL=1' \ 441 '-DU_USING_ICU_NAMESPACE=0' \ 442 '-DSK_ENABLE_INST_COUNT=0' \ 443 '-DSK_SUPPORT_GPU=1' \ 444 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 445 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 446 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 447 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 448 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 449 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 450 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 451 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 452 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 453 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 454 '-DSK_IGNORE_ETC1_SUPPORT' \ 455 '-DSK_IGNORE_GPU_DITHER' \ 456 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 457 '-DSK_BUILD_FOR_ANDROID' \ 458 '-DSK_USE_POSIX_THREADS' \ 459 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 460 '-DCHROME_PNG_WRITE_SUPPORT' \ 461 '-DPNG_USER_CONFIG' \ 462 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 463 '-DLIBXML_STATIC' \ 464 '-DLIBXSLT_STATIC' \ 465 '-DUSE_OPENSSL=1' \ 466 '-DUSE_OPENSSL_CERTS=1' \ 467 '-D__STDC_CONSTANT_MACROS' \ 468 '-D__STDC_FORMAT_MACROS' \ 469 '-DANDROID' \ 470 '-D__GNU_SOURCE=1' \ 471 '-DUSE_STLPORT=1' \ 472 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 473 '-DCHROME_BUILD_ID=""' \ 474 '-DNDEBUG' \ 475 '-DNVALGRIND' \ 476 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 477 '-D_FORTIFY_SOURCE=2' 478 479 480 # Include paths placed before CFLAGS/CPPFLAGS 481 LOCAL_C_INCLUDES_Release := \ 482 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 483 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 484 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 485 $(gyp_shared_intermediate_dir) \ 486 $(LOCAL_PATH)/third_party/WebKit/Source \ 487 $(LOCAL_PATH) \ 488 $(LOCAL_PATH)/skia/config \ 489 $(LOCAL_PATH)/third_party/khronos \ 490 $(LOCAL_PATH)/gpu \ 491 $(gyp_shared_intermediate_dir)/blink/core \ 492 $(gyp_shared_intermediate_dir)/blink/modules \ 493 $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ 494 $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ 495 $(gyp_shared_intermediate_dir)/blink \ 496 $(LOCAL_PATH)/third_party/openmax_dl \ 497 $(LOCAL_PATH)/third_party/angle/include \ 498 $(PWD)/external/icu/icu4c/source/common \ 499 $(PWD)/external/icu/icu4c/source/i18n \ 500 $(LOCAL_PATH)/third_party/WebKit \ 501 $(LOCAL_PATH)/third_party/skia/src/core \ 502 $(LOCAL_PATH)/third_party/skia/include/core \ 503 $(LOCAL_PATH)/third_party/skia/include/effects \ 504 $(LOCAL_PATH)/third_party/skia/include/pdf \ 505 $(LOCAL_PATH)/third_party/skia/include/gpu \ 506 $(LOCAL_PATH)/third_party/skia/include/lazy \ 507 $(LOCAL_PATH)/third_party/skia/include/pathops \ 508 $(LOCAL_PATH)/third_party/skia/include/pipe \ 509 $(LOCAL_PATH)/third_party/skia/include/ports \ 510 $(LOCAL_PATH)/third_party/skia/include/utils \ 511 $(LOCAL_PATH)/skia/ext \ 512 $(LOCAL_PATH)/third_party/iccjpeg \ 513 $(LOCAL_PATH)/third_party/libpng \ 514 $(LOCAL_PATH)/third_party/libwebp \ 515 $(LOCAL_PATH)/third_party/libxml/linux/include \ 516 $(LOCAL_PATH)/third_party/libxml/src/include \ 517 $(LOCAL_PATH)/third_party/libxslt \ 518 $(LOCAL_PATH)/third_party/npapi \ 519 $(LOCAL_PATH)/third_party/npapi/bindings \ 520 $(LOCAL_PATH)/third_party/ots/include \ 521 $(LOCAL_PATH)/third_party/qcms/src \ 522 $(LOCAL_PATH)/third_party/sqlite \ 523 $(LOCAL_PATH)/third_party/zlib \ 524 $(LOCAL_PATH)/v8/include \ 525 $(PWD)/frameworks/wilhelm/include \ 526 $(PWD)/bionic \ 527 $(PWD)/external/stlport/stlport 528 529 530 # Flags passed to only C++ (and not C) files. 531 LOCAL_CPPFLAGS_Release := \ 532 -fno-rtti \ 533 -fno-threadsafe-statics \ 534 -fvisibility-inlines-hidden \ 535 -Wsign-compare \ 536 -Wno-c++0x-compat \ 537 -Wno-non-virtual-dtor \ 538 -Wno-sign-promo 539 540 541 LOCAL_FDO_SUPPORT_Release := false 542 543 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 544 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 545 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 546 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 547 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 548 ### Rules for final target. 549 550 LOCAL_LDFLAGS_Debug := \ 551 -Wl,-z,now \ 552 -Wl,-z,relro \ 553 -Wl,--fatal-warnings \ 554 -Wl,-z,noexecstack \ 555 -fPIC \ 556 -nostdlib \ 557 -Wl,--no-undefined \ 558 -Wl,--exclude-libs=ALL \ 559 -Wl,--warn-shared-textrel \ 560 -Wl,-O1 \ 561 -Wl,--as-needed 562 563 564 LOCAL_LDFLAGS_Release := \ 565 -Wl,-z,now \ 566 -Wl,-z,relro \ 567 -Wl,--fatal-warnings \ 568 -Wl,-z,noexecstack \ 569 -fPIC \ 570 -nostdlib \ 571 -Wl,--no-undefined \ 572 -Wl,--exclude-libs=ALL \ 573 -Wl,-O1 \ 574 -Wl,--as-needed \ 575 -Wl,--gc-sections \ 576 -Wl,--warn-shared-textrel 577 578 579 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 580 581 LOCAL_STATIC_LIBRARIES := \ 582 skia_skia_library_gyp 583 584 # Enable grouping to fix circular references 585 LOCAL_GROUP_STATIC_LIBRARIES := true 586 587 LOCAL_SHARED_LIBRARIES := \ 588 libstlport \ 589 libdl 590 591 # Add target alias to "gyp_all_modules" target. 592 .PHONY: gyp_all_modules 593 gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp 594 595 # Alias gyp target name. 596 .PHONY: webcore_dom 597 webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp 598 599 include $(BUILD_STATIC_LIBRARY) 600