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_svg_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/style/SVGRenderStyle.cpp \ 27 third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.cpp \ 28 third_party/WebKit/Source/core/rendering/svg/ReferenceFilterBuilder.cpp \ 29 third_party/WebKit/Source/core/rendering/svg/RenderSVGBlock.cpp \ 30 third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.cpp \ 31 third_party/WebKit/Source/core/rendering/svg/RenderSVGEllipse.cpp \ 32 third_party/WebKit/Source/core/rendering/svg/RenderSVGForeignObject.cpp \ 33 third_party/WebKit/Source/core/rendering/svg/RenderSVGGradientStop.cpp \ 34 third_party/WebKit/Source/core/rendering/svg/RenderSVGHiddenContainer.cpp \ 35 third_party/WebKit/Source/core/rendering/svg/RenderSVGImage.cpp \ 36 third_party/WebKit/Source/core/rendering/svg/RenderSVGInline.cpp \ 37 third_party/WebKit/Source/core/rendering/svg/RenderSVGInlineText.cpp \ 38 third_party/WebKit/Source/core/rendering/svg/RenderSVGModelObject.cpp \ 39 third_party/WebKit/Source/core/rendering/svg/RenderSVGPath.cpp \ 40 third_party/WebKit/Source/core/rendering/svg/RenderSVGRect.cpp \ 41 third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.cpp \ 42 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceClipper.cpp \ 43 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.cpp \ 44 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilter.cpp \ 45 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp \ 46 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceGradient.cpp \ 47 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp \ 48 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMarker.cpp \ 49 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMasker.cpp \ 50 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourcePattern.cpp \ 51 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp \ 52 third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp \ 53 third_party/WebKit/Source/core/rendering/svg/RenderSVGRoot.cpp \ 54 third_party/WebKit/Source/core/rendering/svg/RenderSVGShape.cpp \ 55 third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp \ 56 third_party/WebKit/Source/core/rendering/svg/RenderSVGText.cpp \ 57 third_party/WebKit/Source/core/rendering/svg/RenderSVGTextPath.cpp \ 58 third_party/WebKit/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp \ 59 third_party/WebKit/Source/core/rendering/svg/RenderSVGViewportContainer.cpp \ 60 third_party/WebKit/Source/core/rendering/svg/SVGInlineFlowBox.cpp \ 61 third_party/WebKit/Source/core/rendering/svg/SVGInlineTextBox.cpp \ 62 third_party/WebKit/Source/core/rendering/svg/SVGPathData.cpp \ 63 third_party/WebKit/Source/core/rendering/svg/SVGRenderSupport.cpp \ 64 third_party/WebKit/Source/core/rendering/svg/SVGRenderTreeAsText.cpp \ 65 third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp \ 66 third_party/WebKit/Source/core/rendering/svg/SVGResources.cpp \ 67 third_party/WebKit/Source/core/rendering/svg/SVGResourcesCache.cpp \ 68 third_party/WebKit/Source/core/rendering/svg/SVGResourcesCycleSolver.cpp \ 69 third_party/WebKit/Source/core/rendering/svg/SVGRootInlineBox.cpp \ 70 third_party/WebKit/Source/core/rendering/svg/SVGTextChunk.cpp \ 71 third_party/WebKit/Source/core/rendering/svg/SVGTextChunkBuilder.cpp \ 72 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributes.cpp \ 73 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp \ 74 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngine.cpp \ 75 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp \ 76 third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp \ 77 third_party/WebKit/Source/core/rendering/svg/SVGTextMetrics.cpp \ 78 third_party/WebKit/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp \ 79 third_party/WebKit/Source/core/rendering/svg/SVGTextQuery.cpp \ 80 third_party/WebKit/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp \ 81 third_party/WebKit/Source/core/svg/ColorDistance.cpp \ 82 third_party/WebKit/Source/core/svg/SVGAElement.cpp \ 83 third_party/WebKit/Source/core/svg/SVGAltGlyphDefElement.cpp \ 84 third_party/WebKit/Source/core/svg/SVGAltGlyphElement.cpp \ 85 third_party/WebKit/Source/core/svg/SVGAltGlyphItemElement.cpp \ 86 third_party/WebKit/Source/core/svg/SVGAngle.cpp \ 87 third_party/WebKit/Source/core/svg/SVGAnimateColorElement.cpp \ 88 third_party/WebKit/Source/core/svg/SVGAnimatedAngle.cpp \ 89 third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.cpp \ 90 third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp \ 91 third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.cpp \ 92 third_party/WebKit/Source/core/svg/SVGAnimatedInteger.cpp \ 93 third_party/WebKit/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp \ 94 third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp \ 95 third_party/WebKit/Source/core/svg/SVGAnimatedLengthList.cpp \ 96 third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp \ 97 third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.cpp \ 98 third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp \ 99 third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp \ 100 third_party/WebKit/Source/core/svg/SVGAnimatedPointList.cpp \ 101 third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.cpp \ 102 third_party/WebKit/Source/core/svg/SVGAnimatedRect.cpp \ 103 third_party/WebKit/Source/core/svg/SVGAnimatedString.cpp \ 104 third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.cpp \ 105 third_party/WebKit/Source/core/svg/SVGAnimatedType.cpp \ 106 third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp \ 107 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp \ 108 third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp \ 109 third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp \ 110 third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp \ 111 third_party/WebKit/Source/core/svg/SVGCircleElement.cpp \ 112 third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp \ 113 third_party/WebKit/Source/core/svg/SVGColor.cpp \ 114 third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp \ 115 third_party/WebKit/Source/core/svg/SVGCursorElement.cpp \ 116 third_party/WebKit/Source/core/svg/SVGDefsElement.cpp \ 117 third_party/WebKit/Source/core/svg/SVGDescElement.cpp \ 118 third_party/WebKit/Source/core/svg/SVGDocument.cpp \ 119 third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp \ 120 third_party/WebKit/Source/core/svg/SVGElement.cpp \ 121 third_party/WebKit/Source/core/svg/SVGElementInstance.cpp \ 122 third_party/WebKit/Source/core/svg/SVGElementInstanceList.cpp \ 123 third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp \ 124 third_party/WebKit/Source/core/svg/SVGExternalResourcesRequired.cpp \ 125 third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp \ 126 third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp \ 127 third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp \ 128 third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp \ 129 third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp \ 130 third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp \ 131 third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp \ 132 third_party/WebKit/Source/core/svg/SVGFEDistantLightElement.cpp \ 133 third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp \ 134 third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp \ 135 third_party/WebKit/Source/core/svg/SVGFEFuncAElement.cpp \ 136 third_party/WebKit/Source/core/svg/SVGFEFuncBElement.cpp \ 137 third_party/WebKit/Source/core/svg/SVGFEFuncGElement.cpp \ 138 third_party/WebKit/Source/core/svg/SVGFEFuncRElement.cpp \ 139 third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp \ 140 third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp \ 141 third_party/WebKit/Source/core/svg/SVGFELightElement.cpp \ 142 third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp \ 143 third_party/WebKit/Source/core/svg/SVGFEMergeNodeElement.cpp \ 144 third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp \ 145 third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp \ 146 third_party/WebKit/Source/core/svg/SVGFEPointLightElement.cpp \ 147 third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp \ 148 third_party/WebKit/Source/core/svg/SVGFESpotLightElement.cpp \ 149 third_party/WebKit/Source/core/svg/SVGFETileElement.cpp \ 150 third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp \ 151 third_party/WebKit/Source/core/svg/SVGFilterElement.cpp \ 152 third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp \ 153 third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp \ 154 third_party/WebKit/Source/core/svg/SVGFontData.cpp \ 155 third_party/WebKit/Source/core/svg/SVGFontElement.cpp \ 156 third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp \ 157 third_party/WebKit/Source/core/svg/SVGFontFaceFormatElement.cpp \ 158 third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp \ 159 third_party/WebKit/Source/core/svg/SVGFontFaceSrcElement.cpp \ 160 third_party/WebKit/Source/core/svg/SVGFontFaceUriElement.cpp \ 161 third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp \ 162 third_party/WebKit/Source/core/svg/SVGGElement.cpp \ 163 third_party/WebKit/Source/core/svg/SVGGlyphElement.cpp \ 164 third_party/WebKit/Source/core/svg/SVGGlyphRefElement.cpp \ 165 third_party/WebKit/Source/core/svg/SVGGradientElement.cpp \ 166 third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp \ 167 third_party/WebKit/Source/core/svg/SVGHKernElement.cpp \ 168 third_party/WebKit/Source/core/svg/SVGImageElement.cpp \ 169 third_party/WebKit/Source/core/svg/SVGImageLoader.cpp \ 170 third_party/WebKit/Source/core/svg/SVGLangSpace.cpp \ 171 third_party/WebKit/Source/core/svg/SVGLength.cpp \ 172 third_party/WebKit/Source/core/svg/SVGLengthContext.cpp \ 173 third_party/WebKit/Source/core/svg/SVGLengthList.cpp \ 174 third_party/WebKit/Source/core/svg/SVGLineElement.cpp \ 175 third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp \ 176 third_party/WebKit/Source/core/svg/SVGLocatable.cpp \ 177 third_party/WebKit/Source/core/svg/SVGMPathElement.cpp \ 178 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp \ 179 third_party/WebKit/Source/core/svg/SVGMaskElement.cpp \ 180 third_party/WebKit/Source/core/svg/SVGMetadataElement.cpp \ 181 third_party/WebKit/Source/core/svg/SVGMissingGlyphElement.cpp \ 182 third_party/WebKit/Source/core/svg/SVGNumberList.cpp \ 183 third_party/WebKit/Source/core/svg/SVGPaint.cpp \ 184 third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp \ 185 third_party/WebKit/Source/core/svg/SVGPathBlender.cpp \ 186 third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp \ 187 third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp \ 188 third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp \ 189 third_party/WebKit/Source/core/svg/SVGPathElement.cpp \ 190 third_party/WebKit/Source/core/svg/SVGPathParser.cpp \ 191 third_party/WebKit/Source/core/svg/SVGPathSegList.cpp \ 192 third_party/WebKit/Source/core/svg/SVGPathSegListBuilder.cpp \ 193 third_party/WebKit/Source/core/svg/SVGPathSegListSource.cpp \ 194 third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp \ 195 third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp \ 196 third_party/WebKit/Source/core/svg/SVGPathTraversalStateBuilder.cpp \ 197 third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp \ 198 third_party/WebKit/Source/core/svg/SVGPatternElement.cpp \ 199 third_party/WebKit/Source/core/svg/SVGPointList.cpp \ 200 third_party/WebKit/Source/core/svg/SVGPolyElement.cpp \ 201 third_party/WebKit/Source/core/svg/SVGPolygonElement.cpp \ 202 third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp \ 203 third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp \ 204 third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp \ 205 third_party/WebKit/Source/core/svg/SVGRectElement.cpp \ 206 third_party/WebKit/Source/core/svg/SVGSVGElement.cpp \ 207 third_party/WebKit/Source/core/svg/SVGScriptElement.cpp \ 208 third_party/WebKit/Source/core/svg/SVGSetElement.cpp \ 209 third_party/WebKit/Source/core/svg/SVGStopElement.cpp \ 210 third_party/WebKit/Source/core/svg/SVGStringList.cpp \ 211 third_party/WebKit/Source/core/svg/SVGStyleElement.cpp \ 212 third_party/WebKit/Source/core/svg/SVGSwitchElement.cpp \ 213 third_party/WebKit/Source/core/svg/SVGSymbolElement.cpp \ 214 third_party/WebKit/Source/core/svg/SVGTRefElement.cpp \ 215 third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp \ 216 third_party/WebKit/Source/core/svg/SVGTests.cpp \ 217 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp \ 218 third_party/WebKit/Source/core/svg/SVGTextElement.cpp \ 219 third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp \ 220 third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp \ 221 third_party/WebKit/Source/core/svg/SVGTitleElement.cpp \ 222 third_party/WebKit/Source/core/svg/SVGTransform.cpp \ 223 third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp \ 224 third_party/WebKit/Source/core/svg/SVGTransformList.cpp \ 225 third_party/WebKit/Source/core/svg/SVGTransformable.cpp \ 226 third_party/WebKit/Source/core/svg/SVGURIReference.cpp \ 227 third_party/WebKit/Source/core/svg/SVGUnknownElement.cpp \ 228 third_party/WebKit/Source/core/svg/SVGUseElement.cpp \ 229 third_party/WebKit/Source/core/svg/SVGVKernElement.cpp \ 230 third_party/WebKit/Source/core/svg/SVGViewElement.cpp \ 231 third_party/WebKit/Source/core/svg/SVGViewSpec.cpp \ 232 third_party/WebKit/Source/core/svg/SVGZoomAndPan.cpp \ 233 third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp \ 234 third_party/WebKit/Source/core/svg/animation/SMILTime.cpp \ 235 third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp \ 236 third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp \ 237 third_party/WebKit/Source/core/svg/graphics/SVGImageCache.cpp \ 238 third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp \ 239 third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp \ 240 third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp \ 241 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilter.cpp \ 242 third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp \ 243 third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp \ 244 third_party/WebKit/Source/core/svg/properties/SVGAttributeToPropertyMap.cpp \ 245 third_party/WebKit/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp 246 247 248 # Flags passed to both C and C++ files. 249 MY_CFLAGS_Debug := \ 250 --param=ssp-buffer-size=4 \ 251 -fno-exceptions \ 252 -fno-strict-aliasing \ 253 -Wno-unused-parameter \ 254 -Wno-missing-field-initializers \ 255 -fvisibility=hidden \ 256 -pipe \ 257 -fPIC \ 258 -Wno-format \ 259 -m32 \ 260 -mmmx \ 261 -march=pentium4 \ 262 -msse2 \ 263 -mfpmath=sse \ 264 -fuse-ld=gold \ 265 -ffunction-sections \ 266 -funwind-tables \ 267 -g \ 268 -fno-short-enums \ 269 -finline-limit=64 \ 270 -Wa,--noexecstack \ 271 -U_FORTIFY_SOURCE \ 272 -Wno-extra \ 273 -Wno-ignored-qualifiers \ 274 -Wno-type-limits \ 275 -Wno-address \ 276 -Wno-format-security \ 277 -Wno-return-type \ 278 -Wno-sequence-point \ 279 -fno-stack-protector \ 280 -Os \ 281 -g \ 282 -fomit-frame-pointer \ 283 -fdata-sections \ 284 -ffunction-sections 285 286 MY_DEFS_Debug := \ 287 '-DANGLE_DX11' \ 288 '-D_FILE_OFFSET_BITS=64' \ 289 '-DNO_TCMALLOC' \ 290 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 291 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 292 '-DDISABLE_NACL' \ 293 '-DCHROMIUM_BUILD' \ 294 '-DUSE_LIBJPEG_TURBO=1' \ 295 '-DUSE_PROPRIETARY_CODECS' \ 296 '-DENABLE_CONFIGURATION_POLICY' \ 297 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 298 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 299 '-DENABLE_GPU=1' \ 300 '-DUSE_OPENSSL=1' \ 301 '-DENABLE_EGLIMAGE=1' \ 302 '-DENABLE_PRINTING=1' \ 303 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 304 '-DWEBKIT_IMPLEMENTATION=1' \ 305 '-DINSIDE_WEBKIT' \ 306 '-DENABLE_CSS3_TEXT=0' \ 307 '-DENABLE_CSS_EXCLUSIONS=1' \ 308 '-DENABLE_CSS_REGIONS=1' \ 309 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 310 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 311 '-DENABLE_SVG_FONTS=1' \ 312 '-DENABLE_TOUCH_ICON_LOADING=1' \ 313 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 314 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 315 '-DENABLE_CALENDAR_PICKER=0' \ 316 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 317 '-DENABLE_INPUT_SPEECH=0' \ 318 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 319 '-DENABLE_MEDIA_CAPTURE=1' \ 320 '-DENABLE_NOTIFICATIONS=0' \ 321 '-DENABLE_ORIENTATION_EVENTS=1' \ 322 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 323 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 324 '-DENABLE_OPENTYPE_VERTICAL=1' \ 325 '-DWTF_USE_HARFBUZZ=1' \ 326 '-DU_USING_ICU_NAMESPACE=0' \ 327 '-DCHROME_PNG_WRITE_SUPPORT' \ 328 '-DPNG_USER_CONFIG' \ 329 '-DLIBXML_STATIC' \ 330 '-DLIBXSLT_STATIC' \ 331 '-DUSE_SYSTEM_LIBJPEG' \ 332 '-DANDROID' \ 333 '-D__GNU_SOURCE=1' \ 334 '-DUSE_STLPORT=1' \ 335 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 336 '-DCHROME_BUILD_ID=""' \ 337 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 338 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 339 '-D_DEBUG' 340 341 342 # Include paths placed before CFLAGS/CPPFLAGS 343 LOCAL_C_INCLUDES_Debug := \ 344 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 345 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 346 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 347 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 348 $(LOCAL_PATH)/third_party/khronos \ 349 $(LOCAL_PATH)/gpu \ 350 $(LOCAL_PATH) \ 351 $(LOCAL_PATH)/third_party/WebKit \ 352 $(LOCAL_PATH)/third_party/WebKit/Source \ 353 $(gyp_shared_intermediate_dir)/blink \ 354 $(gyp_shared_intermediate_dir)/blink/bindings \ 355 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 356 $(PWD)/external/icu4c/common \ 357 $(PWD)/external/icu4c/i18n \ 358 $(LOCAL_PATH)/third_party/skia/src/core \ 359 $(LOCAL_PATH)/skia/ext \ 360 $(LOCAL_PATH)/third_party/iccjpeg \ 361 $(LOCAL_PATH)/third_party/libpng \ 362 $(LOCAL_PATH)/third_party/libwebp \ 363 $(LOCAL_PATH)/third_party/libxml/linux/include \ 364 $(LOCAL_PATH)/third_party/libxml/src/include \ 365 $(LOCAL_PATH)/third_party/libxslt \ 366 $(LOCAL_PATH)/third_party/npapi \ 367 $(LOCAL_PATH)/third_party/npapi/bindings \ 368 $(LOCAL_PATH)/third_party/ots/include \ 369 $(LOCAL_PATH)/third_party/qcms/src \ 370 $(LOCAL_PATH)/third_party/sqlite \ 371 $(LOCAL_PATH)/third_party/zlib \ 372 $(LOCAL_PATH)/v8/include \ 373 $(PWD)/external/jpeg \ 374 $(PWD)/frameworks/wilhelm/include \ 375 $(PWD)/bionic \ 376 $(PWD)/external/stlport/stlport 377 378 379 # Flags passed to only C++ (and not C) files. 380 LOCAL_CPPFLAGS_Debug := \ 381 -fno-rtti \ 382 -fno-threadsafe-statics \ 383 -fvisibility-inlines-hidden \ 384 -Wno-c++0x-compat \ 385 -Wno-deprecated \ 386 -Wno-error=c++0x-compat \ 387 -Wno-non-virtual-dtor \ 388 -Wno-sign-promo \ 389 -Wno-non-virtual-dtor 390 391 392 # Flags passed to both C and C++ files. 393 MY_CFLAGS_Release := \ 394 --param=ssp-buffer-size=4 \ 395 -fno-exceptions \ 396 -fno-strict-aliasing \ 397 -Wno-unused-parameter \ 398 -Wno-missing-field-initializers \ 399 -fvisibility=hidden \ 400 -pipe \ 401 -fPIC \ 402 -Wno-format \ 403 -m32 \ 404 -mmmx \ 405 -march=pentium4 \ 406 -msse2 \ 407 -mfpmath=sse \ 408 -fuse-ld=gold \ 409 -ffunction-sections \ 410 -funwind-tables \ 411 -g \ 412 -fno-short-enums \ 413 -finline-limit=64 \ 414 -Wa,--noexecstack \ 415 -U_FORTIFY_SOURCE \ 416 -Wno-extra \ 417 -Wno-ignored-qualifiers \ 418 -Wno-type-limits \ 419 -Wno-address \ 420 -Wno-format-security \ 421 -Wno-return-type \ 422 -Wno-sequence-point \ 423 -fno-stack-protector \ 424 -Os \ 425 -fno-ident \ 426 -fdata-sections \ 427 -ffunction-sections \ 428 -fomit-frame-pointer \ 429 -fno-unwind-tables \ 430 -fno-asynchronous-unwind-tables 431 432 MY_DEFS_Release := \ 433 '-DANGLE_DX11' \ 434 '-D_FILE_OFFSET_BITS=64' \ 435 '-DNO_TCMALLOC' \ 436 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 437 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 438 '-DDISABLE_NACL' \ 439 '-DCHROMIUM_BUILD' \ 440 '-DUSE_LIBJPEG_TURBO=1' \ 441 '-DUSE_PROPRIETARY_CODECS' \ 442 '-DENABLE_CONFIGURATION_POLICY' \ 443 '-DLOGGING_IS_OFFICIAL_BUILD=1' \ 444 '-DTRACING_IS_OFFICIAL_BUILD=1' \ 445 '-DENABLE_GPU=1' \ 446 '-DUSE_OPENSSL=1' \ 447 '-DENABLE_EGLIMAGE=1' \ 448 '-DENABLE_PRINTING=1' \ 449 '-DWEBCORE_NAVIGATOR_VENDOR="Google Inc."' \ 450 '-DWEBKIT_IMPLEMENTATION=1' \ 451 '-DINSIDE_WEBKIT' \ 452 '-DENABLE_CSS3_TEXT=0' \ 453 '-DENABLE_CSS_EXCLUSIONS=1' \ 454 '-DENABLE_CSS_REGIONS=1' \ 455 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 456 '-DENABLE_ENCRYPTED_MEDIA_V2=1' \ 457 '-DENABLE_SVG_FONTS=1' \ 458 '-DENABLE_TOUCH_ICON_LOADING=1' \ 459 '-DENABLE_GDI_FONTS_ON_WINDOWS=1' \ 460 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 461 '-DENABLE_CALENDAR_PICKER=0' \ 462 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 463 '-DENABLE_INPUT_SPEECH=0' \ 464 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 465 '-DENABLE_MEDIA_CAPTURE=1' \ 466 '-DENABLE_NOTIFICATIONS=0' \ 467 '-DENABLE_ORIENTATION_EVENTS=1' \ 468 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 469 '-DWTF_USE_NATIVE_FULLSCREEN_VIDEO=1' \ 470 '-DENABLE_OPENTYPE_VERTICAL=1' \ 471 '-DWTF_USE_HARFBUZZ=1' \ 472 '-DU_USING_ICU_NAMESPACE=0' \ 473 '-DCHROME_PNG_WRITE_SUPPORT' \ 474 '-DPNG_USER_CONFIG' \ 475 '-DLIBXML_STATIC' \ 476 '-DLIBXSLT_STATIC' \ 477 '-DUSE_SYSTEM_LIBJPEG' \ 478 '-DANDROID' \ 479 '-D__GNU_SOURCE=1' \ 480 '-DUSE_STLPORT=1' \ 481 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 482 '-DCHROME_BUILD_ID=""' \ 483 '-DNDEBUG' \ 484 '-DNVALGRIND' \ 485 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 486 487 488 # Include paths placed before CFLAGS/CPPFLAGS 489 LOCAL_C_INCLUDES_Release := \ 490 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 491 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 492 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 493 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 494 $(LOCAL_PATH)/third_party/khronos \ 495 $(LOCAL_PATH)/gpu \ 496 $(LOCAL_PATH) \ 497 $(LOCAL_PATH)/third_party/WebKit \ 498 $(LOCAL_PATH)/third_party/WebKit/Source \ 499 $(gyp_shared_intermediate_dir)/blink \ 500 $(gyp_shared_intermediate_dir)/blink/bindings \ 501 $(LOCAL_PATH)/third_party/angle_dx11/include/GLSLANG \ 502 $(PWD)/external/icu4c/common \ 503 $(PWD)/external/icu4c/i18n \ 504 $(LOCAL_PATH)/third_party/skia/src/core \ 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)/external/jpeg \ 520 $(PWD)/frameworks/wilhelm/include \ 521 $(PWD)/bionic \ 522 $(PWD)/external/stlport/stlport 523 524 525 # Flags passed to only C++ (and not C) files. 526 LOCAL_CPPFLAGS_Release := \ 527 -fno-rtti \ 528 -fno-threadsafe-statics \ 529 -fvisibility-inlines-hidden \ 530 -Wno-c++0x-compat \ 531 -Wno-deprecated \ 532 -Wno-error=c++0x-compat \ 533 -Wno-non-virtual-dtor \ 534 -Wno-sign-promo \ 535 -Wno-non-virtual-dtor 536 537 538 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 539 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 540 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 541 ### Rules for final target. 542 543 LOCAL_LDFLAGS_Debug := \ 544 -Wl,-z,now \ 545 -Wl,-z,relro \ 546 -Wl,-z,noexecstack \ 547 -fPIC \ 548 -m32 \ 549 -fuse-ld=gold \ 550 -nostdlib \ 551 -Wl,--no-undefined \ 552 -Wl,--exclude-libs=ALL \ 553 -Wl,--fatal-warnings \ 554 -Wl,--gc-sections \ 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,-z,noexecstack \ 564 -fPIC \ 565 -m32 \ 566 -fuse-ld=gold \ 567 -nostdlib \ 568 -Wl,--no-undefined \ 569 -Wl,--exclude-libs=ALL \ 570 -Wl,-O1 \ 571 -Wl,--as-needed \ 572 -Wl,--gc-sections \ 573 -Wl,--fatal-warnings \ 574 -Wl,--warn-shared-textrel 575 576 577 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 578 579 LOCAL_STATIC_LIBRARIES := 580 581 # Enable grouping to fix circular references 582 LOCAL_GROUP_STATIC_LIBRARIES := true 583 584 LOCAL_SHARED_LIBRARIES := \ 585 libskia \ 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_svg_gyp 592 593 # Alias gyp target name. 594 .PHONY: webcore_svg 595 webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp 596 597 include $(BUILD_STATIC_LIBRARY) 598