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 	-Werror \
    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 	-fno-tree-sra \
    231 	-fno-caller-saves \
    232 	-Wno-psabi \
    233 	-fno-partial-inlining \
    234 	-fno-early-inlining \
    235 	-fno-tree-copy-prop \
    236 	-fno-tree-loop-optimize \
    237 	-fno-move-loop-invariants \
    238 	-ffunction-sections \
    239 	-funwind-tables \
    240 	-g \
    241 	-fstack-protector \
    242 	-fno-short-enums \
    243 	-finline-limit=64 \
    244 	-Wa,--noexecstack \
    245 	-U_FORTIFY_SOURCE \
    246 	-Wno-extra \
    247 	-Wno-ignored-qualifiers \
    248 	-Wno-type-limits \
    249 	-Wno-unused-but-set-variable \
    250 	-Os \
    251 	-g \
    252 	-gdwarf-4 \
    253 	-fdata-sections \
    254 	-ffunction-sections \
    255 	-fomit-frame-pointer \
    256 	-funwind-tables
    257 
    258 MY_DEFS_Debug := \
    259 	'-DV8_DEPRECATION_WARNINGS' \
    260 	'-D_FILE_OFFSET_BITS=64' \
    261 	'-DNO_TCMALLOC' \
    262 	'-DDISABLE_NACL' \
    263 	'-DCHROMIUM_BUILD' \
    264 	'-DUSE_LIBJPEG_TURBO=1' \
    265 	'-DENABLE_WEBRTC=1' \
    266 	'-DUSE_PROPRIETARY_CODECS' \
    267 	'-DENABLE_BROWSER_CDMS' \
    268 	'-DENABLE_CONFIGURATION_POLICY' \
    269 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    270 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    271 	'-DENABLE_EGLIMAGE=1' \
    272 	'-DCLD_VERSION=1' \
    273 	'-DENABLE_PRINTING=1' \
    274 	'-DENABLE_MANAGED_USERS=1' \
    275 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    276 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    277 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    278 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    279 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    280 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    281 	'-DVIDEO_HOLE=1' \
    282 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    283 	'-DBLINK_IMPLEMENTATION=1' \
    284 	'-DINSIDE_BLINK' \
    285 	'-DENABLE_SVG_FONTS=1' \
    286 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    287 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    288 	'-DENABLE_WEB_AUDIO=1' \
    289 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    290 	'-DU_USING_ICU_NAMESPACE=0' \
    291 	'-DU_ENABLE_DYLOAD=0' \
    292 	'-DSK_ENABLE_INST_COUNT=0' \
    293 	'-DSK_SUPPORT_GPU=1' \
    294 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    295 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    296 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    297 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    298 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    299 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    300 	'-DSK_BUILD_FOR_ANDROID' \
    301 	'-DSK_USE_POSIX_THREADS' \
    302 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    303 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    304 	'-DCHROME_PNG_WRITE_SUPPORT' \
    305 	'-DPNG_USER_CONFIG' \
    306 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    307 	'-DLIBXML_STATIC' \
    308 	'-DLIBXSLT_STATIC' \
    309 	'-DUSE_OPENSSL=1' \
    310 	'-DUSE_OPENSSL_CERTS=1' \
    311 	'-D__STDC_CONSTANT_MACROS' \
    312 	'-D__STDC_FORMAT_MACROS' \
    313 	'-DANDROID' \
    314 	'-D__GNU_SOURCE=1' \
    315 	'-DUSE_STLPORT=1' \
    316 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    317 	'-DCHROME_BUILD_ID=""' \
    318 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    319 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    320 	'-D_DEBUG'
    321 
    322 
    323 # Include paths placed before CFLAGS/CPPFLAGS
    324 LOCAL_C_INCLUDES_Debug := \
    325 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    326 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    327 	$(gyp_shared_intermediate_dir) \
    328 	$(LOCAL_PATH)/third_party/WebKit/Source \
    329 	$(LOCAL_PATH) \
    330 	$(LOCAL_PATH)/skia/config \
    331 	$(LOCAL_PATH)/third_party/khronos \
    332 	$(LOCAL_PATH)/gpu \
    333 	$(gyp_shared_intermediate_dir)/blink \
    334 	$(LOCAL_PATH)/third_party/openmax_dl \
    335 	$(LOCAL_PATH)/third_party/angle/include \
    336 	$(PWD)/external/icu/icu4c/source/common \
    337 	$(PWD)/external/icu/icu4c/source/i18n \
    338 	$(LOCAL_PATH)/third_party/WebKit \
    339 	$(LOCAL_PATH)/third_party/skia/src/core \
    340 	$(LOCAL_PATH)/third_party/skia/include/core \
    341 	$(LOCAL_PATH)/third_party/skia/include/effects \
    342 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    343 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    344 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    345 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    346 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    347 	$(LOCAL_PATH)/third_party/skia/include/ports \
    348 	$(LOCAL_PATH)/third_party/skia/include/utils \
    349 	$(LOCAL_PATH)/skia/ext \
    350 	$(LOCAL_PATH)/third_party/iccjpeg \
    351 	$(LOCAL_PATH)/third_party/libpng \
    352 	$(LOCAL_PATH)/third_party/libwebp \
    353 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    354 	$(LOCAL_PATH)/third_party/libxml/src/include \
    355 	$(LOCAL_PATH)/third_party/libxslt \
    356 	$(LOCAL_PATH)/third_party/npapi \
    357 	$(LOCAL_PATH)/third_party/npapi/bindings \
    358 	$(LOCAL_PATH)/third_party/ots/include \
    359 	$(LOCAL_PATH)/third_party/qcms/src \
    360 	$(LOCAL_PATH)/third_party/sqlite \
    361 	$(LOCAL_PATH)/third_party/zlib \
    362 	$(LOCAL_PATH)/v8/include \
    363 	$(PWD)/frameworks/wilhelm/include \
    364 	$(PWD)/bionic \
    365 	$(PWD)/external/stlport/stlport
    366 
    367 
    368 # Flags passed to only C++ (and not C) files.
    369 LOCAL_CPPFLAGS_Debug := \
    370 	-fno-exceptions \
    371 	-fno-rtti \
    372 	-fno-threadsafe-statics \
    373 	-fvisibility-inlines-hidden \
    374 	-Wsign-compare \
    375 	-Wno-c++0x-compat \
    376 	-Wno-abi \
    377 	-std=gnu++11 \
    378 	-Wno-narrowing \
    379 	-Wno-literal-suffix \
    380 	-Wno-non-virtual-dtor \
    381 	-Wno-sign-promo
    382 
    383 
    384 # Flags passed to both C and C++ files.
    385 MY_CFLAGS_Release := \
    386 	-fstack-protector \
    387 	--param=ssp-buffer-size=4 \
    388 	-Werror \
    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 	-fno-tree-sra \
    398 	-fno-caller-saves \
    399 	-Wno-psabi \
    400 	-fno-partial-inlining \
    401 	-fno-early-inlining \
    402 	-fno-tree-copy-prop \
    403 	-fno-tree-loop-optimize \
    404 	-fno-move-loop-invariants \
    405 	-ffunction-sections \
    406 	-funwind-tables \
    407 	-g \
    408 	-fstack-protector \
    409 	-fno-short-enums \
    410 	-finline-limit=64 \
    411 	-Wa,--noexecstack \
    412 	-U_FORTIFY_SOURCE \
    413 	-Wno-extra \
    414 	-Wno-ignored-qualifiers \
    415 	-Wno-type-limits \
    416 	-Wno-unused-but-set-variable \
    417 	-Os \
    418 	-fno-ident \
    419 	-fdata-sections \
    420 	-ffunction-sections \
    421 	-fomit-frame-pointer \
    422 	-funwind-tables
    423 
    424 MY_DEFS_Release := \
    425 	'-DV8_DEPRECATION_WARNINGS' \
    426 	'-D_FILE_OFFSET_BITS=64' \
    427 	'-DNO_TCMALLOC' \
    428 	'-DDISABLE_NACL' \
    429 	'-DCHROMIUM_BUILD' \
    430 	'-DUSE_LIBJPEG_TURBO=1' \
    431 	'-DENABLE_WEBRTC=1' \
    432 	'-DUSE_PROPRIETARY_CODECS' \
    433 	'-DENABLE_BROWSER_CDMS' \
    434 	'-DENABLE_CONFIGURATION_POLICY' \
    435 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    436 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    437 	'-DENABLE_EGLIMAGE=1' \
    438 	'-DCLD_VERSION=1' \
    439 	'-DENABLE_PRINTING=1' \
    440 	'-DENABLE_MANAGED_USERS=1' \
    441 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    442 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    443 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    444 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    445 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    446 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    447 	'-DVIDEO_HOLE=1' \
    448 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    449 	'-DBLINK_IMPLEMENTATION=1' \
    450 	'-DINSIDE_BLINK' \
    451 	'-DENABLE_SVG_FONTS=1' \
    452 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    453 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    454 	'-DENABLE_WEB_AUDIO=1' \
    455 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    456 	'-DU_USING_ICU_NAMESPACE=0' \
    457 	'-DU_ENABLE_DYLOAD=0' \
    458 	'-DSK_ENABLE_INST_COUNT=0' \
    459 	'-DSK_SUPPORT_GPU=1' \
    460 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    461 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    462 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    463 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    464 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    465 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    466 	'-DSK_BUILD_FOR_ANDROID' \
    467 	'-DSK_USE_POSIX_THREADS' \
    468 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    469 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=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/icuuc/target \
    493 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    494 	$(gyp_shared_intermediate_dir) \
    495 	$(LOCAL_PATH)/third_party/WebKit/Source \
    496 	$(LOCAL_PATH) \
    497 	$(LOCAL_PATH)/skia/config \
    498 	$(LOCAL_PATH)/third_party/khronos \
    499 	$(LOCAL_PATH)/gpu \
    500 	$(gyp_shared_intermediate_dir)/blink \
    501 	$(LOCAL_PATH)/third_party/openmax_dl \
    502 	$(LOCAL_PATH)/third_party/angle/include \
    503 	$(PWD)/external/icu/icu4c/source/common \
    504 	$(PWD)/external/icu/icu4c/source/i18n \
    505 	$(LOCAL_PATH)/third_party/WebKit \
    506 	$(LOCAL_PATH)/third_party/skia/src/core \
    507 	$(LOCAL_PATH)/third_party/skia/include/core \
    508 	$(LOCAL_PATH)/third_party/skia/include/effects \
    509 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    510 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    511 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    512 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    513 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    514 	$(LOCAL_PATH)/third_party/skia/include/ports \
    515 	$(LOCAL_PATH)/third_party/skia/include/utils \
    516 	$(LOCAL_PATH)/skia/ext \
    517 	$(LOCAL_PATH)/third_party/iccjpeg \
    518 	$(LOCAL_PATH)/third_party/libpng \
    519 	$(LOCAL_PATH)/third_party/libwebp \
    520 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    521 	$(LOCAL_PATH)/third_party/libxml/src/include \
    522 	$(LOCAL_PATH)/third_party/libxslt \
    523 	$(LOCAL_PATH)/third_party/npapi \
    524 	$(LOCAL_PATH)/third_party/npapi/bindings \
    525 	$(LOCAL_PATH)/third_party/ots/include \
    526 	$(LOCAL_PATH)/third_party/qcms/src \
    527 	$(LOCAL_PATH)/third_party/sqlite \
    528 	$(LOCAL_PATH)/third_party/zlib \
    529 	$(LOCAL_PATH)/v8/include \
    530 	$(PWD)/frameworks/wilhelm/include \
    531 	$(PWD)/bionic \
    532 	$(PWD)/external/stlport/stlport
    533 
    534 
    535 # Flags passed to only C++ (and not C) files.
    536 LOCAL_CPPFLAGS_Release := \
    537 	-fno-exceptions \
    538 	-fno-rtti \
    539 	-fno-threadsafe-statics \
    540 	-fvisibility-inlines-hidden \
    541 	-Wsign-compare \
    542 	-Wno-c++0x-compat \
    543 	-Wno-abi \
    544 	-std=gnu++11 \
    545 	-Wno-narrowing \
    546 	-Wno-literal-suffix \
    547 	-Wno-non-virtual-dtor \
    548 	-Wno-sign-promo
    549 
    550 
    551 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    552 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    553 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    554 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    555 ### Rules for final target.
    556 
    557 LOCAL_SHARED_LIBRARIES := \
    558 	libstlport \
    559 	libdl
    560 
    561 # Add target alias to "gyp_all_modules" target.
    562 .PHONY: gyp_all_modules
    563 gyp_all_modules: third_party_WebKit_Source_core_webcore_dom_gyp
    564 
    565 # Alias gyp target name.
    566 .PHONY: webcore_dom
    567 webcore_dom: third_party_WebKit_Source_core_webcore_dom_gyp
    568 
    569 include $(BUILD_STATIC_LIBRARY)
    570