forked from openkylin/platform_build
Fix common typo in comments, warning and error messages.
s/can not/cannot/g Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
This commit is contained in:
parent
9eb2e01072
commit
76a6dc3a19
|
@ -11,7 +11,7 @@ ifdef LOCAL_SDK_VERSION
|
||||||
$(error $(LOCAL_PATH): LOCAL_NDK_VERSION is now retired.)
|
$(error $(LOCAL_PATH): LOCAL_NDK_VERSION is now retired.)
|
||||||
endif
|
endif
|
||||||
ifdef LOCAL_IS_HOST_MODULE
|
ifdef LOCAL_IS_HOST_MODULE
|
||||||
$(error $(LOCAL_PATH): LOCAL_SDK_VERSION can not be used in host module)
|
$(error $(LOCAL_PATH): LOCAL_SDK_VERSION cannot be used in host module)
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter-out SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),)
|
ifneq ($(filter-out SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),)
|
||||||
$(error $(LOCAL_PATH): NDK can only be used to build target shared/static libraries, \
|
$(error $(LOCAL_PATH): NDK can only be used to build target shared/static libraries, \
|
||||||
|
@ -98,7 +98,7 @@ endif
|
||||||
|
|
||||||
ifdef LOCAL_SDK_VERSION
|
ifdef LOCAL_SDK_VERSION
|
||||||
# Get the list of INSTALLED libraries as module names.
|
# Get the list of INSTALLED libraries as module names.
|
||||||
# We can not compute the full path of the LOCAL_SHARED_LIBRARIES for
|
# We cannot compute the full path of the LOCAL_SHARED_LIBRARIES for
|
||||||
# they may cusomize their install path with LOCAL_MODULE_PATH
|
# they may cusomize their install path with LOCAL_MODULE_PATH
|
||||||
installed_shared_library_module_names := \
|
installed_shared_library_module_names := \
|
||||||
$(LOCAL_SHARED_LIBRARIES)
|
$(LOCAL_SHARED_LIBRARIES)
|
||||||
|
|
|
@ -60,7 +60,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(wildcard $(mac_sdk_root)),)
|
ifeq ($(wildcard $(mac_sdk_root)),)
|
||||||
$(warning *****************************************************)
|
$(warning *****************************************************)
|
||||||
$(warning * Can not find SDK $(mac_sdk_version) at $(mac_sdk_root))
|
$(warning * Cannot find SDK $(mac_sdk_version) at $(mac_sdk_root))
|
||||||
ifeq ($(strip $(BUILD_MAC_SDK_EXPERIMENTAL)),)
|
ifeq ($(strip $(BUILD_MAC_SDK_EXPERIMENTAL)),)
|
||||||
$(warning * If you wish to build using higher version of SDK, )
|
$(warning * If you wish to build using higher version of SDK, )
|
||||||
$(warning * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before )
|
$(warning * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before )
|
||||||
|
|
|
@ -1768,7 +1768,7 @@ endef
|
||||||
# Copy a single file from one place to another,
|
# Copy a single file from one place to another,
|
||||||
# preserving permissions and overwriting any existing
|
# preserving permissions and overwriting any existing
|
||||||
# file.
|
# file.
|
||||||
# We disable the "-t" option for acp can not handle
|
# We disable the "-t" option for acp cannot handle
|
||||||
# high resolution timestamp correctly on file systems like ext4.
|
# high resolution timestamp correctly on file systems like ext4.
|
||||||
# Therefore copy-file-to-target is the same as copy-file-to-new-target.
|
# Therefore copy-file-to-target is the same as copy-file-to-new-target.
|
||||||
define copy-file-to-target
|
define copy-file-to-target
|
||||||
|
|
|
@ -19,7 +19,7 @@ ifneq ($(strip $(OVERRIDE_BUILT_MODULE_PATH)),)
|
||||||
$(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
|
$(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
|
||||||
endif
|
endif
|
||||||
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
||||||
$(error $(LOCAL_PATH): Can not set module stem for a library)
|
$(error $(LOCAL_PATH): Cannot set module stem for a library)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Put the built modules of all shared libraries in a common directory
|
# Put the built modules of all shared libraries in a common directory
|
||||||
|
|
|
@ -14,7 +14,7 @@ ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),)
|
||||||
LOCAL_MODULE_SUFFIX := .a
|
LOCAL_MODULE_SUFFIX := .a
|
||||||
endif
|
endif
|
||||||
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
||||||
$(error $(LOCAL_PATH): Can not set module stem for a library)
|
$(error $(LOCAL_PATH): Cannot set module stem for a library)
|
||||||
endif
|
endif
|
||||||
LOCAL_UNINSTALLABLE_MODULE := true
|
LOCAL_UNINSTALLABLE_MODULE := true
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ $(call import-products, $(all_product_makefiles))
|
||||||
else
|
else
|
||||||
# Import just the current product.
|
# Import just the current product.
|
||||||
ifndef current_product_makefile
|
ifndef current_product_makefile
|
||||||
$(error Can not locate config makefile for product "$(TARGET_PRODUCT)")
|
$(error Cannot locate config makefile for product "$(TARGET_PRODUCT)")
|
||||||
endif
|
endif
|
||||||
ifneq (1,$(words $(current_product_makefile)))
|
ifneq (1,$(words $(current_product_makefile)))
|
||||||
$(error Product "$(TARGET_PRODUCT)" ambiguous: matches $(current_product_makefile))
|
$(error Product "$(TARGET_PRODUCT)" ambiguous: matches $(current_product_makefile))
|
||||||
|
|
|
@ -17,7 +17,7 @@ ifneq ($(strip $(OVERRIDE_BUILT_MODULE_PATH)),)
|
||||||
$(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
|
$(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
|
||||||
endif
|
endif
|
||||||
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
||||||
$(error $(LOCAL_PATH): Can not set module stem for a library)
|
$(error $(LOCAL_PATH): Cannot set module stem for a library)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
|
|
|
@ -15,7 +15,7 @@ LOCAL_MODULE_SUFFIX := .a
|
||||||
endif
|
endif
|
||||||
LOCAL_UNINSTALLABLE_MODULE := true
|
LOCAL_UNINSTALLABLE_MODULE := true
|
||||||
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
||||||
$(error $(LOCAL_PATH): Can not set module stem for a library)
|
$(error $(LOCAL_PATH): Cannot set module stem for a library)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
|
|
|
@ -40,7 +40,7 @@ $(if $(filter 1,$(words $(_iofrm_src))), \
|
||||||
$(eval _fulldest := $(TARGET_FACTORY_RAMDISK_OUT)/$(1)) \
|
$(eval _fulldest := $(TARGET_FACTORY_RAMDISK_OUT)/$(1)) \
|
||||||
$(eval $(call copy-one-file,$(_iofrm_src),$(_fulldest))) \
|
$(eval $(call copy-one-file,$(_iofrm_src),$(_fulldest))) \
|
||||||
$(eval INTERNAL_FACTORY_RAMDISK_EXTRA_MODULES_FILES += $(_fulldest)), \
|
$(eval INTERNAL_FACTORY_RAMDISK_EXTRA_MODULES_FILES += $(_fulldest)), \
|
||||||
$(error Error: Can not find match in "$(2)" for "$(1)") \
|
$(error Error: Cannot find match in "$(2)" for "$(1)") \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ $(call expand-required-modules,_vendor_check_modules,$(_vendor_check_modules))
|
||||||
ifneq (,$(filter true owner all, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_RESTRICT_VENDOR_FILES)))
|
ifneq (,$(filter true owner all, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_RESTRICT_VENDOR_FILES)))
|
||||||
|
|
||||||
ifneq (,$(filter vendor/%, $(PRODUCT_PACKAGE_OVERLAYS) $(DEVICE_PACKAGE_OVERLAYS)))
|
ifneq (,$(filter vendor/%, $(PRODUCT_PACKAGE_OVERLAYS) $(DEVICE_PACKAGE_OVERLAYS)))
|
||||||
$(error Error: Product "$(TARGET_PRODUCT)" can not have overlay in vendor tree: \
|
$(error Error: Product "$(TARGET_PRODUCT)" cannot have overlay in vendor tree: \
|
||||||
$(filter vendor/%, $(PRODUCT_PACKAGE_OVERLAYS) $(DEVICE_PACKAGE_OVERLAYS)))
|
$(filter vendor/%, $(PRODUCT_PACKAGE_OVERLAYS) $(DEVICE_PACKAGE_OVERLAYS)))
|
||||||
endif
|
endif
|
||||||
_vendor_check_copy_files := $(filter vendor/%, $(PRODUCT_COPY_FILES))
|
_vendor_check_copy_files := $(filter vendor/%, $(PRODUCT_COPY_FILES))
|
||||||
|
|
Loading…
Reference in New Issue