Merge commit 'goog/master' into eclair-release
This commit is contained in:
@@ -10,7 +10,7 @@ $(combo_target)AR := $(AR)
|
||||
ifeq ($(combo_target),HOST_)
|
||||
# $(1): The file to check
|
||||
define get-file-size
|
||||
stat --format "%s" "$(1)"
|
||||
stat --format "%s" "$(1)" | tr -d '\n'
|
||||
endef
|
||||
endif
|
||||
|
||||
|
@@ -78,8 +78,8 @@ SHOW_COMMANDS:= $(filter showcommands,$(MAKECMDGOALS))
|
||||
COMMON_GLOBAL_CFLAGS:= -DANDROID -fmessage-length=0 -W -Wall -Wno-unused
|
||||
COMMON_RELEASE_CFLAGS:= -DNDEBUG -UDEBUG
|
||||
|
||||
COMMON_GLOBAL_CPPFLAGS:=
|
||||
COMMON_RELEASE_CPPFLAGS:=
|
||||
COMMON_GLOBAL_CPPFLAGS:= -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Wnon-virtual-dtor
|
||||
COMMON_RELEASE_CPPFLAGS:= -DNDEBUG -UDEBUG
|
||||
|
||||
# Set the extensions used for various packages
|
||||
COMMON_PACKAGE_SUFFIX := .zip
|
||||
|
@@ -1558,8 +1558,8 @@ endef
|
||||
# next whole flash block size.
|
||||
define assert-max-file-size
|
||||
$(if $(2), \
|
||||
size=$$(for i in $(1); do $(call get-file-size,$$i); done); \
|
||||
total=$$(( $$( echo "$$size" | tr '\n' + ; echo 0 ) )); \
|
||||
size=$$(for i in $(1); do $(call get-file-size,$$i); echo +; done; echo 0); \
|
||||
total=$$(( $$( echo "$$size" ) )); \
|
||||
printname=$$(echo -n "$(1)" | tr " " +); \
|
||||
echo "$$printname total size is $$total"; \
|
||||
img_blocksize=$(call image-size-from-data-size,$(BOARD_FLASH_BLOCK_SIZE)); \
|
||||
@@ -1570,8 +1570,7 @@ $(if $(2), \
|
||||
if [ "$$total" -gt "$$maxsize" ]; then \
|
||||
echo "error: $$printname too large ($$total > [$(2) - $$reserve])"; \
|
||||
false; \
|
||||
fi; \
|
||||
if [ "$$total" -gt $$((maxsize - 32768)) ]; then \
|
||||
elif [ "$$total" -gt $$((maxsize - 32768)) ]; then \
|
||||
echo "WARNING: $$printname approaching size limit ($$total now; limit $$maxsize)"; \
|
||||
fi \
|
||||
, \
|
||||
|
@@ -263,14 +263,6 @@ ifeq (,$(filter %:system/etc/apns-conf.xml, $(PRODUCT_COPY_FILES)))
|
||||
$(warning implicitly installing apns-conf_sdk.xml)
|
||||
endif
|
||||
endif
|
||||
# Install a vold.conf file is one's not already being installed.
|
||||
ifeq (,$(filter %:system/etc/vold.conf, $(PRODUCT_COPY_FILES)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
development/data/etc/vold.conf:system/etc/vold.conf
|
||||
ifeq ($(filter eng tests,$(TARGET_BUILD_VARIANT)),)
|
||||
$(warning implicitly installing vold.conf)
|
||||
endif
|
||||
endif
|
||||
# If we're on an eng or tests build, but not on the sdk, and we have
|
||||
# a better one, use that instead.
|
||||
ifneq ($(filter eng tests,$(TARGET_BUILD_VARIANT)),)
|
||||
|
@@ -9,7 +9,6 @@ PRODUCT_PROPERTY_OVERRIDES := \
|
||||
PRODUCT_PACKAGES := \
|
||||
framework-res \
|
||||
Browser \
|
||||
Calculator \
|
||||
Contacts \
|
||||
Launcher \
|
||||
HTMLViewer \
|
||||
|
@@ -5,9 +5,11 @@
|
||||
PRODUCT_PACKAGES := \
|
||||
AlarmClock \
|
||||
AlarmProvider \
|
||||
Calculator \
|
||||
Calendar \
|
||||
Camera \
|
||||
DrmProvider \
|
||||
Email \
|
||||
LatinIME \
|
||||
Mms \
|
||||
Music \
|
||||
|
Reference in New Issue
Block a user