2a66f06927
To enable SVG, edit your buildspec.mk to ENABLE_SVG:=true then make clean-libwebcore && make Some SVG functionality has been stubbed out in this checkin. //branches/master/android/build/buildspec.mk.default # edit - add ENABLE_SVG, commented out by default - fix up WEBCORE_INSTRUMENTATION define while I was in there //branches/master/android/external/webkit/Android.mk # edit - add ENABLE_SVG C define - add svg paths to C includes //branches/master/android/external/webkit/WebCore/Android.derived.mk # edit - update merge tool rules - add svg to css property names, keywords, generated bindings - add svg names, element factory, wrappers - remove obsolete ksvgcssproperties.h - add XLinkNames, required by SVG //branches/master/android/external/webkit/WebCore/Android.mk # edit - update merge tool rules - add svg bindings, css svg parsing, svg rendering, svg engine //branches/master/android/external/webkit/WebCore/config.h # edit - leave ENABLE_SVG alone if it is already defined //branches/master/android/external/webkit/WebCore/loader/EmptyClients.h # edit - add some Android extensions as empty virtuals (EmptyClients is only used by SVG) //branches/master/android/external/webkit/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp # edit //branches/master/android/external/webkit/WebCore/platform/graphics/android/PathAndroid.cpp # edit - add SVG graphics porting functions. Note the FIXMEs -- some are unimplemented. BUG=1474412 Automated import of CL 145053
106 lines
3.8 KiB
Text
106 lines
3.8 KiB
Text
#
|
|
# Copyright (C) 2007 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
######################################################################
|
|
# This is a do-nothing template file. To use it, copy it to a file
|
|
# named "buildspec.mk" in the root directory, and uncomment or change
|
|
# the variables necessary for your desired configuration. The file
|
|
# "buildspec.mk" should never be checked in to source control.
|
|
######################################################################
|
|
|
|
# Uncomment this if you want the simulator, otherwise, build for arm
|
|
ifndef TARGET_SIMULATOR
|
|
#TARGET_SIMULATOR:=true
|
|
endif
|
|
|
|
# Set this to debug or release if you care. Otherwise, it defaults to
|
|
# release for arm and debug for the simulator.
|
|
ifndef TARGET_BUILD_TYPE
|
|
#TARGET_BUILD_TYPE:=release
|
|
#TARGET_BUILD_TYPE:=debug
|
|
endif
|
|
|
|
# Uncomment this if you want the host tools built in debug mode. Otherwise
|
|
# it defaults to release.
|
|
ifndef HOST_BUILD_TYPE
|
|
#HOST_BUILD_TYPE:=debug
|
|
endif
|
|
|
|
# Turn on debugging for selected modules. If DEBUG_MODULE_<module-name> is set
|
|
# to a non-empty value, the appropriate HOST_/TARGET_CUSTOM_DEBUG_CFLAGS
|
|
# will be added to LOCAL_CFLAGS when building the module.
|
|
#DEBUG_MODULE_ModuleName:=true
|
|
|
|
# Specify the extra CFLAGS to use when building a module whose
|
|
# DEBUG_MODULE_ variable is set. Host and device flags are handled
|
|
# separately.
|
|
#HOST_CUSTOM_DEBUG_CFLAGS:=
|
|
#TARGET_CUSTOM_DEBUG_CFLAGS:=
|
|
|
|
# Choose a product to build for. Look in the products directory for ones
|
|
# that work.
|
|
ifndef TARGET_PRODUCT
|
|
#TARGET_PRODUCT:=generic
|
|
endif
|
|
|
|
# Choose additional targets to always install, even when building
|
|
# minimal targets like "make droid". This takes simple target names
|
|
# like "Browser" or "MyApp", the names used by LOCAL_MODULE or
|
|
# LOCAL_PACKAGE_NAME. Modules listed here will always be installed in
|
|
# /system, even if they'd usually go in /data.
|
|
ifndef CUSTOM_MODULES
|
|
#CUSTOM_MODULES:=
|
|
endif
|
|
|
|
# Choose additional locales, like "en_US" or "it_IT", to add to any
|
|
# built product. Any locales that appear in CUSTOM_LOCALES but not in
|
|
# the locale list for the selected product will be added to the end
|
|
# of PRODUCT_LOCALES.
|
|
ifndef CUSTOM_LOCALES
|
|
#CUSTOM_LOCALES:=
|
|
endif
|
|
|
|
# If you have a special place to put your ouput files, set this, otherwise
|
|
# it goes to <build-root>/out
|
|
#OUT_DIR:=/tmp/stuff
|
|
|
|
# If you want to always set certain system properties, add them to this list.
|
|
# E.g., "ADDITIONAL_BUILD_PROPERTIES += ro.prop1=5 prop2=value"
|
|
# This mechanism does not currently support values containing spaces.
|
|
#ADDITIONAL_BUILD_PROPERTIES +=
|
|
|
|
# If you want to reduce the system.img size by several meg, and are willing to
|
|
# lose access to CJK (and other) character sets, define NO_FALLBACK_FONT:=true
|
|
ifndef NO_FALLBACK_FONT
|
|
#NO_FALLBACK_FONT:=true
|
|
endif
|
|
|
|
# To enable instrumentation in webcore based apps like gmail and
|
|
# the browser, define WEBCORE_INSTRUMENTATION:=true
|
|
ifndef WEBCORE_INSTRUMENTATION
|
|
#WEBCORE_INSTRUMENTATION:=true
|
|
endif
|
|
|
|
# To enable SVG in webcore define ENABLE_SVG:=true
|
|
ifndef ENABLE_SVG
|
|
#ENABLE_SVG:=true
|
|
endif
|
|
|
|
# when the build system changes such that this file must be updated, this
|
|
# variable will be changed. After you have modified this file with the new
|
|
# changes (see buildspec.mk.default), update this to the new value from
|
|
# buildspec.mk.default.
|
|
BUILD_ENV_SEQUENCE_NUMBER := 9
|