OSDN Git Service

Fix common typo in comments, warning and error messages.
authorIan Rogers <irogers@google.com>
Mon, 1 Oct 2012 23:36:23 +0000 (16:36 -0700)
committerIan Rogers <irogers@google.com>
Mon, 1 Oct 2012 23:36:23 +0000 (16:36 -0700)
s/can not/cannot/g

Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9

core/binary.mk
core/combo/HOST_darwin-x86.mk
core/definitions.mk
core/host_shared_library.mk
core/host_static_library.mk
core/product_config.mk
core/shared_library.mk
core/static_library.mk
core/tasks/factory_ramdisk.mk
core/tasks/vendor_module_check.mk

index e10ec9c..ce0fd70 100644 (file)
@@ -11,7 +11,7 @@ ifdef LOCAL_SDK_VERSION
     $(error $(LOCAL_PATH): LOCAL_NDK_VERSION is now retired.)
   endif
   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
   ifneq ($(filter-out SHARED_LIBRARIES STATIC_LIBRARIES,$(LOCAL_MODULE_CLASS)),)
     $(error $(LOCAL_PATH): NDK can only be used to build target shared/static libraries, \
@@ -98,7 +98,7 @@ endif
 
 ifdef LOCAL_SDK_VERSION
   # 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
   installed_shared_library_module_names := \
       $(LOCAL_SHARED_LIBRARIES)
index d05406c..5b9f8f3 100644 (file)
@@ -60,7 +60,7 @@ endif
 
 ifeq ($(wildcard $(mac_sdk_root)),)
 $(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)),)
 $(warning * If you wish to build using higher version of SDK, )
 $(warning * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before )
index 12dce3d..5600779 100644 (file)
@@ -1768,7 +1768,7 @@ endef
 # Copy a single file from one place to another,
 # preserving permissions and overwriting any existing
 # 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.
 # Therefore copy-file-to-target is the same as copy-file-to-new-target.
 define copy-file-to-target
index 976a942..65e8258 100644 (file)
@@ -19,7 +19,7 @@ ifneq ($(strip $(OVERRIDE_BUILT_MODULE_PATH)),)
 $(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
 endif
 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
 
 # Put the built modules of all shared libraries in a common directory
index b04291b..a533cf5 100644 (file)
@@ -14,7 +14,7 @@ ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),)
 LOCAL_MODULE_SUFFIX := .a
 endif
 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
 LOCAL_UNINSTALLABLE_MODULE := true
 
index e05907d..75df954 100644 (file)
@@ -220,7 +220,7 @@ $(call import-products, $(all_product_makefiles))
 else
 # Import just the current product.
 ifndef current_product_makefile
-$(error Can not locate config makefile for product "$(TARGET_PRODUCT)")
+$(error Cannot locate config makefile for product "$(TARGET_PRODUCT)")
 endif
 ifneq (1,$(words $(current_product_makefile)))
 $(error Product "$(TARGET_PRODUCT)" ambiguous: matches $(current_product_makefile))
index 122cd29..97442f7 100644 (file)
@@ -17,7 +17,7 @@ ifneq ($(strip $(OVERRIDE_BUILT_MODULE_PATH)),)
 $(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH)
 endif
 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
 
 ####################################################
index 2a8edfd..976963e 100644 (file)
@@ -15,7 +15,7 @@ LOCAL_MODULE_SUFFIX := .a
 endif
 LOCAL_UNINSTALLABLE_MODULE := true
 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
 
 ####################################################
index 05d89b0..38a5887 100644 (file)
@@ -40,7 +40,7 @@ $(if $(filter 1,$(words $(_iofrm_src))), \
     $(eval _fulldest := $(TARGET_FACTORY_RAMDISK_OUT)/$(1)) \
     $(eval $(call copy-one-file,$(_iofrm_src),$(_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
 
index cbee384..2b10d1d 100644 (file)
@@ -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 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)))
 endif
 _vendor_check_copy_files := $(filter vendor/%, $(PRODUCT_COPY_FILES))