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_rendering_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/rendering/AbstractInlineTextBox.cpp \
     29 	third_party/WebKit/Source/core/rendering/AutoTableLayout.cpp \
     30 	third_party/WebKit/Source/core/rendering/ClipRect.cpp \
     31 	third_party/WebKit/Source/core/rendering/CounterNode.cpp \
     32 	third_party/WebKit/Source/core/rendering/EllipsisBox.cpp \
     33 	third_party/WebKit/Source/core/rendering/FastTextAutosizer.cpp \
     34 	third_party/WebKit/Source/core/rendering/FilterEffectRenderer.cpp \
     35 	third_party/WebKit/Source/core/rendering/FixedTableLayout.cpp \
     36 	third_party/WebKit/Source/core/rendering/FloatingObjects.cpp \
     37 	third_party/WebKit/Source/core/rendering/FlowThreadController.cpp \
     38 	third_party/WebKit/Source/core/rendering/GraphicsContextAnnotator.cpp \
     39 	third_party/WebKit/Source/core/rendering/HitTestLocation.cpp \
     40 	third_party/WebKit/Source/core/rendering/HitTestResult.cpp \
     41 	third_party/WebKit/Source/core/rendering/HitTestingTransformState.cpp \
     42 	third_party/WebKit/Source/core/rendering/ImageQualityController.cpp \
     43 	third_party/WebKit/Source/core/rendering/InlineBox.cpp \
     44 	third_party/WebKit/Source/core/rendering/InlineFlowBox.cpp \
     45 	third_party/WebKit/Source/core/rendering/InlineTextBox.cpp \
     46 	third_party/WebKit/Source/core/rendering/LayoutRepainter.cpp \
     47 	third_party/WebKit/Source/core/rendering/LayoutState.cpp \
     48 	third_party/WebKit/Source/core/rendering/OrderIterator.cpp \
     49 	third_party/WebKit/Source/core/rendering/PointerEventsHitRules.cpp \
     50 	third_party/WebKit/Source/core/rendering/RenderApplet.cpp \
     51 	third_party/WebKit/Source/core/rendering/RenderBR.cpp \
     52 	third_party/WebKit/Source/core/rendering/RenderBlock.cpp \
     53 	third_party/WebKit/Source/core/rendering/RenderBlockFlow.cpp \
     54 	third_party/WebKit/Source/core/rendering/RenderBlockLineLayout.cpp \
     55 	third_party/WebKit/Source/core/rendering/RenderBox.cpp \
     56 	third_party/WebKit/Source/core/rendering/RenderBoxModelObject.cpp \
     57 	third_party/WebKit/Source/core/rendering/RenderButton.cpp \
     58 	third_party/WebKit/Source/core/rendering/RenderCombineText.cpp \
     59 	third_party/WebKit/Source/core/rendering/RenderCounter.cpp \
     60 	third_party/WebKit/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp \
     61 	third_party/WebKit/Source/core/rendering/RenderDetailsMarker.cpp \
     62 	third_party/WebKit/Source/core/rendering/RenderEmbeddedObject.cpp \
     63 	third_party/WebKit/Source/core/rendering/RenderFieldset.cpp \
     64 	third_party/WebKit/Source/core/rendering/RenderFileUploadControl.cpp \
     65 	third_party/WebKit/Source/core/rendering/RenderFlexibleBox.cpp \
     66 	third_party/WebKit/Source/core/rendering/RenderFlowThread.cpp \
     67 	third_party/WebKit/Source/core/rendering/RenderFrame.cpp \
     68 	third_party/WebKit/Source/core/rendering/RenderFrameSet.cpp \
     69 	third_party/WebKit/Source/core/rendering/RenderFullScreen.cpp \
     70 	third_party/WebKit/Source/core/rendering/RenderGeometryMap.cpp \
     71 	third_party/WebKit/Source/core/rendering/RenderGrid.cpp \
     72 	third_party/WebKit/Source/core/rendering/RenderHTMLCanvas.cpp \
     73 	third_party/WebKit/Source/core/rendering/RenderIFrame.cpp \
     74 	third_party/WebKit/Source/core/rendering/RenderImage.cpp \
     75 	third_party/WebKit/Source/core/rendering/RenderImageResource.cpp \
     76 	third_party/WebKit/Source/core/rendering/RenderImageResourceStyleImage.cpp \
     77 	third_party/WebKit/Source/core/rendering/RenderInline.cpp \
     78 	third_party/WebKit/Source/core/rendering/RenderLayer.cpp \
     79 	third_party/WebKit/Source/core/rendering/RenderLayerBlendInfo.cpp \
     80 	third_party/WebKit/Source/core/rendering/RenderLayerClipper.cpp \
     81 	third_party/WebKit/Source/core/rendering/RenderLayerFilterInfo.cpp \
     82 	third_party/WebKit/Source/core/rendering/RenderLayerModelObject.cpp \
     83 	third_party/WebKit/Source/core/rendering/RenderLayerReflectionInfo.cpp \
     84 	third_party/WebKit/Source/core/rendering/RenderLayerRepainter.cpp \
     85 	third_party/WebKit/Source/core/rendering/RenderLayerScrollableArea.cpp \
     86 	third_party/WebKit/Source/core/rendering/RenderLayerStackingNode.cpp \
     87 	third_party/WebKit/Source/core/rendering/RenderLayerStackingNodeIterator.cpp \
     88 	third_party/WebKit/Source/core/rendering/RenderLineBoxList.cpp \
     89 	third_party/WebKit/Source/core/rendering/RenderListBox.cpp \
     90 	third_party/WebKit/Source/core/rendering/RenderListItem.cpp \
     91 	third_party/WebKit/Source/core/rendering/RenderListMarker.cpp \
     92 	third_party/WebKit/Source/core/rendering/RenderMarquee.cpp \
     93 	third_party/WebKit/Source/core/rendering/RenderMedia.cpp \
     94 	third_party/WebKit/Source/core/rendering/RenderMediaControlElements.cpp \
     95 	third_party/WebKit/Source/core/rendering/RenderMediaControls.cpp \
     96 	third_party/WebKit/Source/core/rendering/RenderMenuList.cpp \
     97 	third_party/WebKit/Source/core/rendering/RenderMeter.cpp \
     98 	third_party/WebKit/Source/core/rendering/RenderMultiColumnFlowThread.cpp \
     99 	third_party/WebKit/Source/core/rendering/RenderMultiColumnSet.cpp \
    100 	third_party/WebKit/Source/core/rendering/RenderObject.cpp \
    101 	third_party/WebKit/Source/core/rendering/RenderObjectChildList.cpp \
    102 	third_party/WebKit/Source/core/rendering/RenderPart.cpp \
    103 	third_party/WebKit/Source/core/rendering/RenderProgress.cpp \
    104 	third_party/WebKit/Source/core/rendering/RenderQuote.cpp \
    105 	third_party/WebKit/Source/core/rendering/RenderRegion.cpp \
    106 	third_party/WebKit/Source/core/rendering/RenderReplaced.cpp \
    107 	third_party/WebKit/Source/core/rendering/RenderReplica.cpp \
    108 	third_party/WebKit/Source/core/rendering/RenderRuby.cpp \
    109 	third_party/WebKit/Source/core/rendering/RenderRubyBase.cpp \
    110 	third_party/WebKit/Source/core/rendering/RenderRubyRun.cpp \
    111 	third_party/WebKit/Source/core/rendering/RenderRubyText.cpp \
    112 	third_party/WebKit/Source/core/rendering/RenderScrollbar.cpp \
    113 	third_party/WebKit/Source/core/rendering/RenderScrollbarPart.cpp \
    114 	third_party/WebKit/Source/core/rendering/RenderScrollbarTheme.cpp \
    115 	third_party/WebKit/Source/core/rendering/RenderSearchField.cpp \
    116 	third_party/WebKit/Source/core/rendering/RenderSlider.cpp \
    117 	third_party/WebKit/Source/core/rendering/RenderTable.cpp \
    118 	third_party/WebKit/Source/core/rendering/RenderTableCaption.cpp \
    119 	third_party/WebKit/Source/core/rendering/RenderTableCell.cpp \
    120 	third_party/WebKit/Source/core/rendering/RenderTableCol.cpp \
    121 	third_party/WebKit/Source/core/rendering/RenderTableRow.cpp \
    122 	third_party/WebKit/Source/core/rendering/RenderTableSection.cpp \
    123 	third_party/WebKit/Source/core/rendering/RenderText.cpp \
    124 	third_party/WebKit/Source/core/rendering/RenderTextControl.cpp \
    125 	third_party/WebKit/Source/core/rendering/RenderTextControlMultiLine.cpp \
    126 	third_party/WebKit/Source/core/rendering/RenderTextControlSingleLine.cpp \
    127 	third_party/WebKit/Source/core/rendering/RenderTextFragment.cpp \
    128 	third_party/WebKit/Source/core/rendering/RenderTheme.cpp \
    129 	third_party/WebKit/Source/core/rendering/RenderThemeChromiumAndroid.cpp \
    130 	third_party/WebKit/Source/core/rendering/RenderThemeChromiumDefault.cpp \
    131 	third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProvider.cpp \
    132 	third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp \
    133 	third_party/WebKit/Source/core/rendering/RenderThemeChromiumSkia.cpp \
    134 	third_party/WebKit/Source/core/rendering/RenderTreeAsText.cpp \
    135 	third_party/WebKit/Source/core/rendering/RenderVTTCue.cpp \
    136 	third_party/WebKit/Source/core/rendering/RenderVideo.cpp \
    137 	third_party/WebKit/Source/core/rendering/RenderView.cpp \
    138 	third_party/WebKit/Source/core/rendering/RenderWidget.cpp \
    139 	third_party/WebKit/Source/core/rendering/RenderWordBreak.cpp \
    140 	third_party/WebKit/Source/core/rendering/RootInlineBox.cpp \
    141 	third_party/WebKit/Source/core/rendering/ScrollAlignment.cpp \
    142 	third_party/WebKit/Source/core/rendering/SubtreeLayoutScope.cpp \
    143 	third_party/WebKit/Source/core/rendering/TextAutosizer.cpp \
    144 	third_party/WebKit/Source/core/rendering/break_lines.cpp \
    145 	third_party/WebKit/Source/core/rendering/compositing/CompositedLayerMapping.cpp \
    146 	third_party/WebKit/Source/core/rendering/compositing/CompositingInputsUpdater.cpp \
    147 	third_party/WebKit/Source/core/rendering/compositing/CompositingLayerAssigner.cpp \
    148 	third_party/WebKit/Source/core/rendering/compositing/CompositingReasonFinder.cpp \
    149 	third_party/WebKit/Source/core/rendering/compositing/CompositingRequirementsUpdater.cpp \
    150 	third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp \
    151 	third_party/WebKit/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp \
    152 	third_party/WebKit/Source/core/rendering/compositing/RenderLayerCompositor.cpp \
    153 	third_party/WebKit/Source/core/rendering/line/BreakingContext.cpp \
    154 	third_party/WebKit/Source/core/rendering/line/LineBreaker.cpp \
    155 	third_party/WebKit/Source/core/rendering/line/LineWidth.cpp \
    156 	third_party/WebKit/Source/core/rendering/line/TrailingObjects.cpp \
    157 	third_party/WebKit/Source/core/rendering/shapes/BoxShape.cpp \
    158 	third_party/WebKit/Source/core/rendering/shapes/PolygonShape.cpp \
    159 	third_party/WebKit/Source/core/rendering/shapes/RasterShape.cpp \
    160 	third_party/WebKit/Source/core/rendering/shapes/RectangleShape.cpp \
    161 	third_party/WebKit/Source/core/rendering/shapes/Shape.cpp \
    162 	third_party/WebKit/Source/core/rendering/shapes/ShapeOutsideInfo.cpp \
    163 	third_party/WebKit/Source/core/rendering/style/AppliedTextDecoration.cpp \
    164 	third_party/WebKit/Source/core/rendering/style/BasicShapes.cpp \
    165 	third_party/WebKit/Source/core/rendering/style/ContentData.cpp \
    166 	third_party/WebKit/Source/core/rendering/style/CounterDirectives.cpp \
    167 	third_party/WebKit/Source/core/rendering/style/FillLayer.cpp \
    168 	third_party/WebKit/Source/core/rendering/style/GridResolvedPosition.cpp \
    169 	third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp \
    170 	third_party/WebKit/Source/core/rendering/style/NinePieceImage.cpp \
    171 	third_party/WebKit/Source/core/rendering/style/QuotesData.cpp \
    172 	third_party/WebKit/Source/core/rendering/style/RenderStyle.cpp \
    173 	third_party/WebKit/Source/core/rendering/style/ShadowData.cpp \
    174 	third_party/WebKit/Source/core/rendering/style/ShadowList.cpp \
    175 	third_party/WebKit/Source/core/rendering/style/StyleBackgroundData.cpp \
    176 	third_party/WebKit/Source/core/rendering/style/StyleBoxData.cpp \
    177 	third_party/WebKit/Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.cpp \
    178 	third_party/WebKit/Source/core/rendering/style/StyleFetchedImage.cpp \
    179 	third_party/WebKit/Source/core/rendering/style/StyleFetchedImageSet.cpp \
    180 	third_party/WebKit/Source/core/rendering/style/StyleFilterData.cpp \
    181 	third_party/WebKit/Source/core/rendering/style/StyleFlexibleBoxData.cpp \
    182 	third_party/WebKit/Source/core/rendering/style/StyleGeneratedImage.cpp \
    183 	third_party/WebKit/Source/core/rendering/style/StyleGridData.cpp \
    184 	third_party/WebKit/Source/core/rendering/style/StyleGridItemData.cpp \
    185 	third_party/WebKit/Source/core/rendering/style/StyleInheritedData.cpp \
    186 	third_party/WebKit/Source/core/rendering/style/StyleMarqueeData.cpp \
    187 	third_party/WebKit/Source/core/rendering/style/StyleMultiColData.cpp \
    188 	third_party/WebKit/Source/core/rendering/style/StyleRareInheritedData.cpp \
    189 	third_party/WebKit/Source/core/rendering/style/StyleRareNonInheritedData.cpp \
    190 	third_party/WebKit/Source/core/rendering/style/StyleSurroundData.cpp \
    191 	third_party/WebKit/Source/core/rendering/style/StyleTransformData.cpp \
    192 	third_party/WebKit/Source/core/rendering/style/StyleVisualData.cpp \
    193 	third_party/WebKit/Source/core/rendering/style/StyleWillChangeData.cpp
    194 
    195 
    196 # Flags passed to both C and C++ files.
    197 MY_CFLAGS_Debug := \
    198 	-fstack-protector \
    199 	--param=ssp-buffer-size=4 \
    200 	-Werror \
    201 	-fno-exceptions \
    202 	-fno-strict-aliasing \
    203 	-Wall \
    204 	-Wno-unused-parameter \
    205 	-Wno-missing-field-initializers \
    206 	-fvisibility=hidden \
    207 	-pipe \
    208 	-fPIC \
    209 	-Wno-unused-local-typedefs \
    210 	-fno-tree-sra \
    211 	-fno-partial-inlining \
    212 	-fno-early-inlining \
    213 	-fno-tree-copy-prop \
    214 	-fno-tree-loop-optimize \
    215 	-fno-move-loop-invariants \
    216 	-fno-caller-saves \
    217 	-Wno-psabi \
    218 	-ffunction-sections \
    219 	-funwind-tables \
    220 	-g \
    221 	-fstack-protector \
    222 	-fno-short-enums \
    223 	-finline-limit=64 \
    224 	-Wa,--noexecstack \
    225 	-U_FORTIFY_SOURCE \
    226 	-Wno-extra \
    227 	-Wno-ignored-qualifiers \
    228 	-Wno-type-limits \
    229 	-Wno-unused-but-set-variable \
    230 	-Os \
    231 	-g \
    232 	-fdata-sections \
    233 	-ffunction-sections \
    234 	-fomit-frame-pointer \
    235 	-funwind-tables
    236 
    237 MY_DEFS_Debug := \
    238 	'-DV8_DEPRECATION_WARNINGS' \
    239 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    240 	'-D_FILE_OFFSET_BITS=64' \
    241 	'-DNO_TCMALLOC' \
    242 	'-DDISABLE_NACL' \
    243 	'-DCHROMIUM_BUILD' \
    244 	'-DUSE_LIBJPEG_TURBO=1' \
    245 	'-DENABLE_WEBRTC=1' \
    246 	'-DUSE_PROPRIETARY_CODECS' \
    247 	'-DENABLE_BROWSER_CDMS' \
    248 	'-DENABLE_CONFIGURATION_POLICY' \
    249 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    250 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    251 	'-DENABLE_EGLIMAGE=1' \
    252 	'-DCLD_VERSION=1' \
    253 	'-DENABLE_PRINTING=1' \
    254 	'-DENABLE_MANAGED_USERS=1' \
    255 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    256 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    257 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    258 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    259 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    260 	'-DVIDEO_HOLE=1' \
    261 	'-DBLINK_IMPLEMENTATION=1' \
    262 	'-DINSIDE_BLINK' \
    263 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    264 	'-DENABLE_SVG_FONTS=1' \
    265 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    266 	'-DENABLE_MEDIA_CAPTURE=1' \
    267 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    268 	'-DENABLE_WEB_AUDIO=1' \
    269 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    270 	'-DU_USING_ICU_NAMESPACE=0' \
    271 	'-DSK_ENABLE_INST_COUNT=0' \
    272 	'-DSK_SUPPORT_GPU=1' \
    273 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    274 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    275 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    276 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    277 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    278 	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
    279 	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
    280 	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
    281 	'-DSK_SUPPORT_LEGACY_N32_NAME' \
    282 	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
    283 	'-DSK_IGNORE_ETC1_SUPPORT' \
    284 	'-DSK_IGNORE_GPU_DITHER' \
    285 	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
    286 	'-DSK_BUILD_FOR_ANDROID' \
    287 	'-DSK_USE_POSIX_THREADS' \
    288 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    289 	'-DCHROME_PNG_WRITE_SUPPORT' \
    290 	'-DPNG_USER_CONFIG' \
    291 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    292 	'-DLIBXML_STATIC' \
    293 	'-DLIBXSLT_STATIC' \
    294 	'-DUSE_OPENSSL=1' \
    295 	'-DUSE_OPENSSL_CERTS=1' \
    296 	'-D__STDC_CONSTANT_MACROS' \
    297 	'-D__STDC_FORMAT_MACROS' \
    298 	'-DANDROID' \
    299 	'-D__GNU_SOURCE=1' \
    300 	'-DUSE_STLPORT=1' \
    301 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    302 	'-DCHROME_BUILD_ID=""' \
    303 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    304 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    305 	'-D_DEBUG'
    306 
    307 
    308 # Include paths placed before CFLAGS/CPPFLAGS
    309 LOCAL_C_INCLUDES_Debug := \
    310 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    311 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    312 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    313 	$(gyp_shared_intermediate_dir) \
    314 	$(LOCAL_PATH)/third_party/WebKit/Source \
    315 	$(LOCAL_PATH) \
    316 	$(LOCAL_PATH)/skia/config \
    317 	$(LOCAL_PATH)/third_party/khronos \
    318 	$(LOCAL_PATH)/gpu \
    319 	$(gyp_shared_intermediate_dir)/blink/core \
    320 	$(gyp_shared_intermediate_dir)/blink/modules \
    321 	$(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \
    322 	$(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \
    323 	$(gyp_shared_intermediate_dir)/blink \
    324 	$(LOCAL_PATH)/third_party/openmax_dl \
    325 	$(LOCAL_PATH)/third_party/angle/include \
    326 	$(PWD)/external/icu/icu4c/source/common \
    327 	$(PWD)/external/icu/icu4c/source/i18n \
    328 	$(LOCAL_PATH)/third_party/WebKit \
    329 	$(LOCAL_PATH)/third_party/skia/src/core \
    330 	$(LOCAL_PATH)/third_party/skia/include/core \
    331 	$(LOCAL_PATH)/third_party/skia/include/effects \
    332 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    333 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    334 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    335 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    336 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    337 	$(LOCAL_PATH)/third_party/skia/include/ports \
    338 	$(LOCAL_PATH)/third_party/skia/include/utils \
    339 	$(LOCAL_PATH)/skia/ext \
    340 	$(LOCAL_PATH)/third_party/iccjpeg \
    341 	$(LOCAL_PATH)/third_party/libpng \
    342 	$(LOCAL_PATH)/third_party/libwebp \
    343 	$(LOCAL_PATH)/third_party/libxml/linux/include \
    344 	$(LOCAL_PATH)/third_party/libxml/src/include \
    345 	$(LOCAL_PATH)/third_party/libxslt \
    346 	$(LOCAL_PATH)/third_party/npapi \
    347 	$(LOCAL_PATH)/third_party/npapi/bindings \
    348 	$(LOCAL_PATH)/third_party/ots/include \
    349 	$(LOCAL_PATH)/third_party/qcms/src \
    350 	$(LOCAL_PATH)/third_party/sqlite \
    351 	$(LOCAL_PATH)/third_party/zlib \
    352 	$(LOCAL_PATH)/v8/include \
    353 	$(PWD)/frameworks/wilhelm/include \
    354 	$(PWD)/bionic \
    355 	$(PWD)/external/stlport/stlport
    356 
    357 
    358 # Flags passed to only C++ (and not C) files.
    359 LOCAL_CPPFLAGS_Debug := \
    360 	-fno-rtti \
    361 	-fno-threadsafe-statics \
    362 	-fvisibility-inlines-hidden \
    363 	-Wsign-compare \
    364 	-Wno-c++0x-compat \
    365 	-Wno-abi \
    366 	-Wno-non-virtual-dtor \
    367 	-Wno-sign-promo
    368 
    369 
    370 LOCAL_FDO_SUPPORT_Debug := false
    371 
    372 # Flags passed to both C and C++ files.
    373 MY_CFLAGS_Release := \
    374 	-fstack-protector \
    375 	--param=ssp-buffer-size=4 \
    376 	-Werror \
    377 	-fno-exceptions \
    378 	-fno-strict-aliasing \
    379 	-Wall \
    380 	-Wno-unused-parameter \
    381 	-Wno-missing-field-initializers \
    382 	-fvisibility=hidden \
    383 	-pipe \
    384 	-fPIC \
    385 	-Wno-unused-local-typedefs \
    386 	-fno-tree-sra \
    387 	-fno-partial-inlining \
    388 	-fno-early-inlining \
    389 	-fno-tree-copy-prop \
    390 	-fno-tree-loop-optimize \
    391 	-fno-move-loop-invariants \
    392 	-fno-caller-saves \
    393 	-Wno-psabi \
    394 	-ffunction-sections \
    395 	-funwind-tables \
    396 	-g \
    397 	-fstack-protector \
    398 	-fno-short-enums \
    399 	-finline-limit=64 \
    400 	-Wa,--noexecstack \
    401 	-U_FORTIFY_SOURCE \
    402 	-Wno-extra \
    403 	-Wno-ignored-qualifiers \
    404 	-Wno-type-limits \
    405 	-Wno-unused-but-set-variable \
    406 	-Os \
    407 	-fno-ident \
    408 	-fdata-sections \
    409 	-ffunction-sections \
    410 	-fomit-frame-pointer \
    411 	-funwind-tables
    412 
    413 MY_DEFS_Release := \
    414 	'-DV8_DEPRECATION_WARNINGS' \
    415 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    416 	'-D_FILE_OFFSET_BITS=64' \
    417 	'-DNO_TCMALLOC' \
    418 	'-DDISABLE_NACL' \
    419 	'-DCHROMIUM_BUILD' \
    420 	'-DUSE_LIBJPEG_TURBO=1' \
    421 	'-DENABLE_WEBRTC=1' \
    422 	'-DUSE_PROPRIETARY_CODECS' \
    423 	'-DENABLE_BROWSER_CDMS' \
    424 	'-DENABLE_CONFIGURATION_POLICY' \
    425 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    426 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    427 	'-DENABLE_EGLIMAGE=1' \
    428 	'-DCLD_VERSION=1' \
    429 	'-DENABLE_PRINTING=1' \
    430 	'-DENABLE_MANAGED_USERS=1' \
    431 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    432 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    433 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    434 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    435 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    436 	'-DVIDEO_HOLE=1' \
    437 	'-DBLINK_IMPLEMENTATION=1' \
    438 	'-DINSIDE_BLINK' \
    439 	'-DENABLE_CUSTOM_SCHEME_HANDLER=0' \
    440 	'-DENABLE_SVG_FONTS=1' \
    441 	'-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \
    442 	'-DENABLE_MEDIA_CAPTURE=1' \
    443 	'-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \
    444 	'-DENABLE_WEB_AUDIO=1' \
    445 	'-DENABLE_OPENTYPE_VERTICAL=1' \
    446 	'-DU_USING_ICU_NAMESPACE=0' \
    447 	'-DSK_ENABLE_INST_COUNT=0' \
    448 	'-DSK_SUPPORT_GPU=1' \
    449 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    450 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    451 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    452 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    453 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    454 	'-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \
    455 	'-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \
    456 	'-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \
    457 	'-DSK_SUPPORT_LEGACY_N32_NAME' \
    458 	'-DSK_SUPPORT_LEGACY_SETCONFIG' \
    459 	'-DSK_IGNORE_ETC1_SUPPORT' \
    460 	'-DSK_IGNORE_GPU_DITHER' \
    461 	'-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \
    462 	'-DSK_BUILD_FOR_ANDROID' \
    463 	'-DSK_USE_POSIX_THREADS' \
    464 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    465 	'-DCHROME_PNG_WRITE_SUPPORT' \
    466 	'-DPNG_USER_CONFIG' \
    467 	'-DCHROME_PNG_READ_PACK_SUPPORT' \
    468 	'-DLIBXML_STATIC' \
    469 	'-DLIBXSLT_STATIC' \
    470 	'-DUSE_OPENSSL=1' \
    471 	'-DUSE_OPENSSL_CERTS=1' \
    472 	'-D__STDC_CONSTANT_MACROS' \
    473 	'-D__STDC_FORMAT_MACROS' \
    474 	'-DANDROID' \
    475 	'-D__GNU_SOURCE=1' \
    476 	'-DUSE_STLPORT=1' \
    477 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    478 	'-DCHROME_BUILD_ID=""' \
    479 	'-DNDEBUG' \
    480 	'-DNVALGRIND' \
    481 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    482 	'-D_FORTIFY_SOURCE=2'
    483 
    484 
    485 # Include paths placed before CFLAGS/CPPFLAGS
    486 LOCAL_C_INCLUDES_Release := \
    487 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    488 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    489 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    490 	$(gyp_shared_intermediate_dir) \
    491 	$(LOCAL_PATH)/third_party/WebKit/Source \
    492 	$(LOCAL_PATH) \
    493 	$(LOCAL_PATH)/skia/config \
    494 	$(LOCAL_PATH)/third_party/khronos \
    495 	$(LOCAL_PATH)/gpu \
    496 	$(gyp_shared_intermediate_dir)/blink/core \
    497 	$(gyp_shared_intermediate_dir)/blink/modules \
    498 	$(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \
    499 	$(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \
    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-rtti \
    538 	-fno-threadsafe-statics \
    539 	-fvisibility-inlines-hidden \
    540 	-Wsign-compare \
    541 	-Wno-c++0x-compat \
    542 	-Wno-abi \
    543 	-Wno-non-virtual-dtor \
    544 	-Wno-sign-promo
    545 
    546 
    547 LOCAL_FDO_SUPPORT_Release := false
    548 
    549 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    550 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    551 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    552 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    553 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    554 ### Rules for final target.
    555 
    556 LOCAL_LDFLAGS_Debug := \
    557 	-Wl,-z,now \
    558 	-Wl,-z,relro \
    559 	-Wl,--fatal-warnings \
    560 	-Wl,-z,noexecstack \
    561 	-fPIC \
    562 	-Wl,-z,relro \
    563 	-Wl,-z,now \
    564 	-fuse-ld=gold \
    565 	-nostdlib \
    566 	-Wl,--no-undefined \
    567 	-Wl,--exclude-libs=ALL \
    568 	-Wl,--icf=safe \
    569 	-Wl,--warn-shared-textrel \
    570 	-Wl,-O1 \
    571 	-Wl,--as-needed
    572 
    573 
    574 LOCAL_LDFLAGS_Release := \
    575 	-Wl,-z,now \
    576 	-Wl,-z,relro \
    577 	-Wl,--fatal-warnings \
    578 	-Wl,-z,noexecstack \
    579 	-fPIC \
    580 	-Wl,-z,relro \
    581 	-Wl,-z,now \
    582 	-fuse-ld=gold \
    583 	-nostdlib \
    584 	-Wl,--no-undefined \
    585 	-Wl,--exclude-libs=ALL \
    586 	-Wl,--icf=safe \
    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_rendering_gyp
    608 
    609 # Alias gyp target name.
    610 .PHONY: webcore_rendering
    611 webcore_rendering: third_party_WebKit_Source_core_webcore_rendering_gyp
    612 
    613 include $(BUILD_STATIC_LIBRARY)
    614