Home | History | Annotate | Download | only in core
      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_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     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,,,$(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 
     17 GYP_GENERATED_OUTPUTS :=
     18 
     19 # Make sure our deps and generated files are built first.
     20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     21 
     22 LOCAL_GENERATED_SOURCES :=
     23 
     24 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     25 
     26 LOCAL_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.
    218 MY_CFLAGS_Debug := \
    219 	-fstack-protector \
    220 	--param=ssp-buffer-size=4 \
    221 	 \
    222 	-fno-strict-aliasing \
    223 	-Wall \
    224 	-Wno-unused-parameter \
    225 	-Wno-missing-field-initializers \
    226 	-fvisibility=hidden \
    227 	-pipe \
    228 	-fPIC \
    229 	-Wno-unused-local-typedefs \
    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 	-gdwarf-4 \
    245 	-fdata-sections \
    246 	-ffunction-sections \
    247 	-fomit-frame-pointer \
    248 	-funwind-tables
    249 
    250 MY_DEFS_Debug := \
    251 	'-DV8_DEPRECATION_WARNINGS' \
    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="https://proxy-dev.googlezip.net:443/"' \
    269 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    270 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    271 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    272 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    273 	'-DVIDEO_HOLE=1' \
    274 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    275 	'-DBLINK_IMPLEMENTATION=1' \
    276 	'-DINSIDE_BLINK' \
    277 	'-DENABLE_SVG_FONTS=1' \
    278 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=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 	'-DU_ENABLE_DYLOAD=0' \
    284 	'-DSK_ENABLE_INST_COUNT=0' \
    285 	'-DSK_SUPPORT_GPU=1' \
    286 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    287 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    288 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    289 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    290 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    291 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    292 	'-DSK_BUILD_FOR_ANDROID' \
    293 	'-DSK_USE_POSIX_THREADS' \
    294 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    295 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=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/icuuc/target \
    318 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    319 	$(gyp_shared_intermediate_dir) \
    320 	$(LOCAL_PATH)/third_party/WebKit/Source \
    321 	$(LOCAL_PATH) \
    322 	$(LOCAL_PATH)/skia/config \
    323 	$(LOCAL_PATH)/third_party/khronos \
    324 	$(LOCAL_PATH)/gpu \
    325 	$(gyp_shared_intermediate_dir)/blink \
    326 	$(LOCAL_PATH)/third_party/openmax_dl \
    327 	$(LOCAL_PATH)/third_party/angle/include \
    328 	$(PWD)/external/icu/icu4c/source/common \
    329 	$(PWD)/external/icu/icu4c/source/i18n \
    330 	$(LOCAL_PATH)/third_party/WebKit \
    331 	$(LOCAL_PATH)/third_party/skia/src/core \
    332 	$(LOCAL_PATH)/third_party/skia/include/core \
    333 	$(LOCAL_PATH)/third_party/skia/include/effects \
    334 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    335 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    336 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    337 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    338 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    339 	$(LOCAL_PATH)/third_party/skia/include/ports \
    340 	$(LOCAL_PATH)/third_party/skia/include/utils \
    341 	$(LOCAL_PATH)/skia/ext \
    342 	$(LOCAL_PATH)/third_party/iccjpeg \
    343 	$(LOCAL_PATH)/third_party/libpng \
    344 	$(LOCAL_PATH)/third_party/libwebp \
    345 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    346 	$(LOCAL_PATH)/third_party/libxml/src/include \
    347 	$(LOCAL_PATH)/third_party/libxslt \
    348 	$(LOCAL_PATH)/third_party/npapi \
    349 	$(LOCAL_PATH)/third_party/npapi/bindings \
    350 	$(LOCAL_PATH)/third_party/ots/include \
    351 	$(LOCAL_PATH)/third_party/qcms/src \
    352 	$(LOCAL_PATH)/third_party/sqlite \
    353 	$(LOCAL_PATH)/third_party/zlib \
    354 	$(LOCAL_PATH)/v8/include \
    355 	$(PWD)/frameworks/wilhelm/include \
    356 	$(PWD)/bionic \
    357 	$(PWD)/external/stlport/stlport
    358 
    359 
    360 # Flags passed to only C++ (and not C) files.
    361 LOCAL_CPPFLAGS_Debug := \
    362 	-fno-exceptions \
    363 	-fno-rtti \
    364 	-fno-threadsafe-statics \
    365 	-fvisibility-inlines-hidden \
    366 	-Wsign-compare \
    367 	-Wno-c++0x-compat \
    368 	-Wno-uninitialized \
    369 	-std=gnu++11 \
    370 	-Wno-narrowing \
    371 	-Wno-literal-suffix \
    372 	-Wno-non-virtual-dtor \
    373 	-Wno-sign-promo
    374 
    375 
    376 # Flags passed to both C and C++ files.
    377 MY_CFLAGS_Release := \
    378 	-fstack-protector \
    379 	--param=ssp-buffer-size=4 \
    380 	 \
    381 	-fno-strict-aliasing \
    382 	-Wall \
    383 	-Wno-unused-parameter \
    384 	-Wno-missing-field-initializers \
    385 	-fvisibility=hidden \
    386 	-pipe \
    387 	-fPIC \
    388 	-Wno-unused-local-typedefs \
    389 	-ffunction-sections \
    390 	-funwind-tables \
    391 	-g \
    392 	-fstack-protector \
    393 	-fno-short-enums \
    394 	-finline-limit=64 \
    395 	-Wa,--noexecstack \
    396 	-U_FORTIFY_SOURCE \
    397 	-Wno-extra \
    398 	-Wno-ignored-qualifiers \
    399 	-Wno-type-limits \
    400 	-Wno-unused-but-set-variable \
    401 	-Os \
    402 	-fno-ident \
    403 	-fdata-sections \
    404 	-ffunction-sections \
    405 	-fomit-frame-pointer \
    406 	-funwind-tables
    407 
    408 MY_DEFS_Release := \
    409 	'-DV8_DEPRECATION_WARNINGS' \
    410 	'-D_FILE_OFFSET_BITS=64' \
    411 	'-DNO_TCMALLOC' \
    412 	'-DDISABLE_NACL' \
    413 	'-DCHROMIUM_BUILD' \
    414 	'-DUSE_LIBJPEG_TURBO=1' \
    415 	'-DENABLE_WEBRTC=1' \
    416 	'-DUSE_PROPRIETARY_CODECS' \
    417 	'-DENABLE_BROWSER_CDMS' \
    418 	'-DENABLE_CONFIGURATION_POLICY' \
    419 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    420 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    421 	'-DENABLE_EGLIMAGE=1' \
    422 	'-DCLD_VERSION=1' \
    423 	'-DENABLE_PRINTING=1' \
    424 	'-DENABLE_MANAGED_USERS=1' \
    425 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    426 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    427 	'-DDATA_REDUCTION_DEV_FALLBACK_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 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    433 	'-DBLINK_IMPLEMENTATION=1' \
    434 	'-DINSIDE_BLINK' \
    435 	'-DENABLE_SVG_FONTS=1' \
    436 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    437 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    438 	'-DENABLE_WEB_AUDIO=1' \
    439 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    440 	'-DU_USING_ICU_NAMESPACE=0' \
    441 	'-DU_ENABLE_DYLOAD=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_TEXTRENDERMODE' \
    450 	'-DSK_BUILD_FOR_ANDROID' \
    451 	'-DSK_USE_POSIX_THREADS' \
    452 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    453 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    454 	'-DCHROME_PNG_WRITE_SUPPORT' \
    455 	'-DPNG_USER_CONFIG' \
    456 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    457 	'-DLIBXML_STATIC' \
    458 	'-DLIBXSLT_STATIC' \
    459 	'-DUSE_OPENSSL=1' \
    460 	'-DUSE_OPENSSL_CERTS=1' \
    461 	'-D__STDC_CONSTANT_MACROS' \
    462 	'-D__STDC_FORMAT_MACROS' \
    463 	'-DANDROID' \
    464 	'-D__GNU_SOURCE=1' \
    465 	'-DUSE_STLPORT=1' \
    466 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    467 	'-DCHROME_BUILD_ID=""' \
    468 	'-DNDEBUG' \
    469 	'-DNVALGRIND' \
    470 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    471 	'-D_FORTIFY_SOURCE=2'
    472 
    473 
    474 # Include paths placed before CFLAGS/CPPFLAGS
    475 LOCAL_C_INCLUDES_Release := \
    476 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    477 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    478 	$(gyp_shared_intermediate_dir) \
    479 	$(LOCAL_PATH)/third_party/WebKit/Source \
    480 	$(LOCAL_PATH) \
    481 	$(LOCAL_PATH)/skia/config \
    482 	$(LOCAL_PATH)/third_party/khronos \
    483 	$(LOCAL_PATH)/gpu \
    484 	$(gyp_shared_intermediate_dir)/blink \
    485 	$(LOCAL_PATH)/third_party/openmax_dl \
    486 	$(LOCAL_PATH)/third_party/angle/include \
    487 	$(PWD)/external/icu/icu4c/source/common \
    488 	$(PWD)/external/icu/icu4c/source/i18n \
    489 	$(LOCAL_PATH)/third_party/WebKit \
    490 	$(LOCAL_PATH)/third_party/skia/src/core \
    491 	$(LOCAL_PATH)/third_party/skia/include/core \
    492 	$(LOCAL_PATH)/third_party/skia/include/effects \
    493 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    494 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    495 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    496 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    497 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    498 	$(LOCAL_PATH)/third_party/skia/include/ports \
    499 	$(LOCAL_PATH)/third_party/skia/include/utils \
    500 	$(LOCAL_PATH)/skia/ext \
    501 	$(LOCAL_PATH)/third_party/iccjpeg \
    502 	$(LOCAL_PATH)/third_party/libpng \
    503 	$(LOCAL_PATH)/third_party/libwebp \
    504 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    505 	$(LOCAL_PATH)/third_party/libxml/src/include \
    506 	$(LOCAL_PATH)/third_party/libxslt \
    507 	$(LOCAL_PATH)/third_party/npapi \
    508 	$(LOCAL_PATH)/third_party/npapi/bindings \
    509 	$(LOCAL_PATH)/third_party/ots/include \
    510 	$(LOCAL_PATH)/third_party/qcms/src \
    511 	$(LOCAL_PATH)/third_party/sqlite \
    512 	$(LOCAL_PATH)/third_party/zlib \
    513 	$(LOCAL_PATH)/v8/include \
    514 	$(PWD)/frameworks/wilhelm/include \
    515 	$(PWD)/bionic \
    516 	$(PWD)/external/stlport/stlport
    517 
    518 
    519 # Flags passed to only C++ (and not C) files.
    520 LOCAL_CPPFLAGS_Release := \
    521 	-fno-exceptions \
    522 	-fno-rtti \
    523 	-fno-threadsafe-statics \
    524 	-fvisibility-inlines-hidden \
    525 	-Wsign-compare \
    526 	-Wno-c++0x-compat \
    527 	-Wno-uninitialized \
    528 	-std=gnu++11 \
    529 	-Wno-narrowing \
    530 	-Wno-literal-suffix \
    531 	-Wno-non-virtual-dtor \
    532 	-Wno-sign-promo
    533 
    534 
    535 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    536 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    537 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    538 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    539 ### Rules for final target.
    540 
    541 LOCAL_SHARED_LIBRARIES := \
    542 	libstlport \
    543 	libdl
    544 
    545 # Add target alias to "gyp_all_modules" target.
    546 .PHONY: gyp_all_modules
    547 gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp
    548 
    549 # Alias gyp target name.
    550 .PHONY: webcore_dom
    551 webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp
    552 
    553 include $(BUILD_STATIC_LIBRARY)
    554