Home | History | Annotate | Download | only in core
      1 ###########################################################
      2 ## Clear out values of all variables used by rule templates.
      3 ###########################################################
      4 
      5 LOCAL_MODULE:=
      6 LOCAL_MODULE_PATH:=
      7 LOCAL_MODULE_STEM:=
      8 LOCAL_DONT_CHECK_MODULE:=
      9 LOCAL_CHECKED_MODULE:=
     10 LOCAL_BUILT_MODULE:=
     11 LOCAL_BUILT_MODULE_STEM:=
     12 OVERRIDE_BUILT_MODULE_PATH:=
     13 LOCAL_INSTALLED_MODULE:=
     14 LOCAL_INSTALLED_MODULE_STEM:=
     15 LOCAL_UNINSTALLABLE_MODULE:=
     16 LOCAL_INTERMEDIATE_TARGETS:=
     17 LOCAL_UNSTRIPPED_PATH:=
     18 LOCAL_MODULE_CLASS:=
     19 LOCAL_MODULE_SUFFIX:=
     20 LOCAL_PACKAGE_NAME:=
     21 LOCAL_OVERRIDES_PACKAGES:=
     22 LOCAL_EXPORT_PACKAGE_RESOURCES:=
     23 LOCAL_MANIFEST_PACKAGE_NAME:=
     24 LOCAL_REQUIRED_MODULES:=
     25 LOCAL_ACP_UNAVAILABLE:=
     26 LOCAL_MODULE_TAGS:=
     27 LOCAL_SRC_FILES:=
     28 LOCAL_PREBUILT_OBJ_FILES:=
     29 LOCAL_STATIC_JAVA_LIBRARIES:=
     30 LOCAL_STATIC_LIBRARIES:=
     31 # Group static libraries with "-Wl,--start-group" and "-Wl,--end-group" when linking.
     32 LOCAL_GROUP_STATIC_LIBRARIES:=
     33 LOCAL_WHOLE_STATIC_LIBRARIES:=
     34 LOCAL_SHARED_LIBRARIES:=
     35 LOCAL_IS_HOST_MODULE:=
     36 LOCAL_CC:=
     37 LOCAL_CXX:=
     38 LOCAL_CPP_EXTENSION:=
     39 LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
     40 LOCAL_NO_FDO_SUPPORT :=
     41 LOCAL_ARM_MODE:=
     42 LOCAL_YACCFLAGS:=
     43 LOCAL_ASFLAGS:=
     44 LOCAL_CFLAGS:=
     45 LOCAL_CPPFLAGS:=
     46 LOCAL_CONLYFLAGS:=
     47 LOCAL_RTTI_FLAG:=
     48 LOCAL_C_INCLUDES:=
     49 LOCAL_EXPORT_C_INCLUDE_DIRS:=
     50 LOCAL_LDFLAGS:=
     51 LOCAL_LDLIBS:=
     52 LOCAL_AAPT_FLAGS:=
     53 LOCAL_AAPT_INCLUDE_ALL_RESOURCES:=
     54 LOCAL_SYSTEM_SHARED_LIBRARIES:=none
     55 LOCAL_PREBUILT_LIBS:=
     56 LOCAL_PREBUILT_EXECUTABLES:=
     57 LOCAL_PREBUILT_JAVA_LIBRARIES:=
     58 LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES:=
     59 LOCAL_PREBUILT_STRIP_COMMENTS:=
     60 LOCAL_INTERMEDIATE_SOURCES:=
     61 LOCAL_INTERMEDIATE_SOURCE_DIR:=
     62 LOCAL_JAVACFLAGS:=
     63 LOCAL_JAVA_LIBRARIES:=
     64 LOCAL_JAVA_LAYERS_FILE:=
     65 LOCAL_NO_STANDARD_LIBRARIES:=
     66 LOCAL_CLASSPATH:=
     67 LOCAL_DROIDDOC_USE_STANDARD_DOCLET:=
     68 LOCAL_DROIDDOC_SOURCE_PATH:=
     69 LOCAL_DROIDDOC_TEMPLATE_DIR:=
     70 LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=
     71 LOCAL_DROIDDOC_ASSET_DIR:=
     72 LOCAL_DROIDDOC_CUSTOM_ASSET_DIR:=
     73 LOCAL_DROIDDOC_OPTIONS:=
     74 LOCAL_DROIDDOC_HTML_DIR:=
     75 LOCAL_ADDITIONAL_HTML_DIR:=
     76 LOCAL_ASSET_FILES:=
     77 LOCAL_ASSET_DIR:=
     78 LOCAL_RESOURCE_DIR:=
     79 LOCAL_JAVA_RESOURCE_DIRS:=
     80 LOCAL_JAVA_RESOURCE_FILES:=
     81 LOCAL_GENERATED_SOURCES:=
     82 LOCAL_COPY_HEADERS_TO:=
     83 LOCAL_COPY_HEADERS:=
     84 LOCAL_FORCE_STATIC_EXECUTABLE:=
     85 LOCAL_ADDITIONAL_DEPENDENCIES:=
     86 LOCAL_ENABLE_APROF:=
     87 LOCAL_ENABLE_APROF_JNI:=
     88 LOCAL_COMPRESS_MODULE_SYMBOLS:=
     89 LOCAL_STRIP_MODULE:=
     90 LOCAL_JNI_SHARED_LIBRARIES:=
     91 LOCAL_JNI_SHARED_LIBRARIES_ABI:=
     92 LOCAL_JAR_MANIFEST:=
     93 LOCAL_INSTRUMENTATION_FOR:=
     94 LOCAL_APK_LIBRARIES:=
     95 LOCAL_MANIFEST_INSTRUMENTATION_FOR:=
     96 LOCAL_AIDL_INCLUDES:=
     97 LOCAL_JARJAR_RULES:=
     98 LOCAL_ADDITIONAL_JAVA_DIR:=
     99 LOCAL_ALLOW_UNDEFINED_SYMBOLS:=
    100 LOCAL_DX_FLAGS:=
    101 LOCAL_CERTIFICATE:=
    102 LOCAL_SDK_VERSION:=
    103 LOCAL_SDK_RES_VERSION:=
    104 LOCAL_NDK_STL_VARIANT:=
    105 LOCAL_EMMA_INSTRUMENT:=
    106 LOCAL_PROGUARD_ENABLED:= # '',full,custom,nosystem,disabled,obfuscation,optimization
    107 LOCAL_PROGUARD_FLAGS:=
    108 LOCAL_PROGUARD_FLAG_FILES:=
    109 LOCAL_EMMA_COVERAGE_FILTER:=
    110 LOCAL_WARNINGS_ENABLE:=
    111 LOCAL_FULL_MANIFEST_FILE:=
    112 LOCAL_MANIFEST_FILE:=
    113 LOCAL_RENDERSCRIPT_INCLUDES:=
    114 LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
    115 LOCAL_RENDERSCRIPT_CC:=
    116 LOCAL_RENDERSCRIPT_COMPATIBILITY:=
    117 LOCAL_RENDERSCRIPT_FLAGS:=
    118 LOCAL_RENDERSCRIPT_SKIP_INSTALL:=
    119 LOCAL_RENDERSCRIPT_TARGET_API:=
    120 LOCAL_BUILD_HOST_DEX:=
    121 LOCAL_DEX_PREOPT:= # '',true,false,nostripping
    122 LOCAL_PROTOC_OPTIMIZE_TYPE:= # lite(default),micro,nano,full
    123 LOCAL_PROTOC_FLAGS:=
    124 LOCAL_PROTO_JAVA_OUTPUT_PARAMS:=
    125 LOCAL_NO_CRT:=
    126 LOCAL_PROPRIETARY_MODULE:=
    127 LOCAL_PRIVILEGED_MODULE:=
    128 LOCAL_MODULE_OWNER:=
    129 LOCAL_CTS_TEST_PACKAGE:=
    130 LOCAL_CTS_TEST_RUNNER:=
    131 LOCAL_CLANG:=
    132 LOCAL_ADDRESS_SANITIZER:=
    133 LOCAL_JAR_EXCLUDE_FILES:=
    134 LOCAL_JAR_PACKAGES:=
    135 LOCAL_LINT_FLAGS:=
    136 LOCAL_SOURCE_FILES_ALL_GENERATED:= # '',true
    137 # Don't delete the META_INF dir when merging static Java libraries.
    138 LOCAL_DONT_DELETE_JAR_META_INF:=
    139 LOCAL_ADDITIONAL_CERTIFICATES:=
    140 LOCAL_PREBUILT_MODULE_FILE:=
    141 LOCAL_POST_INSTALL_CMD:=
    142 LOCAL_DIST_BUNDLED_BINARIES:=
    143 LOCAL_HAL_STATIC_LIBRARIES:=
    144 
    145 # Trim MAKEFILE_LIST so that $(call my-dir) doesn't need to
    146 # iterate over thousands of entries every time.
    147 # Leave the current makefile to make sure we don't break anything
    148 # that expects to be able to find the name of the current makefile.
    149 MAKEFILE_LIST := $(lastword $(MAKEFILE_LIST))
    150