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