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 --param=ssp-buffer-size=4 \ 181 -fno-exceptions \ 182 -fno-strict-aliasing \ 183 -Wno-unused-parameter \ 184 -Wno-missing-field-initializers \ 185 -fvisibility=hidden \ 186 -pipe \ 187 -fPIC \ 188 -Wno-uninitialized \ 189 -Wno-format \ 190 -m32 \ 191 -mmmx \ 192 -march=pentium4 \ 193 -msse2 \ 194 -mfpmath=sse \ 195 -fuse-ld=gold \ 196 -ffunction-sections \ 197 -funwind-tables \ 198 -g \ 199 -fno-short-enums \ 200 -finline-limit=64 \ 201 -Wa,--noexecstack \ 202 -U_FORTIFY_SOURCE \ 203 -Wno-extra \ 204 -Wno-ignored-qualifiers \ 205 -Wno-type-limits \ 206 -Wno-address \ 207 -Wno-format-security \ 208 -Wno-return-type \ 209 -Wno-sequence-point \ 210 -fno-stack-protector \ 211 -Os \ 212 -g \ 213 -fomit-frame-pointer \ 214 -fdata-sections \ 215 -ffunction-sections 216 217 MY_DEFS_Debug := \ 218 '-DANGLE_DX11' \ 219 '-D_FILE_OFFSET_BITS=64' \ 220 '-DNO_TCMALLOC' \ 221 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 222 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 223 '-DDISABLE_NACL' \ 224 '-DCHROMIUM_BUILD' \ 225 '-DUSE_LIBJPEG_TURBO=1' \ 226 '-DUSE_PROPRIETARY_CODECS' \ 227 '-DENABLE_CONFIGURATION_POLICY' \ 228 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 229 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 230 '-DENABLE_GPU=1' \ 231 '-DUSE_OPENSSL=1' \ 232 '-DENABLE_EGLIMAGE=1' \ 233 '-DENABLE_PRINTING=1' \ 234 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 235 '-DWEBKIT_IMPLEMENTATION=1' \ 236 '-DINSIDE_WEBKIT' \ 237 '-DENABLE_CSS3_TEXT=0' \ 238 '-DENABLE_CSS_EXCLUSIONS=1' \ 239 '-DENABLE_CSS_REGIONS=1' \ 240 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 241 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 242 '-DENABLE_SVG_FONTS=1' \ 243 '-DENABLE_TOUCH_ICON_LOADING=1' \ 244 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 245 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 246 '-DENABLE_CALENDAR_PICKER=0' \ 247 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 248 '-DENABLE_INPUT_SPEECH=0' \ 249 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 250 '-DENABLE_MEDIA_CAPTURE=1' \ 251 '-DENABLE_NOTIFICATIONS=0' \ 252 '-DENABLE_ORIENTATION_EVENTS=1' \ 253 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 254 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 255 '-DENABLE_OPENTYPE_VERTICAL=1' \ 256 '-DWTF_USE_HARFBUZZ=1' \ 257 '-DU_USING_ICU_NAMESPACE=0' \ 258 '-DCHROME_PNG_WRITE_SUPPORT' \ 259 '-DPNG_USER_CONFIG' \ 260 '-DLIBXML_STATIC' \ 261 '-DLIBXSLT_STATIC' \ 262 '-DUSE_SYSTEM_LIBJPEG' \ 263 '-DANDROID' \ 264 '-D__GNU_SOURCE=1' \ 265 '-DUSE_STLPORT=1' \ 266 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 267 '-DCHROME_BUILD_ID=""' \ 268 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 269 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 270 '-D_DEBUG' 271 272 273 # Include paths placed before CFLAGS/CPPFLAGS 274 LOCAL_C_INCLUDES_Debug := \ 275 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 276 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 277 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 278 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 279 $(LOCAL_PATH)/third_party/khronos \ 280 $(LOCAL_PATH)/gpu \ 281 $(LOCAL_PATH) \ 282 $(LOCAL_PATH)/third_party/WebKit \ 283 $(LOCAL_PATH)/third_party/WebKit/Source \ 284 $(gyp_shared_intermediate_dir)/blink \ 285 $(gyp_shared_intermediate_dir)/blink/bindings \ 286 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 287 $(PWD)/external/icu4c/common \ 288 $(PWD)/external/icu4c/i18n \ 289 $(LOCAL_PATH)/third_party/skia/src/core \ 290 $(LOCAL_PATH)/skia/ext \ 291 $(LOCAL_PATH)/third_party/iccjpeg \ 292 $(LOCAL_PATH)/third_party/libpng \ 293 $(LOCAL_PATH)/third_party/libwebp \ 294 $(LOCAL_PATH)/third_party/libxml/linux/include \ 295 $(LOCAL_PATH)/third_party/libxml/src/include \ 296 $(LOCAL_PATH)/third_party/libxslt \ 297 $(LOCAL_PATH)/third_party/npapi \ 298 $(LOCAL_PATH)/third_party/npapi/bindings \ 299 $(LOCAL_PATH)/third_party/ots/include \ 300 $(LOCAL_PATH)/third_party/qcms/src \ 301 $(LOCAL_PATH)/third_party/sqlite \ 302 $(LOCAL_PATH)/third_party/zlib \ 303 $(LOCAL_PATH)/v8/include \ 304 $(PWD)/external/jpeg \ 305 $(PWD)/frameworks/wilhelm/include \ 306 $(PWD)/bionic \ 307 $(PWD)/external/stlport/stlport 308 309 310 # Flags passed to only C++ (and not C) files. 311 LOCAL_CPPFLAGS_Debug := \ 312 -fno-rtti \ 313 -fno-threadsafe-statics \ 314 -fvisibility-inlines-hidden \ 315 -Wno-c++0x-compat \ 316 -Wno-deprecated \ 317 -Wno-error=c++0x-compat \ 318 -Wno-non-virtual-dtor \ 319 -Wno-sign-promo \ 320 -Wno-non-virtual-dtor 321 322 323 # Flags passed to both C and C++ files. 324 MY_CFLAGS_Release := \ 325 --param=ssp-buffer-size=4 \ 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-uninitialized \ 334 -Wno-format \ 335 -m32 \ 336 -mmmx \ 337 -march=pentium4 \ 338 -msse2 \ 339 -mfpmath=sse \ 340 -fuse-ld=gold \ 341 -ffunction-sections \ 342 -funwind-tables \ 343 -g \ 344 -fno-short-enums \ 345 -finline-limit=64 \ 346 -Wa,--noexecstack \ 347 -U_FORTIFY_SOURCE \ 348 -Wno-extra \ 349 -Wno-ignored-qualifiers \ 350 -Wno-type-limits \ 351 -Wno-address \ 352 -Wno-format-security \ 353 -Wno-return-type \ 354 -Wno-sequence-point \ 355 -fno-stack-protector \ 356 -Os \ 357 -fno-ident \ 358 -fdata-sections \ 359 -ffunction-sections \ 360 -fomit-frame-pointer \ 361 -fno-unwind-tables \ 362 -fno-asynchronous-unwind-tables 363 364 MY_DEFS_Release := \ 365 '-DANGLE_DX11' \ 366 '-D_FILE_OFFSET_BITS=64' \ 367 '-DNO_TCMALLOC' \ 368 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 369 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 370 '-DDISABLE_NACL' \ 371 '-DCHROMIUM_BUILD' \ 372 '-DUSE_LIBJPEG_TURBO=1' \ 373 '-DUSE_PROPRIETARY_CODECS' \ 374 '-DENABLE_CONFIGURATION_POLICY' \ 375 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 376 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 377 '-DENABLE_GPU=1' \ 378 '-DUSE_OPENSSL=1' \ 379 '-DENABLE_EGLIMAGE=1' \ 380 '-DENABLE_PRINTING=1' \ 381 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 382 '-DWEBKIT_IMPLEMENTATION=1' \ 383 '-DINSIDE_WEBKIT' \ 384 '-DENABLE_CSS3_TEXT=0' \ 385 '-DENABLE_CSS_EXCLUSIONS=1' \ 386 '-DENABLE_CSS_REGIONS=1' \ 387 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 388 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 389 '-DENABLE_SVG_FONTS=1' \ 390 '-DENABLE_TOUCH_ICON_LOADING=1' \ 391 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 392 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 393 '-DENABLE_CALENDAR_PICKER=0' \ 394 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 395 '-DENABLE_INPUT_SPEECH=0' \ 396 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 397 '-DENABLE_MEDIA_CAPTURE=1' \ 398 '-DENABLE_NOTIFICATIONS=0' \ 399 '-DENABLE_ORIENTATION_EVENTS=1' \ 400 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 401 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 402 '-DENABLE_OPENTYPE_VERTICAL=1' \ 403 '-DWTF_USE_HARFBUZZ=1' \ 404 '-DU_USING_ICU_NAMESPACE=0' \ 405 '-DCHROME_PNG_WRITE_SUPPORT' \ 406 '-DPNG_USER_CONFIG' \ 407 '-DLIBXML_STATIC' \ 408 '-DLIBXSLT_STATIC' \ 409 '-DUSE_SYSTEM_LIBJPEG' \ 410 '-DANDROID' \ 411 '-D__GNU_SOURCE=1' \ 412 '-DUSE_STLPORT=1' \ 413 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 414 '-DCHROME_BUILD_ID=""' \ 415 '-DNDEBUG' \ 416 '-DNVALGRIND' \ 417 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 418 419 420 # Include paths placed before CFLAGS/CPPFLAGS 421 LOCAL_C_INCLUDES_Release := \ 422 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 423 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 424 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 425 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 426 $(LOCAL_PATH)/third_party/khronos \ 427 $(LOCAL_PATH)/gpu \ 428 $(LOCAL_PATH) \ 429 $(LOCAL_PATH)/third_party/WebKit \ 430 $(LOCAL_PATH)/third_party/WebKit/Source \ 431 $(gyp_shared_intermediate_dir)/blink \ 432 $(gyp_shared_intermediate_dir)/blink/bindings \ 433 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 434 $(PWD)/external/icu4c/common \ 435 $(PWD)/external/icu4c/i18n \ 436 $(LOCAL_PATH)/third_party/skia/src/core \ 437 $(LOCAL_PATH)/skia/ext \ 438 $(LOCAL_PATH)/third_party/iccjpeg \ 439 $(LOCAL_PATH)/third_party/libpng \ 440 $(LOCAL_PATH)/third_party/libwebp \ 441 $(LOCAL_PATH)/third_party/libxml/linux/include \ 442 $(LOCAL_PATH)/third_party/libxml/src/include \ 443 $(LOCAL_PATH)/third_party/libxslt \ 444 $(LOCAL_PATH)/third_party/npapi \ 445 $(LOCAL_PATH)/third_party/npapi/bindings \ 446 $(LOCAL_PATH)/third_party/ots/include \ 447 $(LOCAL_PATH)/third_party/qcms/src \ 448 $(LOCAL_PATH)/third_party/sqlite \ 449 $(LOCAL_PATH)/third_party/zlib \ 450 $(LOCAL_PATH)/v8/include \ 451 $(PWD)/external/jpeg \ 452 $(PWD)/frameworks/wilhelm/include \ 453 $(PWD)/bionic \ 454 $(PWD)/external/stlport/stlport 455 456 457 # Flags passed to only C++ (and not C) files. 458 LOCAL_CPPFLAGS_Release := \ 459 -fno-rtti \ 460 -fno-threadsafe-statics \ 461 -fvisibility-inlines-hidden \ 462 -Wno-c++0x-compat \ 463 -Wno-deprecated \ 464 -Wno-error=c++0x-compat \ 465 -Wno-non-virtual-dtor \ 466 -Wno-sign-promo \ 467 -Wno-non-virtual-dtor 468 469 470 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 471 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 472 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 473 ### Rules for final target. 474 475 LOCAL_LDFLAGS_Debug := \ 476 -Wl,-z,now \ 477 -Wl,-z,relro \ 478 -Wl,-z,noexecstack \ 479 -fPIC \ 480 -m32 \ 481 -fuse-ld=gold \ 482 -nostdlib \ 483 -Wl,--no-undefined \ 484 -Wl,--exclude-libs=ALL \ 485 -Wl,--fatal-warnings \ 486 -Wl,--gc-sections \ 487 -Wl,--warn-shared-textrel \ 488 -Wl,-O1 \ 489 -Wl,--as-needed 490 491 492 LOCAL_LDFLAGS_Release := \ 493 -Wl,-z,now \ 494 -Wl,-z,relro \ 495 -Wl,-z,noexecstack \ 496 -fPIC \ 497 -m32 \ 498 -fuse-ld=gold \ 499 -nostdlib \ 500 -Wl,--no-undefined \ 501 -Wl,--exclude-libs=ALL \ 502 -Wl,-O1 \ 503 -Wl,--as-needed \ 504 -Wl,--gc-sections \ 505 -Wl,--fatal-warnings \ 506 -Wl,--warn-shared-textrel 507 508 509 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 510 511 LOCAL_STATIC_LIBRARIES := 512 513 # Enable grouping to fix circular references 514 LOCAL_GROUP_STATIC_LIBRARIES := true 515 516 LOCAL_SHARED_LIBRARIES := \ 517 libskia \ 518 libstlport \ 519 libdl 520 521 # Add target alias to "gyp_all_modules" target. 522 .PHONY: gyp_all_modules 523 gyp_all_modules: third_party_WebKit_Source_core_webcore_rendering_gyp 524 525 # Alias gyp target name. 526 .PHONY: webcore_rendering 527 webcore_rendering: third_party_WebKit_Source_core_webcore_rendering_gyp 528 529 include $(BUILD_STATIC_LIBRARY) 530