/build/make/common/ |
D | math.mk | 29 math-error = $(call pretty-error,$(1)) 50 math-expect-true = $(call math-expect,$(1),true) 51 math-expect-false = $(call math-expect,$(1),) 66 $(if $(1),,$(call math-error,Argument missing)) \ 67 $(if $(word 2,$(1)),$(call math-error,Multiple words in a single argument: $(1))) \ 73 $(if $(word 2,$(1)),$(call math-error,Multiple words in a single argument: $(1))) \ 77 $(call math-expect-true,(call math_is_number,0)) 78 $(call math-expect-true,(call math_is_number,2)) 79 $(call math-expect-false,(call math_is_number,foo)) 80 $(call math-expect-false,(call math_is_number,-1)) [all …]
|
D | json.mk | 10 json_list =$= $(call _json_list,$(space),$(1)) 13 csv_to_json_list =$= $(call _json_list,$(comma),$(1)) 22 add_json_str =$= $(call add_json_val,$(1),"$(strip $(2))") 23 add_json_list =$= $(call add_json_val,$(1),$(call json_list,$(patsubst %,%,$(2)))) 24 add_json_csv =$= $(call add_json_val,$(1),$(call csv_to_json_list,$(strip $(2)))) 25 add_json_bool =$= $(call add_json_val,$(1),$(if $(strip $(2)),true,false))
|
/build/make/core/ |
D | soong_config.mk | 19 $(call json_start) 21 $(call add_json_str, Make_suffix, -$(TARGET_PRODUCT)) 23 $(call add_json_str, BuildId, $(BUILD_ID)) 24 $(call add_json_str, BuildNumberFile, build_number.txt) 26 $(call add_json_str, Platform_version_name, $(PLATFORM_VERSION)) 27 $(call add_json_val, Platform_sdk_version, $(PLATFORM_SDK_VERSION)) 28 $(call add_json_str, Platform_sdk_codename, $(PLATFORM_VERSION_CODENAME)) 29 $(call add_json_bool, Platform_sdk_final, $(filter REL,$(PLATFORM_VERSION_CODENAME))) 30 $(call add_json_csv, Platform_version_active_codenames, $(PLATFORM_VERSION_ALL_CODENAMES)) 31 $(call add_json_str, Platform_security_patch, $(PLATFORM_SECURITY_PATCH)) [all …]
|
D | dex_preopt_config.mk | 70 $(call pretty-error, DEXPREOPT must be enabled for user and userdebug builds) 85 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms) 86 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx) 87 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms) 88 DEX2OAT_XMX := $(call get-product-default-property,dalvik.vm.dex2oat-Xmx) 92 $(call json_start) 94 …$(call add_json_bool, DisablePreopt, $(call invert_bool,$(ENABLE_PREOPT)… 95 …$(call add_json_bool, DisablePreoptBootImages, $(call invert_bool,$(ENABLE_PREOPT_… 96 $(call add_json_list, DisablePreoptModules, $(DEXPREOPT_DISABLED_MODULES)) 97 …$(call add_json_bool, OnlyPreoptBootImageAndSystemServer, $(filter true,$(WITH_DEXPREOPT_BOOT… [all …]
|
D | soong_java_prebuilt.mk | 11 $(call pretty-error,soong_java_prebuilt.mk may only be used from Soong) 17 intermediates.COMMON := $(call local-intermediates-dir,COMMON) 33 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_jar))) 34 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_pre_proguard_jar))) 35 $(eval $(call add-dependency,$(LOCAL_BUILT_MODULE),$(full_classes_jar))) 39 $(eval $(call copy-one-file,$(LOCAL_SOONG_HEADER_JAR),$(full_classes_header_jar))) 41 $(eval $(call copy-one-file,$(full_classes_jar),$(full_classes_header_jar))) 46 $(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(LOCAL_BUILT_MODULE))) 49 $(eval $(call copy-one-file,$(LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR),\ 50 $(call local-packaging-dir,jacoco)/jacoco-report-classes.jar)) [all …]
|
D | soong_app_prebuilt.mk | 19 $(call pretty-error,soong_app_prebuilt.mk may only be used from Soong) 25 intermediates.COMMON := $(call local-intermediates-dir,COMMON) 36 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_jar))) 37 $(eval $(call copy-one-file,$(LOCAL_SOONG_CLASSES_JAR),$(full_classes_pre_proguard_jar))) 38 $(eval $(call add-dependency,$(LOCAL_BUILT_MODULE),$(full_classes_jar))) 42 $(eval $(call copy-one-file,$(LOCAL_SOONG_HEADER_JAR),$(full_classes_header_jar))) 44 $(eval $(call copy-one-file,$(full_classes_jar),$(full_classes_header_jar))) 55 $(eval $(call copy-one-file,$(LOCAL_SOONG_DEXPREOPT_CONFIG), $(my_dexpreopt_config))) 81 $(eval $(call copy-one-file,$(LOCAL_PREBUILT_MODULE_FILE),$(LOCAL_BUILT_MODULE))) 85 $(eval $(call copy-one-file,$(LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR),\ [all …]
|
D | dex_preopt_odex_install.mk | 73 system_server_jars := $(foreach m,$(PRODUCT_SYSTEM_SERVER_JARS),$(call word-colon,2,$(m))) 107 $(call pretty-error,Must have specified class listing (LOCAL_DEX_PREOPT_PROFILE)) 110 $(call pretty-error, Internal error: dex_preopt_profile_src_file must be set) 166 $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,)/dexpreopt.config) 184 $(call add_json_array, $(1)) \ 186 $(call add_json_map_anon) \ 187 $(call add_json_str, Name, $(lib)) \ 188 …$(call add_json_str, Host, $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/javalib.jar… 189 $(call add_json_str, Device, /system/framework/$(lib).jar) \ 190 $(call add_json_val, Subcontexts, null) \ [all …]
|
D | definitions.mk | 206 $(call all-makefiles-under,$(call my-dir)) 217 $(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1)))) 228 $(call find-subdir-files,$(2) -type d -name "$(1)") 237 $(call all-named-dirs-under,$(1),.) 248 $(call find-files-in-subdirs,$(LOCAL_PATH),"$(1)",$(2)) 257 $(call all-named-files-under,$(1),.) 267 $(call all-named-files-under,*.java,$(1)) 276 $(call all-java-files-under,.) 286 $(call all-named-files-under,*.c,$(1)) 295 $(call all-c-files-under,.) [all …]
|
D | node_fns.mk | 163 $(call uniq-word,$($(_eiv_tv)),$(INHERIT_TAG)$(i))) \ 195 $(call clear-var-list, $(3)) 198 $(call dump-import-start,$(_include_stack)) 199 $(call dump-config-vals,$(2),before) 201 $(call dump-import-done,$(_include_stack)) 202 $(call dump-config-vals,$(2),after) 206 $(call copy-var-list, $(1).$(2), $(3)) 207 $(call clear-var-list, $(3)) 210 $(call get-inherited-nodes,$(1).$(2),$(3))) 211 $(call _import-nodes-inner,$(1),$($(1).$(2).inherited),$(3)) [all …]
|
D | dex_preopt_libart.mk | 28 $(eval $(call copy-one-file,$(1),$(my_vdex_shared))) \ 31 $(call symlink-file,$(my_vdex_shared),../$(notdir $(2)),$(2)) \ 38 $(foreach v,$(1),$(call copy-vdex-file,$(call word-colon,1,$(v)),$(2)$(call word-colon,2,$(v)))) 51 my_first_src := $(call word-colon,1,$(my_first_pair)) 52 my_first_dest := $(my_boot_image_out)$(call word-colon,2,$(my_first_pair)) 54 my_installed := $(call copy-many-files,$(my_rest_pairs),$(my_boot_image_out)) 55 …my_installed += $(call copy-vdex-files,$(DEXPREOPT_IMAGE_VDEX_BUILT_INSTALLED_$(my_suffix)),$(my_b… 56 …my_unstripped_installed := $(call copy-many-files,$(DEXPREOPT_IMAGE_UNSTRIPPED_BUILT_INSTALLED_$(m…
|
D | main.mk | 416 ifneq ($(filter ro.setupwizard.mode=ENABLED, $(call collapse-pairs, $(ADDITIONAL_SYSTEM_PROPERTIES)… 419 $(call collapse-pairs, $(ADDITIONAL_SYSTEM_PROPERTIES))) \ 520 $(shell $(call echo-warning,$(LOCAL_MODULE_MAKEFILE),$(LOCAL_MODULE): $(1))) 526 $(shell $(call echo-error,$(LOCAL_MODULE_MAKEFILE),$(LOCAL_MODULE): $(1))) 543 $(foreach mk,$(subdir_makefiles),$(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefi… 553 $(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefiles_total)] finishing build rules… 576 $(call generate_all_enforce_rro_packages) 593 $(call module-installed-files,$(known_custom_modules)) \ 650 $(eval modules += $(call get-modules-for-2nd-arch,$(1),$(modules_2nd_arch))), \ 655 $(eval modules += $(call get-modules-for-2nd-arch,$(1),$(modules_both)))) \ [all …]
|
/build/make/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS) 48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS) 49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system) 51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediat… 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libmedia_jni_intermediates) 53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libstagefright_omx_intermediates) 54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop) 55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop) 56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop) 57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/vendor) [all …]
|
/build/make/core/tasks/ |
D | host_init_verifier.mk | 25 $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \ 26 $(call intermediates-dir-for,ETC,passwd_system_ext)/passwd_system_ext \ 27 $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \ 28 $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \ 29 $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \ 30 $(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_contexts \ 31 $(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_property_contexts \ 32 $(call intermediates-dir-for,ETC,product_property_contexts)/product_property_contexts \ 33 $(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_contexts \ 34 $(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts [all …]
|
D | sdk-addon.mk | 37 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs 39 $(hide) $(JAVA) -jar $(call module-installed-files,mkstubs) $(if $(hide),,--v) \ 46 $(eval _src := $(call module-stubs-files,$(call word-colon,1,$(cf)))) \ 47 $(eval $(call stub-addon-jar,$(_src))) \ 48 $(eval _src := $(call stub-addon-jar-file,$(_src))) \ 49 …$(if $(_src),,$(eval $(error Unknown or unlinkable module: $(call word-colon,1,$(cf)). Requested b… 50 $(eval _dest := $(call word-colon,2,$(cf))) \ 58 $(eval _src := $(call word-colon,1,$(cf))) \ 59 $(eval _dest := $(call word-colon,2,$(cf))) \ 83 $(eval _root := $(call word-colon,1,$(cf))) \ [all …]
|
/build/make/target/product/ |
D | sdk_phone_arm64.mk | 32 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 33 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 38 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 39 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 44 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 49 $(call inherit-product-if-exists, device/generic/goldfish/arm64-vendor.mk) 50 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 51 $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm64/device.mk) 54 $(call inherit-product, sdk/build/product_sdk.mk) 55 $(call inherit-product, development/build/product_sdk.mk)
|
D | sdk_phone_x86_64.mk | 27 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 28 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 38 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 39 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 44 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 49 $(call inherit-product-if-exists, device/generic/goldfish/x86_64-vendor.mk) 50 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 51 $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86_64/device.mk) 54 $(call inherit-product-if-exists, sdk/build/product_sdk.mk) 55 $(call inherit-product-if-exists, development/build/product_sdk.mk)
|
D | sdk_phone_armv7.mk | 32 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 37 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 38 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 43 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 48 $(call inherit-product-if-exists, device/generic/goldfish/arm32-vendor.mk) 49 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 50 $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm/device.mk) 53 $(call inherit-product, sdk/build/product_sdk.mk) 54 $(call inherit-product, development/build/product_sdk.mk)
|
D | sdk_phone_x86.mk | 27 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 37 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 38 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 43 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 48 $(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 49 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 50 $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86/device.mk) 53 $(call inherit-product-if-exists, sdk/build/product_sdk.mk) 54 $(call inherit-product-if-exists, development/build/product_sdk.mk)
|
D | aosp_x86_64.mk | 34 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 35 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 45 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 46 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 51 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 56 $(call inherit-product-if-exists, device/generic/goldfish/x86_64-vendor.mk) 57 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 58 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk) 64 $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
D | aosp_64bitonly_x86_64.mk | 32 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 33 $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk) 43 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 44 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 49 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 54 $(call inherit-product-if-exists, device/generic/goldfish/x86_64-vendor.mk) 55 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 56 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk) 62 $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
D | aosp_arm64.mk | 32 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 33 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 43 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 44 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 49 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 54 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 55 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk) 61 $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
D | aosp_arm.mk | 29 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 41 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 42 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 47 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 52 $(call inherit-product-if-exists, device/generic/goldfish/arm32-vendor.mk) 53 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 54 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk) 60 $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
D | aosp_x86.mk | 29 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 39 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 40 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 45 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 50 $(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 51 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 52 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk) 59 $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
D | handheld_system.mk | 21 $(call inherit-product, $(SRC_TARGET_DIR)/product/media_system.mk) 22 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) 23 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) 24 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) 25 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) 26 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) 27 $(call inherit-product-if-exists, external/google-fonts/source-sans-pro/fonts.mk) 28 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) 29 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) 30 $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) [all …]
|
D | aosp_x86_arm.mk | 22 $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 37 $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 38 $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 43 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 48 $(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 49 $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 50 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_arm/device.mk)
|