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 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 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)/webcore_prerequisites.stamp 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/WebKit/Source/core/rendering/AutoTableLayout.cpp \ 27 third_party/WebKit/Source/core/rendering/BidiRun.cpp \ 28 third_party/WebKit/Source/core/rendering/CounterNode.cpp \ 29 third_party/WebKit/Source/core/rendering/EllipsisBox.cpp \ 30 third_party/WebKit/Source/core/rendering/FilterEffectRenderer.cpp \ 31 third_party/WebKit/Source/core/rendering/FixedTableLayout.cpp \ 32 third_party/WebKit/Source/core/rendering/FlowThreadController.cpp \ 33 third_party/WebKit/Source/core/rendering/TextAutosizer.cpp \ 34 third_party/WebKit/Source/core/rendering/HitTestingTransformState.cpp \ 35 third_party/WebKit/Source/core/rendering/HitTestLocation.cpp \ 36 third_party/WebKit/Source/core/rendering/HitTestResult.cpp \ 37 third_party/WebKit/Source/core/rendering/InlineBox.cpp \ 38 third_party/WebKit/Source/core/rendering/InlineFlowBox.cpp \ 39 third_party/WebKit/Source/core/rendering/InlineTextBox.cpp \ 40 third_party/WebKit/Source/core/rendering/ImageQualityController.cpp \ 41 third_party/WebKit/Source/core/rendering/LayoutState.cpp \ 42 third_party/WebKit/Source/core/rendering/OrderIterator.cpp \ 43 third_party/WebKit/Source/core/rendering/LayoutRepainter.cpp \ 44 third_party/WebKit/Source/core/rendering/Pagination.cpp \ 45 third_party/WebKit/Source/core/rendering/PointerEventsHitRules.cpp \ 46 third_party/WebKit/Source/core/rendering/RenderApplet.cpp \ 47 third_party/WebKit/Source/core/rendering/RenderBR.cpp \ 48 third_party/WebKit/Source/core/rendering/RenderBlock.cpp \ 49 third_party/WebKit/Source/core/rendering/RenderBlockLineLayout.cpp \ 50 third_party/WebKit/Source/core/rendering/RenderBox.cpp \ 51 third_party/WebKit/Source/core/rendering/RenderBoxModelObject.cpp \ 52 third_party/WebKit/Source/core/rendering/RenderButton.cpp \ 53 third_party/WebKit/Source/core/rendering/RenderCombineText.cpp \ 54 third_party/WebKit/Source/core/rendering/RenderCounter.cpp \ 55 third_party/WebKit/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp \ 56 third_party/WebKit/Source/core/rendering/RenderDetailsMarker.cpp \ 57 third_party/WebKit/Source/core/rendering/RenderEmbeddedObject.cpp \ 58 third_party/WebKit/Source/core/rendering/RenderFieldset.cpp \ 59 third_party/WebKit/Source/core/rendering/RenderFileUploadControl.cpp \ 60 third_party/WebKit/Source/core/rendering/RenderFlexibleBox.cpp \ 61 third_party/WebKit/Source/core/rendering/RenderFlowThread.cpp \ 62 third_party/WebKit/Source/core/rendering/RenderFrame.cpp \ 63 third_party/WebKit/Source/core/rendering/RenderFrameSet.cpp \ 64 third_party/WebKit/Source/core/rendering/RenderFullScreen.cpp \ 65 third_party/WebKit/Source/core/rendering/RenderGrid.cpp \ 66 third_party/WebKit/Source/core/rendering/RenderGeometryMap.cpp \ 67 third_party/WebKit/Source/core/rendering/RenderHTMLCanvas.cpp \ 68 third_party/WebKit/Source/core/rendering/RenderIFrame.cpp \ 69 third_party/WebKit/Source/core/rendering/RenderImage.cpp \ 70 third_party/WebKit/Source/core/rendering/RenderImageResource.cpp \ 71 third_party/WebKit/Source/core/rendering/RenderImageResourceStyleImage.cpp \ 72 third_party/WebKit/Source/core/rendering/RenderInline.cpp \ 73 third_party/WebKit/Source/core/rendering/RenderInputSpeech.cpp \ 74 third_party/WebKit/Source/core/rendering/RenderLayer.cpp \ 75 third_party/WebKit/Source/core/rendering/RenderLayerBacking.cpp \ 76 third_party/WebKit/Source/core/rendering/RenderLayerCompositor.cpp \ 77 third_party/WebKit/Source/core/rendering/RenderLayerFilterInfo.cpp \ 78 third_party/WebKit/Source/core/rendering/RenderLayerModelObject.cpp \ 79 third_party/WebKit/Source/core/rendering/RenderLazyBlock.cpp \ 80 third_party/WebKit/Source/core/rendering/RenderLineBoxList.cpp \ 81 third_party/WebKit/Source/core/rendering/RenderListBox.cpp \ 82 third_party/WebKit/Source/core/rendering/RenderListItem.cpp \ 83 third_party/WebKit/Source/core/rendering/RenderListMarker.cpp \ 84 third_party/WebKit/Source/core/rendering/RenderMarquee.cpp \ 85 third_party/WebKit/Source/core/rendering/RenderMedia.cpp \ 86 third_party/WebKit/Source/core/rendering/RenderMediaControlElements.cpp \ 87 third_party/WebKit/Source/core/rendering/RenderMediaControls.cpp \ 88 third_party/WebKit/Source/core/rendering/RenderMediaControlsChromium.cpp \ 89 third_party/WebKit/Source/core/rendering/RenderMenuList.cpp \ 90 third_party/WebKit/Source/core/rendering/RenderMeter.cpp \ 91 third_party/WebKit/Source/core/rendering/RenderMultiColumnBlock.cpp \ 92 third_party/WebKit/Source/core/rendering/RenderMultiColumnFlowThread.cpp \ 93 third_party/WebKit/Source/core/rendering/RenderMultiColumnSet.cpp \ 94 third_party/WebKit/Source/core/rendering/RenderNamedFlowThread.cpp \ 95 third_party/WebKit/Source/core/rendering/RenderObject.cpp \ 96 third_party/WebKit/Source/core/rendering/RenderObjectChildList.cpp \ 97 third_party/WebKit/Source/core/rendering/RenderPart.cpp \ 98 third_party/WebKit/Source/core/rendering/RenderProgress.cpp \ 99 third_party/WebKit/Source/core/rendering/RenderQuote.cpp \ 100 third_party/WebKit/Source/core/rendering/RenderRegion.cpp \ 101 third_party/WebKit/Source/core/rendering/RenderRegionSet.cpp \ 102 third_party/WebKit/Source/core/rendering/RenderReplaced.cpp \ 103 third_party/WebKit/Source/core/rendering/RenderReplica.cpp \ 104 third_party/WebKit/Source/core/rendering/RenderRuby.cpp \ 105 third_party/WebKit/Source/core/rendering/RenderRubyBase.cpp \ 106 third_party/WebKit/Source/core/rendering/RenderRubyRun.cpp \ 107 third_party/WebKit/Source/core/rendering/RenderRubyText.cpp \ 108 third_party/WebKit/Source/core/rendering/RenderScrollbar.cpp \ 109 third_party/WebKit/Source/core/rendering/RenderScrollbarPart.cpp \ 110 third_party/WebKit/Source/core/rendering/RenderScrollbarTheme.cpp \ 111 third_party/WebKit/Source/core/rendering/RenderSearchField.cpp \ 112 third_party/WebKit/Source/core/rendering/RenderSlider.cpp \ 113 third_party/WebKit/Source/core/rendering/RenderTable.cpp \ 114 third_party/WebKit/Source/core/rendering/RenderTableCaption.cpp \ 115 third_party/WebKit/Source/core/rendering/RenderTableCell.cpp \ 116 third_party/WebKit/Source/core/rendering/RenderTableCol.cpp \ 117 third_party/WebKit/Source/core/rendering/RenderTableRow.cpp \ 118 third_party/WebKit/Source/core/rendering/RenderTableSection.cpp \ 119 third_party/WebKit/Source/core/rendering/RenderText.cpp \ 120 third_party/WebKit/Source/core/rendering/RenderTextControl.cpp \ 121 third_party/WebKit/Source/core/rendering/RenderTextControlMultiLine.cpp \ 122 third_party/WebKit/Source/core/rendering/RenderTextControlSingleLine.cpp \ 123 third_party/WebKit/Source/core/rendering/RenderTextFragment.cpp \ 124 third_party/WebKit/Source/core/rendering/RenderTextTrackCue.cpp \ 125 third_party/WebKit/Source/core/rendering/RenderTheme.cpp \ 126 third_party/WebKit/Source/core/rendering/RenderThemeChromiumAndroid.cpp \ 127 third_party/WebKit/Source/core/rendering/RenderThemeChromiumDefault.cpp \ 128 third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProvider.cpp \ 129 third_party/WebKit/Source/core/rendering/RenderThemeChromiumFontProviderLinux.cpp \ 130 third_party/WebKit/Source/core/rendering/RenderThemeChromiumSkia.cpp \ 131 third_party/WebKit/Source/core/rendering/RenderTreeAsText.cpp \ 132 third_party/WebKit/Source/core/rendering/RenderVideo.cpp \ 133 third_party/WebKit/Source/core/rendering/RenderView.cpp \ 134 third_party/WebKit/Source/core/rendering/RenderWidget.cpp \ 135 third_party/WebKit/Source/core/rendering/RenderWordBreak.cpp \ 136 third_party/WebKit/Source/core/rendering/RootInlineBox.cpp \ 137 third_party/WebKit/Source/core/rendering/ScrollBehavior.cpp \ 138 third_party/WebKit/Source/core/rendering/break_lines.cpp \ 139 third_party/WebKit/Source/core/rendering/shapes/PolygonShape.cpp \ 140 third_party/WebKit/Source/core/rendering/shapes/RectangleShape.cpp \ 141 third_party/WebKit/Source/core/rendering/shapes/Shape.cpp \ 142 third_party/WebKit/Source/core/rendering/shapes/ShapeInfo.cpp \ 143 third_party/WebKit/Source/core/rendering/shapes/ShapeInsideInfo.cpp \ 144 third_party/WebKit/Source/core/rendering/shapes/ShapeInterval.cpp \ 145 third_party/WebKit/Source/core/rendering/shapes/ShapeOutsideInfo.cpp \ 146 third_party/WebKit/Source/core/rendering/style/BasicShapes.cpp \ 147 third_party/WebKit/Source/core/rendering/style/ContentData.cpp \ 148 third_party/WebKit/Source/core/rendering/style/CounterDirectives.cpp \ 149 third_party/WebKit/Source/core/rendering/style/FillLayer.cpp \ 150 third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp \ 151 third_party/WebKit/Source/core/rendering/style/NinePieceImage.cpp \ 152 third_party/WebKit/Source/core/rendering/style/QuotesData.cpp \ 153 third_party/WebKit/Source/core/rendering/style/RenderStyle.cpp \ 154 third_party/WebKit/Source/core/rendering/style/ShadowData.cpp \ 155 third_party/WebKit/Source/core/rendering/style/StyleBackgroundData.cpp \ 156 third_party/WebKit/Source/core/rendering/style/StyleBoxData.cpp \ 157 third_party/WebKit/Source/core/rendering/style/StyleFetchedImage.cpp \ 158 third_party/WebKit/Source/core/rendering/style/StyleFetchedImageSet.cpp \ 159 third_party/WebKit/Source/core/rendering/style/StyleFetchedShader.cpp \ 160 third_party/WebKit/Source/core/rendering/style/StyleCustomFilterProgramCache.cpp \ 161 third_party/WebKit/Source/core/rendering/style/StyleCustomFilterProgram.cpp \ 162 third_party/WebKit/Source/core/rendering/style/StyleDeprecatedFlexibleBoxData.cpp \ 163 third_party/WebKit/Source/core/rendering/style/StyleFilterData.cpp \ 164 third_party/WebKit/Source/core/rendering/style/StyleFlexibleBoxData.cpp \ 165 third_party/WebKit/Source/core/rendering/style/StyleGeneratedImage.cpp \ 166 third_party/WebKit/Source/core/rendering/style/StyleGridData.cpp \ 167 third_party/WebKit/Source/core/rendering/style/StyleGridItemData.cpp \ 168 third_party/WebKit/Source/core/rendering/style/StyleInheritedData.cpp \ 169 third_party/WebKit/Source/core/rendering/style/StyleMarqueeData.cpp \ 170 third_party/WebKit/Source/core/rendering/style/StyleMultiColData.cpp \ 171 third_party/WebKit/Source/core/rendering/style/StyleRareInheritedData.cpp \ 172 third_party/WebKit/Source/core/rendering/style/StyleRareNonInheritedData.cpp \ 173 third_party/WebKit/Source/core/rendering/style/StyleSurroundData.cpp \ 174 third_party/WebKit/Source/core/rendering/style/StyleTransformData.cpp \ 175 third_party/WebKit/Source/core/rendering/style/StyleVisualData.cpp 176 177 178 # Flags passed to both C and C++ files. 179 MY_CFLAGS_Debug := \ 180 -fstack-protector \ 181 --param=ssp-buffer-size=4 \ 182 \ 183 -fno-exceptions \ 184 -fno-strict-aliasing \ 185 -Wno-unused-parameter \ 186 -Wno-missing-field-initializers \ 187 -fvisibility=hidden \ 188 -pipe \ 189 -fPIC \ 190 -Wno-format \ 191 -EL \ 192 -mhard-float \ 193 -ffunction-sections \ 194 -funwind-tables \ 195 -g \ 196 -fstack-protector \ 197 -fno-short-enums \ 198 -finline-limit=64 \ 199 -Wa,--noexecstack \ 200 -U_FORTIFY_SOURCE \ 201 -Wno-extra \ 202 -Wno-ignored-qualifiers \ 203 -Wno-type-limits \ 204 -Wno-address \ 205 -Wno-format-security \ 206 -Wno-return-type \ 207 -Wno-sequence-point \ 208 -Os \ 209 -g \ 210 -fomit-frame-pointer \ 211 -fdata-sections \ 212 -ffunction-sections 213 214 MY_DEFS_Debug := \ 215 '-DANGLE_DX11' \ 216 '-D_FILE_OFFSET_BITS=64' \ 217 '-DNO_TCMALLOC' \ 218 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 219 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 220 '-DDISABLE_NACL' \ 221 '-DCHROMIUM_BUILD' \ 222 '-DUSE_LIBJPEG_TURBO=1' \ 223 '-DUSE_PROPRIETARY_CODECS' \ 224 '-DENABLE_CONFIGURATION_POLICY' \ 225 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 226 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 227 '-DENABLE_GPU=1' \ 228 '-DUSE_OPENSSL=1' \ 229 '-DENABLE_EGLIMAGE=1' \ 230 '-DENABLE_PRINTING=1' \ 231 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 232 '-DWEBKIT_IMPLEMENTATION=1' \ 233 '-DINSIDE_WEBKIT' \ 234 '-DENABLE_CSS3_TEXT=0' \ 235 '-DENABLE_CSS_EXCLUSIONS=1' \ 236 '-DENABLE_CSS_REGIONS=1' \ 237 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 238 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 239 '-DENABLE_SVG_FONTS=1' \ 240 '-DENABLE_TOUCH_ICON_LOADING=1' \ 241 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 242 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 243 '-DENABLE_CALENDAR_PICKER=0' \ 244 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 245 '-DENABLE_INPUT_SPEECH=0' \ 246 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 247 '-DENABLE_MEDIA_CAPTURE=1' \ 248 '-DENABLE_NOTIFICATIONS=0' \ 249 '-DENABLE_ORIENTATION_EVENTS=1' \ 250 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 251 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 252 '-DENABLE_OPENTYPE_VERTICAL=1' \ 253 '-DWTF_USE_HARFBUZZ=1' \ 254 '-DU_USING_ICU_NAMESPACE=0' \ 255 '-DCHROME_PNG_WRITE_SUPPORT' \ 256 '-DPNG_USER_CONFIG' \ 257 '-DLIBXML_STATIC' \ 258 '-DLIBXSLT_STATIC' \ 259 '-DUSE_SYSTEM_LIBJPEG' \ 260 '-DANDROID' \ 261 '-D__GNU_SOURCE=1' \ 262 '-DUSE_STLPORT=1' \ 263 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 264 '-DCHROME_BUILD_ID=""' \ 265 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 266 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 267 '-D_DEBUG' 268 269 270 # Include paths placed before CFLAGS/CPPFLAGS 271 LOCAL_C_INCLUDES_Debug := \ 272 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 273 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 274 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 275 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 276 $(LOCAL_PATH)/third_party/khronos \ 277 $(LOCAL_PATH)/gpu \ 278 $(LOCAL_PATH) \ 279 $(LOCAL_PATH)/third_party/WebKit \ 280 $(LOCAL_PATH)/third_party/WebKit/Source \ 281 $(gyp_shared_intermediate_dir)/blink \ 282 $(gyp_shared_intermediate_dir)/blink/bindings \ 283 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 284 $(PWD)/external/icu4c/common \ 285 $(PWD)/external/icu4c/i18n \ 286 $(LOCAL_PATH)/third_party/skia/src/core \ 287 $(LOCAL_PATH)/skia/ext \ 288 $(LOCAL_PATH)/third_party/iccjpeg \ 289 $(LOCAL_PATH)/third_party/libpng \ 290 $(LOCAL_PATH)/third_party/libwebp \ 291 $(LOCAL_PATH)/third_party/libxml/linux/include \ 292 $(LOCAL_PATH)/third_party/libxml/src/include \ 293 $(LOCAL_PATH)/third_party/libxslt \ 294 $(LOCAL_PATH)/third_party/npapi \ 295 $(LOCAL_PATH)/third_party/npapi/bindings \ 296 $(LOCAL_PATH)/third_party/ots/include \ 297 $(LOCAL_PATH)/third_party/qcms/src \ 298 $(LOCAL_PATH)/third_party/sqlite \ 299 $(LOCAL_PATH)/third_party/zlib \ 300 $(LOCAL_PATH)/v8/include \ 301 $(PWD)/external/jpeg \ 302 $(PWD)/frameworks/wilhelm/include \ 303 $(PWD)/bionic \ 304 $(PWD)/external/stlport/stlport 305 306 307 # Flags passed to only C++ (and not C) files. 308 LOCAL_CPPFLAGS_Debug := \ 309 -fno-rtti \ 310 -fno-threadsafe-statics \ 311 -fvisibility-inlines-hidden \ 312 -Wno-c++0x-compat \ 313 -Wno-deprecated \ 314 -Wno-uninitialized \ 315 -Wno-error=c++0x-compat \ 316 -Wno-non-virtual-dtor \ 317 -Wno-sign-promo \ 318 -Wno-non-virtual-dtor 319 320 321 # Flags passed to both C and C++ files. 322 MY_CFLAGS_Release := \ 323 -fstack-protector \ 324 --param=ssp-buffer-size=4 \ 325 \ 326 -fno-exceptions \ 327 -fno-strict-aliasing \ 328 -Wno-unused-parameter \ 329 -Wno-missing-field-initializers \ 330 -fvisibility=hidden \ 331 -pipe \ 332 -fPIC \ 333 -Wno-format \ 334 -EL \ 335 -mhard-float \ 336 -ffunction-sections \ 337 -funwind-tables \ 338 -g \ 339 -fstack-protector \ 340 -fno-short-enums \ 341 -finline-limit=64 \ 342 -Wa,--noexecstack \ 343 -U_FORTIFY_SOURCE \ 344 -Wno-extra \ 345 -Wno-ignored-qualifiers \ 346 -Wno-type-limits \ 347 -Wno-address \ 348 -Wno-format-security \ 349 -Wno-return-type \ 350 -Wno-sequence-point \ 351 -Os \ 352 -fno-ident \ 353 -fdata-sections \ 354 -ffunction-sections \ 355 -fomit-frame-pointer 356 357 MY_DEFS_Release := \ 358 '-DANGLE_DX11' \ 359 '-D_FILE_OFFSET_BITS=64' \ 360 '-DNO_TCMALLOC' \ 361 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 362 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 363 '-DDISABLE_NACL' \ 364 '-DCHROMIUM_BUILD' \ 365 '-DUSE_LIBJPEG_TURBO=1' \ 366 '-DUSE_PROPRIETARY_CODECS' \ 367 '-DENABLE_CONFIGURATION_POLICY' \ 368 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 369 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 370 '-DENABLE_GPU=1' \ 371 '-DUSE_OPENSSL=1' \ 372 '-DENABLE_EGLIMAGE=1' \ 373 '-DENABLE_PRINTING=1' \ 374 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 375 '-DWEBKIT_IMPLEMENTATION=1' \ 376 '-DINSIDE_WEBKIT' \ 377 '-DENABLE_CSS3_TEXT=0' \ 378 '-DENABLE_CSS_EXCLUSIONS=1' \ 379 '-DENABLE_CSS_REGIONS=1' \ 380 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 381 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 382 '-DENABLE_SVG_FONTS=1' \ 383 '-DENABLE_TOUCH_ICON_LOADING=1' \ 384 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 385 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 386 '-DENABLE_CALENDAR_PICKER=0' \ 387 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 388 '-DENABLE_INPUT_SPEECH=0' \ 389 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 390 '-DENABLE_MEDIA_CAPTURE=1' \ 391 '-DENABLE_NOTIFICATIONS=0' \ 392 '-DENABLE_ORIENTATION_EVENTS=1' \ 393 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 394 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 395 '-DENABLE_OPENTYPE_VERTICAL=1' \ 396 '-DWTF_USE_HARFBUZZ=1' \ 397 '-DU_USING_ICU_NAMESPACE=0' \ 398 '-DCHROME_PNG_WRITE_SUPPORT' \ 399 '-DPNG_USER_CONFIG' \ 400 '-DLIBXML_STATIC' \ 401 '-DLIBXSLT_STATIC' \ 402 '-DUSE_SYSTEM_LIBJPEG' \ 403 '-DANDROID' \ 404 '-D__GNU_SOURCE=1' \ 405 '-DUSE_STLPORT=1' \ 406 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 407 '-DCHROME_BUILD_ID=""' \ 408 '-DNDEBUG' \ 409 '-DNVALGRIND' \ 410 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 411 412 413 # Include paths placed before CFLAGS/CPPFLAGS 414 LOCAL_C_INCLUDES_Release := \ 415 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 416 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 417 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 418 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 419 $(LOCAL_PATH)/third_party/khronos \ 420 $(LOCAL_PATH)/gpu \ 421 $(LOCAL_PATH) \ 422 $(LOCAL_PATH)/third_party/WebKit \ 423 $(LOCAL_PATH)/third_party/WebKit/Source \ 424 $(gyp_shared_intermediate_dir)/blink \ 425 $(gyp_shared_intermediate_dir)/blink/bindings \ 426 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 427 $(PWD)/external/icu4c/common \ 428 $(PWD)/external/icu4c/i18n \ 429 $(LOCAL_PATH)/third_party/skia/src/core \ 430 $(LOCAL_PATH)/skia/ext \ 431 $(LOCAL_PATH)/third_party/iccjpeg \ 432 $(LOCAL_PATH)/third_party/libpng \ 433 $(LOCAL_PATH)/third_party/libwebp \ 434 $(LOCAL_PATH)/third_party/libxml/linux/include \ 435 $(LOCAL_PATH)/third_party/libxml/src/include \ 436 $(LOCAL_PATH)/third_party/libxslt \ 437 $(LOCAL_PATH)/third_party/npapi \ 438 $(LOCAL_PATH)/third_party/npapi/bindings \ 439 $(LOCAL_PATH)/third_party/ots/include \ 440 $(LOCAL_PATH)/third_party/qcms/src \ 441 $(LOCAL_PATH)/third_party/sqlite \ 442 $(LOCAL_PATH)/third_party/zlib \ 443 $(LOCAL_PATH)/v8/include \ 444 $(PWD)/external/jpeg \ 445 $(PWD)/frameworks/wilhelm/include \ 446 $(PWD)/bionic \ 447 $(PWD)/external/stlport/stlport 448 449 450 # Flags passed to only C++ (and not C) files. 451 LOCAL_CPPFLAGS_Release := \ 452 -fno-rtti \ 453 -fno-threadsafe-statics \ 454 -fvisibility-inlines-hidden \ 455 -Wno-c++0x-compat \ 456 -Wno-deprecated \ 457 -Wno-uninitialized \ 458 -Wno-error=c++0x-compat \ 459 -Wno-non-virtual-dtor \ 460 -Wno-sign-promo \ 461 -Wno-non-virtual-dtor 462 463 464 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 465 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 466 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 467 ### Rules for final target. 468 469 LOCAL_LDFLAGS_Debug := \ 470 -Wl,-z,now \ 471 -Wl,-z,relro \ 472 -Wl,-z,noexecstack \ 473 -fPIC \ 474 -EL \ 475 -Wl,--no-keep-memory \ 476 -nostdlib \ 477 -Wl,--no-undefined \ 478 -Wl,--exclude-libs=ALL \ 479 -Wl,--fatal-warnings \ 480 -Wl,--gc-sections \ 481 -Wl,--warn-shared-textrel \ 482 -Wl,-O1 \ 483 -Wl,--as-needed 484 485 486 LOCAL_LDFLAGS_Release := \ 487 -Wl,-z,now \ 488 -Wl,-z,relro \ 489 -Wl,-z,noexecstack \ 490 -fPIC \ 491 -EL \ 492 -Wl,--no-keep-memory \ 493 -nostdlib \ 494 -Wl,--no-undefined \ 495 -Wl,--exclude-libs=ALL \ 496 -Wl,-O1 \ 497 -Wl,--as-needed \ 498 -Wl,--gc-sections \ 499 -Wl,--fatal-warnings \ 500 -Wl,--warn-shared-textrel 501 502 503 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 504 505 LOCAL_STATIC_LIBRARIES := 506 507 # Enable grouping to fix circular references 508 LOCAL_GROUP_STATIC_LIBRARIES := true 509 510 LOCAL_SHARED_LIBRARIES := \ 511 libskia \ 512 libstlport \ 513 libdl 514 515 # Add target alias to "gyp_all_modules" target. 516 .PHONY: gyp_all_modules 517 gyp_all_modules: third_party_WebKit_Source_core_webcore_rendering_gyp 518 519 # Alias gyp target name. 520 .PHONY: webcore_rendering 521 webcore_rendering: third_party_WebKit_Source_core_webcore_rendering_gyp 522 523 include $(BUILD_STATIC_LIBRARY) 524