| # This file is generated by gyp; do not edit. |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| LOCAL_MODULE := third_party_WebKit_Source_core_webcore_svg_gyp |
| LOCAL_MODULE_SUFFIX := .a |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) |
| gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) |
| gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) |
| |
| # Make sure our deps are built first. |
| GYP_TARGET_DEPENDENCIES := \ |
| $(call intermediates-dir-for,GYP,third_party_WebKit_Source_core_webcore_prerequisites_gyp,,,$(GYP_VAR_PREFIX))/webcore_prerequisites.stamp \ |
| $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a |
| |
| GYP_GENERATED_OUTPUTS := |
| |
| # Make sure our deps and generated files are built first. |
| LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| |
| LOCAL_GENERATED_SOURCES := |
| |
| GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| |
| LOCAL_SRC_FILES := \ |
| third_party/WebKit/Source/core/rendering/style/SVGRenderStyle.cpp \ |
| third_party/WebKit/Source/core/rendering/style/SVGRenderStyleDefs.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/ReferenceFilterBuilder.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGBlock.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGContainer.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGEllipse.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGForeignObject.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGGradientStop.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGHiddenContainer.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGImage.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGInline.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGInlineText.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGModelObject.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGPath.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGRect.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResource.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceClipper.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceContainer.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilter.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceGradient.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMarker.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceMasker.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourcePattern.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGRoot.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGShape.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGText.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGTextPath.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/RenderSVGViewportContainer.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGInlineFlowBox.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGInlineTextBox.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGPathData.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGRenderSupport.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGRenderTreeAsText.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGRenderingContext.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGResources.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGResourcesCache.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGResourcesCycleSolver.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGRootInlineBox.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextChunk.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextChunkBuilder.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributes.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngine.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextMetrics.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextQuery.cpp \ |
| third_party/WebKit/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp \ |
| third_party/WebKit/Source/core/svg/ColorDistance.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAltGlyphDefElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAltGlyphElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAltGlyphItemElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAngle.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAngleTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedAngle.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedInteger.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedIntegerOptionalInteger.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedNumberOptionalNumber.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp \ |
| third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGBoolean.cpp \ |
| third_party/WebKit/Source/core/svg/SVGCircleElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGClipPathElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGCursorElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGDefsElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGDescElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGDiscardElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp \ |
| third_party/WebKit/Source/core/svg/SVGElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGEnumeration.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEDiffuseLightingElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEDistantLightElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEFuncAElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEFuncBElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEFuncGElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEFuncRElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFELightElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEMergeNodeElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFEPointLightElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFESpecularLightingElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFESpotLightElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFETileElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFilterElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontData.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceFormatElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceNameElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceSource.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceSrcElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGFontFaceUriElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGlyphElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGlyphRefElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGradientElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGHKernElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGImageElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGImageLoader.cpp \ |
| third_party/WebKit/Source/core/svg/SVGInteger.cpp \ |
| third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLength.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLengthContext.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLengthList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLineElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMPathElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMaskElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMetadataElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGMissingGlyphElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGNumber.cpp \ |
| third_party/WebKit/Source/core/svg/SVGNumberList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGNumberOptionalNumber.cpp \ |
| third_party/WebKit/Source/core/svg/SVGNumberTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPaint.cpp \ |
| third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathBlender.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathByteStreamBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathByteStreamSource.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathParser.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathSeg.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathSegList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathSegListBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathSegListSource.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathStringBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathTraversalStateBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPatternElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPoint.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPointList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPointTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPolyElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPolygonElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.cpp \ |
| third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGRect.cpp \ |
| third_party/WebKit/Source/core/svg/SVGRectElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGRectTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGRemoteFontFaceSource.cpp \ |
| third_party/WebKit/Source/core/svg/SVGSVGElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGScriptElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGSetElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGStopElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGString.cpp \ |
| third_party/WebKit/Source/core/svg/SVGStringList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGStringListTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGStyleElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGSwitchElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGSymbolElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTSpanElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTests.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTextElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTextPositioningElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTitleElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTransform.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTransformDistance.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTransformList.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTransformListTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGTransformTearOff.cpp \ |
| third_party/WebKit/Source/core/svg/SVGURIReference.cpp \ |
| third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp \ |
| third_party/WebKit/Source/core/svg/SVGUnknownElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGUseElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGVKernElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGViewElement.cpp \ |
| third_party/WebKit/Source/core/svg/SVGViewSpec.cpp \ |
| third_party/WebKit/Source/core/svg/SVGZoomAndPan.cpp \ |
| third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp \ |
| third_party/WebKit/Source/core/svg/animation/SMILTime.cpp \ |
| third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp \ |
| third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/SVGImageCache.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/filters/SVGFilter.cpp \ |
| third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.cpp \ |
| third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp \ |
| third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.cpp |
| |
| |
| # Flags passed to both C and C++ files. |
| MY_CFLAGS_Debug := \ |
| -fstack-protector \ |
| --param=ssp-buffer-size=4 \ |
| \ |
| -fno-exceptions \ |
| -fno-strict-aliasing \ |
| -Wall \ |
| -Wno-unused-parameter \ |
| -Wno-missing-field-initializers \ |
| -fvisibility=hidden \ |
| -pipe \ |
| -fPIC \ |
| -Wno-unused-local-typedefs \ |
| -EL \ |
| -mhard-float \ |
| -ffunction-sections \ |
| -funwind-tables \ |
| -g \ |
| -fstack-protector \ |
| -fno-short-enums \ |
| -finline-limit=64 \ |
| -Wa,--noexecstack \ |
| -U_FORTIFY_SOURCE \ |
| -Wno-extra \ |
| -Wno-ignored-qualifiers \ |
| -Wno-type-limits \ |
| -Wno-unused-but-set-variable \ |
| -Os \ |
| -g \ |
| -fdata-sections \ |
| -ffunction-sections \ |
| -fomit-frame-pointer \ |
| -funwind-tables |
| |
| MY_DEFS_Debug := \ |
| '-DV8_DEPRECATION_WARNINGS' \ |
| '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ |
| '-D_FILE_OFFSET_BITS=64' \ |
| '-DNO_TCMALLOC' \ |
| '-DDISABLE_NACL' \ |
| '-DCHROMIUM_BUILD' \ |
| '-DUSE_LIBJPEG_TURBO=1' \ |
| '-DENABLE_WEBRTC=1' \ |
| '-DUSE_PROPRIETARY_CODECS' \ |
| '-DENABLE_BROWSER_CDMS' \ |
| '-DENABLE_CONFIGURATION_POLICY' \ |
| '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| '-DENABLE_EGLIMAGE=1' \ |
| '-DCLD_VERSION=1' \ |
| '-DENABLE_PRINTING=1' \ |
| '-DENABLE_MANAGED_USERS=1' \ |
| '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
| '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
| '-DVIDEO_HOLE=1' \ |
| '-DBLINK_IMPLEMENTATION=1' \ |
| '-DINSIDE_BLINK' \ |
| '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ |
| '-DENABLE_SVG_FONTS=1' \ |
| '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ |
| '-DENABLE_MEDIA_CAPTURE=1' \ |
| '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ |
| '-DENABLE_WEB_AUDIO=1' \ |
| '-DENABLE_OPENTYPE_VERTICAL=1' \ |
| '-DU_USING_ICU_NAMESPACE=0' \ |
| '-DSK_ENABLE_INST_COUNT=0' \ |
| '-DSK_SUPPORT_GPU=1' \ |
| '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ |
| '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ |
| '-DGR_GL_IGNORE_ES3_MSAA=0' \ |
| '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ |
| '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ |
| '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ |
| '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ |
| '-DSK_SUPPORT_LEGACY_N32_NAME' \ |
| '-DSK_SUPPORT_LEGACY_SETCONFIG' \ |
| '-DSK_IGNORE_ETC1_SUPPORT' \ |
| '-DSK_IGNORE_GPU_DITHER' \ |
| '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ |
| '-DSK_BUILD_FOR_ANDROID' \ |
| '-DSK_USE_POSIX_THREADS' \ |
| '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ |
| '-DCHROME_PNG_WRITE_SUPPORT' \ |
| '-DPNG_USER_CONFIG' \ |
| '-DCHROME_PNG_READ_PACK_SUPPORT' \ |
| '-DLIBXML_STATIC' \ |
| '-DLIBXSLT_STATIC' \ |
| '-DUSE_OPENSSL=1' \ |
| '-DUSE_OPENSSL_CERTS=1' \ |
| '-D__STDC_CONSTANT_MACROS' \ |
| '-D__STDC_FORMAT_MACROS' \ |
| '-DANDROID' \ |
| '-D__GNU_SOURCE=1' \ |
| '-DUSE_STLPORT=1' \ |
| '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| '-DCHROME_BUILD_ID=""' \ |
| '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| '-D_DEBUG' |
| |
| |
| # Include paths placed before CFLAGS/CPPFLAGS |
| LOCAL_C_INCLUDES_Debug := \ |
| $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| $(gyp_shared_intermediate_dir) \ |
| $(LOCAL_PATH)/third_party/WebKit/Source \ |
| $(LOCAL_PATH) \ |
| $(LOCAL_PATH)/skia/config \ |
| $(LOCAL_PATH)/third_party/khronos \ |
| $(LOCAL_PATH)/gpu \ |
| $(gyp_shared_intermediate_dir)/blink/core \ |
| $(gyp_shared_intermediate_dir)/blink/modules \ |
| $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ |
| $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ |
| $(gyp_shared_intermediate_dir)/blink \ |
| $(LOCAL_PATH)/third_party/openmax_dl \ |
| $(LOCAL_PATH)/third_party/angle/include \ |
| $(PWD)/external/icu4c/common \ |
| $(PWD)/external/icu4c/i18n \ |
| $(LOCAL_PATH)/third_party/WebKit \ |
| $(LOCAL_PATH)/third_party/skia/src/core \ |
| $(LOCAL_PATH)/third_party/skia/include/core \ |
| $(LOCAL_PATH)/third_party/skia/include/effects \ |
| $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| $(LOCAL_PATH)/third_party/skia/include/lazy \ |
| $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| $(LOCAL_PATH)/third_party/skia/include/ports \ |
| $(LOCAL_PATH)/third_party/skia/include/utils \ |
| $(LOCAL_PATH)/skia/ext \ |
| $(LOCAL_PATH)/third_party/iccjpeg \ |
| $(LOCAL_PATH)/third_party/libpng \ |
| $(LOCAL_PATH)/third_party/libwebp \ |
| $(LOCAL_PATH)/third_party/libxml/linux/include \ |
| $(LOCAL_PATH)/third_party/libxml/src/include \ |
| $(LOCAL_PATH)/third_party/libxslt \ |
| $(LOCAL_PATH)/third_party/npapi \ |
| $(LOCAL_PATH)/third_party/npapi/bindings \ |
| $(LOCAL_PATH)/third_party/ots/include \ |
| $(LOCAL_PATH)/third_party/qcms/src \ |
| $(LOCAL_PATH)/third_party/sqlite \ |
| $(LOCAL_PATH)/third_party/zlib \ |
| $(LOCAL_PATH)/v8/include \ |
| $(PWD)/frameworks/wilhelm/include \ |
| $(PWD)/bionic \ |
| $(PWD)/external/stlport/stlport |
| |
| |
| # Flags passed to only C++ (and not C) files. |
| LOCAL_CPPFLAGS_Debug := \ |
| -fno-rtti \ |
| -fno-threadsafe-statics \ |
| -fvisibility-inlines-hidden \ |
| -Wsign-compare \ |
| -Wno-c++0x-compat \ |
| -Wno-uninitialized \ |
| -Wno-non-virtual-dtor \ |
| -Wno-sign-promo |
| |
| |
| # Flags passed to both C and C++ files. |
| MY_CFLAGS_Release := \ |
| -fstack-protector \ |
| --param=ssp-buffer-size=4 \ |
| \ |
| -fno-exceptions \ |
| -fno-strict-aliasing \ |
| -Wall \ |
| -Wno-unused-parameter \ |
| -Wno-missing-field-initializers \ |
| -fvisibility=hidden \ |
| -pipe \ |
| -fPIC \ |
| -Wno-unused-local-typedefs \ |
| -EL \ |
| -mhard-float \ |
| -ffunction-sections \ |
| -funwind-tables \ |
| -g \ |
| -fstack-protector \ |
| -fno-short-enums \ |
| -finline-limit=64 \ |
| -Wa,--noexecstack \ |
| -U_FORTIFY_SOURCE \ |
| -Wno-extra \ |
| -Wno-ignored-qualifiers \ |
| -Wno-type-limits \ |
| -Wno-unused-but-set-variable \ |
| -Os \ |
| -fno-ident \ |
| -fdata-sections \ |
| -ffunction-sections \ |
| -fomit-frame-pointer \ |
| -funwind-tables |
| |
| MY_DEFS_Release := \ |
| '-DV8_DEPRECATION_WARNINGS' \ |
| '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ |
| '-D_FILE_OFFSET_BITS=64' \ |
| '-DNO_TCMALLOC' \ |
| '-DDISABLE_NACL' \ |
| '-DCHROMIUM_BUILD' \ |
| '-DUSE_LIBJPEG_TURBO=1' \ |
| '-DENABLE_WEBRTC=1' \ |
| '-DUSE_PROPRIETARY_CODECS' \ |
| '-DENABLE_BROWSER_CDMS' \ |
| '-DENABLE_CONFIGURATION_POLICY' \ |
| '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| '-DENABLE_EGLIMAGE=1' \ |
| '-DCLD_VERSION=1' \ |
| '-DENABLE_PRINTING=1' \ |
| '-DENABLE_MANAGED_USERS=1' \ |
| '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ |
| '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ |
| '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ |
| '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ |
| '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ |
| '-DVIDEO_HOLE=1' \ |
| '-DBLINK_IMPLEMENTATION=1' \ |
| '-DINSIDE_BLINK' \ |
| '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ |
| '-DENABLE_SVG_FONTS=1' \ |
| '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ |
| '-DENABLE_MEDIA_CAPTURE=1' \ |
| '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ |
| '-DENABLE_WEB_AUDIO=1' \ |
| '-DENABLE_OPENTYPE_VERTICAL=1' \ |
| '-DU_USING_ICU_NAMESPACE=0' \ |
| '-DSK_ENABLE_INST_COUNT=0' \ |
| '-DSK_SUPPORT_GPU=1' \ |
| '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ |
| '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ |
| '-DGR_GL_IGNORE_ES3_MSAA=0' \ |
| '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ |
| '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ |
| '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ |
| '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ |
| '-DSK_SUPPORT_LEGACY_N32_NAME' \ |
| '-DSK_SUPPORT_LEGACY_SETCONFIG' \ |
| '-DSK_IGNORE_ETC1_SUPPORT' \ |
| '-DSK_IGNORE_GPU_DITHER' \ |
| '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ |
| '-DSK_BUILD_FOR_ANDROID' \ |
| '-DSK_USE_POSIX_THREADS' \ |
| '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ |
| '-DCHROME_PNG_WRITE_SUPPORT' \ |
| '-DPNG_USER_CONFIG' \ |
| '-DCHROME_PNG_READ_PACK_SUPPORT' \ |
| '-DLIBXML_STATIC' \ |
| '-DLIBXSLT_STATIC' \ |
| '-DUSE_OPENSSL=1' \ |
| '-DUSE_OPENSSL_CERTS=1' \ |
| '-D__STDC_CONSTANT_MACROS' \ |
| '-D__STDC_FORMAT_MACROS' \ |
| '-DANDROID' \ |
| '-D__GNU_SOURCE=1' \ |
| '-DUSE_STLPORT=1' \ |
| '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| '-DCHROME_BUILD_ID=""' \ |
| '-DNDEBUG' \ |
| '-DNVALGRIND' \ |
| '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ |
| '-D_FORTIFY_SOURCE=2' |
| |
| |
| # Include paths placed before CFLAGS/CPPFLAGS |
| LOCAL_C_INCLUDES_Release := \ |
| $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| $(gyp_shared_intermediate_dir) \ |
| $(LOCAL_PATH)/third_party/WebKit/Source \ |
| $(LOCAL_PATH) \ |
| $(LOCAL_PATH)/skia/config \ |
| $(LOCAL_PATH)/third_party/khronos \ |
| $(LOCAL_PATH)/gpu \ |
| $(gyp_shared_intermediate_dir)/blink/core \ |
| $(gyp_shared_intermediate_dir)/blink/modules \ |
| $(gyp_shared_intermediate_dir)/blink/bindings/core/v8 \ |
| $(gyp_shared_intermediate_dir)/blink/bindings/modules/v8 \ |
| $(gyp_shared_intermediate_dir)/blink \ |
| $(LOCAL_PATH)/third_party/openmax_dl \ |
| $(LOCAL_PATH)/third_party/angle/include \ |
| $(PWD)/external/icu4c/common \ |
| $(PWD)/external/icu4c/i18n \ |
| $(LOCAL_PATH)/third_party/WebKit \ |
| $(LOCAL_PATH)/third_party/skia/src/core \ |
| $(LOCAL_PATH)/third_party/skia/include/core \ |
| $(LOCAL_PATH)/third_party/skia/include/effects \ |
| $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| $(LOCAL_PATH)/third_party/skia/include/lazy \ |
| $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| $(LOCAL_PATH)/third_party/skia/include/ports \ |
| $(LOCAL_PATH)/third_party/skia/include/utils \ |
| $(LOCAL_PATH)/skia/ext \ |
| $(LOCAL_PATH)/third_party/iccjpeg \ |
| $(LOCAL_PATH)/third_party/libpng \ |
| $(LOCAL_PATH)/third_party/libwebp \ |
| $(LOCAL_PATH)/third_party/libxml/linux/include \ |
| $(LOCAL_PATH)/third_party/libxml/src/include \ |
| $(LOCAL_PATH)/third_party/libxslt \ |
| $(LOCAL_PATH)/third_party/npapi \ |
| $(LOCAL_PATH)/third_party/npapi/bindings \ |
| $(LOCAL_PATH)/third_party/ots/include \ |
| $(LOCAL_PATH)/third_party/qcms/src \ |
| $(LOCAL_PATH)/third_party/sqlite \ |
| $(LOCAL_PATH)/third_party/zlib \ |
| $(LOCAL_PATH)/v8/include \ |
| $(PWD)/frameworks/wilhelm/include \ |
| $(PWD)/bionic \ |
| $(PWD)/external/stlport/stlport |
| |
| |
| # Flags passed to only C++ (and not C) files. |
| LOCAL_CPPFLAGS_Release := \ |
| -fno-rtti \ |
| -fno-threadsafe-statics \ |
| -fvisibility-inlines-hidden \ |
| -Wsign-compare \ |
| -Wno-c++0x-compat \ |
| -Wno-uninitialized \ |
| -Wno-non-virtual-dtor \ |
| -Wno-sign-promo |
| |
| |
| LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
| LOCAL_ASFLAGS := $(LOCAL_CFLAGS) |
| ### Rules for final target. |
| |
| LOCAL_LDFLAGS_Debug := \ |
| -Wl,-z,now \ |
| -Wl,-z,relro \ |
| -Wl,--fatal-warnings \ |
| -Wl,-z,noexecstack \ |
| -fPIC \ |
| -EL \ |
| -Wl,--no-keep-memory \ |
| -nostdlib \ |
| -Wl,--no-undefined \ |
| -Wl,--exclude-libs=ALL \ |
| -Wl,--warn-shared-textrel \ |
| -Wl,-O1 \ |
| -Wl,--as-needed |
| |
| |
| LOCAL_LDFLAGS_Release := \ |
| -Wl,-z,now \ |
| -Wl,-z,relro \ |
| -Wl,--fatal-warnings \ |
| -Wl,-z,noexecstack \ |
| -fPIC \ |
| -EL \ |
| -Wl,--no-keep-memory \ |
| -nostdlib \ |
| -Wl,--no-undefined \ |
| -Wl,--exclude-libs=ALL \ |
| -Wl,-O1 \ |
| -Wl,--as-needed \ |
| -Wl,--gc-sections \ |
| -Wl,--warn-shared-textrel |
| |
| |
| LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) |
| |
| LOCAL_STATIC_LIBRARIES := \ |
| skia_skia_library_gyp |
| |
| # Enable grouping to fix circular references |
| LOCAL_GROUP_STATIC_LIBRARIES := true |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| libstlport \ |
| libdl |
| |
| # Add target alias to "gyp_all_modules" target. |
| .PHONY: gyp_all_modules |
| gyp_all_modules: third_party_WebKit_Source_core_webcore_svg_gyp |
| |
| # Alias gyp target name. |
| .PHONY: webcore_svg |
| webcore_svg: third_party_WebKit_Source_core_webcore_svg_gyp |
| |
| include $(BUILD_STATIC_LIBRARY) |