Lines Matching refs:dir
168 define my-dir
172 $(error my-dir must be called before including any other makefile.) \
174 $(patsubst %/,%,$(dir $(LOCAL_MODULE_MAKEFILE))) \
197 --mindepth=2 $(addprefix --dir=,$(1)) Android.mk)
206 $(call all-makefiles-under,$(call my-dir))
217 $(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1))))
491 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \
571 define license-metadata-dir
572 $(call generated-sources-dir-for,META,lic,)
579 $(strip $(eval _dir := $(call license-metadata-dir)))
585 mkdir -p $$(dir $$@)
600 mkdir -p $$(dir $$@)
620 mkdir -p $$(dir $$@)
665 define intermediates-dir-for
669 $(error $(LOCAL_PATH): Class not defined in call to intermediates-dir-for)) \
672 $(error $(LOCAL_PATH): Name not defined in call to intermediates-dir-for)) \
692 define local-intermediates-dir
695 … $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-intermediates-dir)) \
697 $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-intermediates-dir)) \
698 …$(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE),$(if $(strip $(LOCAL_IS_HOST_MO…
715 define generated-sources-dir-for
719 $(error $(LOCAL_PATH): Class not defined in call to generated-sources-dir-for)) \
722 $(error $(LOCAL_PATH): Name not defined in call to generated-sources-dir-for)) \
737 define local-generated-sources-dir
740 …(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-generated-sources-dir)) \
742 … $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-generated-sources-dir)) \
743 …$(call generated-sources-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE),$(if $(strip $(LOCAL_IS_HOS…
756 define packaging-dir-for
760 $(error $(LOCAL_PATH): Class not defined in call to generated-sources-dir-for)) \
763 $(error $(LOCAL_PATH): Name not defined in call to generated-sources-dir-for)) \
764 $(call intermediates-dir-for,PACKAGING,$(1),$(4))/$(_pdfClass)/$(_pdfName)_intermediates \
772 define local-packaging-dir
775 …(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-generated-sources-dir)) \
777 … $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-generated-sources-dir)) \
778 …$(call packaging-dir-for,$(1),$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE),$(if $(strip $(LOCAL_IS_HOST_M…
856 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),$(2),COMMON)/classes.jar)
865 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),$(2),COMMON)/classes-header.j…
889 $(foreach lib,$(1),$(call intermediates-dir-for,APPS,$(lib),,COMMON)/classes.jar)
897 $(foreach lib,$(1),$(call intermediates-dir-for,APPS,$(lib),,COMMON)/classes-header.jar)
909 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/exported-sdk-libs)
1106 $(hide) mkdir -p $(dir $@)
1107 $(hide) $(BCC_COMPAT) -O3 -o $(dir $@)/$(notdir $(<:.bc=.o)) -fPIC -shared \
1111 $(dir $@)/$(notdir $(<:.bc=.o)) \
1116 $(call intermediates-dir-for,SHARED_LIBRARIES,libRSSupport)/libRSSupport.so \
1138 $(hide) mkdir -p $(dir $@)
1148 @mkdir -p $(dir $@)
1155 @mkdir -p $(dir $@)
1193 @mkdir -p $(dir $@)
1218 @mkdir -p $(dir $@)
1229 @mkdir -p $(dir $@)
1249 @mkdir -p $(dir $@)
1315 @mkdir -p $(dir $@)
1361 @mkdir -p $(dir $@)
1371 @mkdir -p $(dir $@)
1379 @mkdir -p $(dir $@)
1429 @mkdir -p $(dir $@)
1453 @mkdir -p $(dir $@)
1479 @mkdir -p $(dir $@)
1644 @mkdir -p $(dir $@)
1695 $(if $(PRIVATE_ALL_OBJECTS),,$(hide) touch $(dir $(1))dummy.o)
1699 $(if $(PRIVATE_ALL_OBJECTS),,$(dir $(1))dummy.o)
1703 …_OBJECTS),,$(hide) $($(PRIVATE_2ND_ARCH_VAR_PREFIX)$(PRIVATE_PREFIX)AR) d $(1) $(dir $(1))dummy.o \
1704 && rm -f $(dir $(1))dummy.o)
1716 @mkdir -p $(dir $@)
1760 @mkdir -p $(dir $@)
1766 @mkdir -p $(dir $@)
1800 @mkdir -p $(dir $@)
1834 @mkdir -p $(dir $@)
1875 @mkdir -p $(dir $@)
1909 @mkdir -p $(dir $@)
1936 …dir=`awk '/package/{gsub(/\./,"/",$$2);gsub(/;/,"",$$2);print $$2;exit}' $$GENERATED_MANIFEST_FILE…
1937 mkdir -p $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1938 cp $$GENERATED_MANIFEST_FILE $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1942 dir=`awk '/package/{gsub(/\./,"/",$$2);gsub(/;/,"",$$2);print $$2;exit}' $$GENERATED_R_FILE`; \
1943 mkdir -p $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1944 cp $$GENERATED_R_FILE $(TARGET_COMMON_OUT_ROOT)/R/$$dir \
1957 @mkdir -p $(dir $@)
1958 $(hide) $(AAPT2) compile -o $(dir $@) $(PRIVATE_AAPT2_CFLAGS) $<
1962 @mkdir -p $(dir $@)
1963 $(hide) $(AAPT2) compile -o $@ $(addprefix --dir ,$(PRIVATE_SOURCE_RES_DIRS)) \
1969 @mkdir -p $(dir $@)
1971 $(hide) $(AAPT2) compile -o $@ --dir $@.contents $(PRIVATE_AAPT2_CFLAGS)
1994 $(eval _p_w := $(strip $(subst /,$(space),$(dir $(call clean-path,$(1))))))
1999 @mkdir -p $(dir $@)
2002 $(call dump-words-to-file,$(PRIVATE_RES_FLAT),$(dir $@)aapt2-flat-list)
2003 $(call dump-words-to-file,$(PRIVATE_OVERLAY_FLAT),$(dir $@)aapt2-flat-overlay-list)
2022 -R \@$(dir $@)aapt2-flat-overlay-list \
2023 \@$(dir $@)aapt2-flat-list
2120 $(hide) mkdir -p $(dir $@)
2166 @mkdir -p $(dir $@)
2167 @rm -rf $(dir $@)/classes-turbine
2168 @mkdir $(dir $@)/classes-turbine
2171 --output $@.premerged --temp_dir $(dir $@)/classes-turbine \
2180 || ( rm -rf $(dir $@)/classes-turbine ; exit 41 ) && \
2275 @mkdir -p $(dir $@)tmp
2276 $(hide) rm -f $(dir $@)classes*.dex $(dir $@)d8_input.jar
2277 $(hide) $(ZIP2ZIP) -j -i $< -o $(dir $@)d8_input.jar "**/*.class"
2279 --output $(dir $@)tmp \
2284 $(dir $@)d8_input.jar
2285 $(hide) mv $(dir $@)tmp/* $(dir $@)
2286 $(hide) rm -f $(dir $@)d8_input.jar
2287 $(hide) rm -rf $(dir $@)tmp
2295 $(hide) cp $(3) $(dir $(1))lib/$(2)
2302 rm -rf $(dir $(1))lib
2303 mkdir -p $(addprefix $(dir $(1))lib/,$(PRIVATE_JNI_SHARED_LIBRARIES_ABI))
2307 $(SOONG_ZIP) $(if $(2),-L 0) -o $(1) -C $(dir $(1)) -D $(dir $(1))lib
2308 rm -rf $(dir $(1))lib
2314 find $(dir $(2)) -maxdepth 1 -name "classes*.dex" | sort > $(1).lst
2315 $(SOONG_ZIP) -o $(1) -C $(dir $(2)) -l $(1).lst
2574 $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \
2575 $(call intermediates-dir-for,ETC,passwd_system_ext)/passwd_system_ext \
2576 $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \
2577 $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \
2578 $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \
2579 $(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_contexts \
2580 $(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_property_contexts \
2581 $(call intermediates-dir-for,ETC,product_property_contexts)/product_property_contexts \
2582 $(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_contexts \
2583 $(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts
2585 -p $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \
2586 -p $(call intermediates-dir-for,ETC,passwd_system_ext)/passwd_system_ext \
2587 -p $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \
2588 -p $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \
2589 -p $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \
2590 …--property-contexts=$(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_context…
2591 …--property-contexts=$(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_prop…
2592 …--property-contexts=$(call intermediates-dir-for,ETC,product_property_contexts)/product_property_c…
2593 …--property-contexts=$(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_con…
2594 …--property-contexts=$(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts \
2665 $(call intermediates-dir-for,FAKE,check-non-elf-file-timestamps)/$(2).timestamp)
2700 @mkdir -p $(dir $@)
2708 @mkdir -p $(dir $@)
2716 @mkdir -p $(dir $@)
2724 @mkdir -p $(dir $@)
2732 @mkdir -p $(dir $@)
2740 @mkdir -p $(dir $@)
2776 $(hide) mkdir -p $(dir $(3)/$(s)); cp -Rf $(t) $(3)/$(s)$(newline))
2790 @mkdir -p $$(dir $$@)
2854 @mkdir -p $(dir $@)