Lines Matching refs:dir
165 define my-dir
169 $(error my-dir must be called before including any other makefile.) \
171 $(patsubst %/,%,$(dir $(LOCAL_MODULE_MAKEFILE))) \
194 --mindepth=2 $(addprefix --dir=,$(1)) Android.mk)
203 $(call all-makefiles-under,$(call my-dir))
214 $(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1))))
488 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \
563 define intermediates-dir-for
567 $(error $(LOCAL_PATH): Class not defined in call to intermediates-dir-for)) \
570 $(error $(LOCAL_PATH): Name not defined in call to intermediates-dir-for)) \
590 define local-intermediates-dir
593 … $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-intermediates-dir)) \
595 $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-intermediates-dir)) \
596 …$(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE),$(if $(strip $(LOCAL_IS_HOST_MO…
613 define generated-sources-dir-for
617 $(error $(LOCAL_PATH): Class not defined in call to generated-sources-dir-for)) \
620 $(error $(LOCAL_PATH): Name not defined in call to generated-sources-dir-for)) \
635 define local-generated-sources-dir
638 …(error $(LOCAL_PATH): LOCAL_MODULE_CLASS not defined before call to local-generated-sources-dir)) \
640 … $(error $(LOCAL_PATH): LOCAL_MODULE not defined before call to local-generated-sources-dir)) \
641 …$(call generated-sources-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MODULE),$(if $(strip $(LOCAL_IS_HOS…
718 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),$(2),COMMON)/classes.jar)
727 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),$(2),COMMON)/classes-header.j…
751 $(foreach lib,$(1),$(call intermediates-dir-for,APPS,$(lib),,COMMON)/classes.jar)
759 $(foreach lib,$(1),$(call intermediates-dir-for,APPS,$(lib),,COMMON)/classes-header.jar)
771 $(foreach lib,$(1),$(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/exported-sdk-libs)
968 $(hide) mkdir -p $(dir $@)
969 $(hide) $(BCC_COMPAT) -O3 -o $(dir $@)/$(notdir $(<:.bc=.o)) -fPIC -shared \
973 $(dir $@)/$(notdir $(<:.bc=.o)) \
978 $(call intermediates-dir-for,SHARED_LIBRARIES,libRSSupport)/libRSSupport.so \
1000 $(hide) mkdir -p $(dir $@)
1010 @mkdir -p $(dir $@)
1017 @mkdir -p $(dir $@)
1055 @mkdir -p $(dir $@)
1080 @mkdir -p $(dir $@)
1091 @mkdir -p $(dir $@)
1111 @mkdir -p $(dir $@)
1177 @mkdir -p $(dir $@)
1223 @mkdir -p $(dir $@)
1233 @mkdir -p $(dir $@)
1241 @mkdir -p $(dir $@)
1291 @mkdir -p $(dir $@)
1315 @mkdir -p $(dir $@)
1341 @mkdir -p $(dir $@)
1506 @mkdir -p $(dir $@)
1557 $(if $(PRIVATE_ALL_OBJECTS),,$(hide) touch $(dir $(1))dummy.o)
1561 $(if $(PRIVATE_ALL_OBJECTS),,$(dir $(1))dummy.o)
1565 …_OBJECTS),,$(hide) $($(PRIVATE_2ND_ARCH_VAR_PREFIX)$(PRIVATE_PREFIX)AR) d $(1) $(dir $(1))dummy.o \
1566 && rm -f $(dir $(1))dummy.o)
1578 @mkdir -p $(dir $@)
1623 @mkdir -p $(dir $@)
1629 @mkdir -p $(dir $@)
1664 @mkdir -p $(dir $@)
1699 @mkdir -p $(dir $@)
1741 @mkdir -p $(dir $@)
1776 @mkdir -p $(dir $@)
1803 …dir=`awk '/package/{gsub(/\./,"/",$$2);gsub(/;/,"",$$2);print $$2;exit}' $$GENERATED_MANIFEST_FILE…
1804 mkdir -p $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1805 cp $$GENERATED_MANIFEST_FILE $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1809 dir=`awk '/package/{gsub(/\./,"/",$$2);gsub(/;/,"",$$2);print $$2;exit}' $$GENERATED_R_FILE`; \
1810 mkdir -p $(TARGET_COMMON_OUT_ROOT)/R/$$dir; \
1811 cp $$GENERATED_R_FILE $(TARGET_COMMON_OUT_ROOT)/R/$$dir \
1824 @mkdir -p $(dir $@)
1825 $(hide) $(AAPT2) compile -o $(dir $@) $(PRIVATE_AAPT2_CFLAGS) $<
1829 @mkdir -p $(dir $@)
1830 $(hide) $(AAPT2) compile -o $@ $(addprefix --dir ,$(PRIVATE_SOURCE_RES_DIRS)) \
1836 @mkdir -p $(dir $@)
1838 $(hide) $(AAPT2) compile -o $@ --dir $@.contents $(PRIVATE_AAPT2_CFLAGS)
1861 $(eval _p_w := $(strip $(subst /,$(space),$(dir $(call clean-path,$(1))))))
1866 @mkdir -p $(dir $@)
1869 $(call dump-words-to-file,$(PRIVATE_RES_FLAT),$(dir $@)aapt2-flat-list)
1870 $(call dump-words-to-file,$(PRIVATE_OVERLAY_FLAT),$(dir $@)aapt2-flat-overlay-list)
1889 -R \@$(dir $@)aapt2-flat-overlay-list \
1890 \@$(dir $@)aapt2-flat-list
1987 $(hide) mkdir -p $(dir $@)
2033 @mkdir -p $(dir $@)
2034 @rm -rf $(dir $@)/classes-turbine
2035 @mkdir $(dir $@)/classes-turbine
2038 --output $@.premerged --temp_dir $(dir $@)/classes-turbine \
2047 || ( rm -rf $(dir $@)/classes-turbine ; exit 41 ) && \
2131 @mkdir -p $(dir $@)tmp
2132 $(hide) rm -f $(dir $@)classes*.dex $(dir $@)d8_input.jar
2133 $(hide) $(ZIP2ZIP) -j -i $< -o $(dir $@)d8_input.jar "**/*.class"
2135 --output $(dir $@)tmp \
2140 $(dir $@)d8_input.jar
2141 $(hide) mv $(dir $@)tmp/* $(dir $@)
2142 $(hide) rm -f $(dir $@)d8_input.jar
2143 $(hide) rm -rf $(dir $@)tmp
2151 $(hide) cp $(3) $(dir $(1))lib/$(2)
2158 rm -rf $(dir $(1))lib
2159 mkdir -p $(addprefix $(dir $(1))lib/,$(PRIVATE_JNI_SHARED_LIBRARIES_ABI))
2163 $(SOONG_ZIP) $(if $(2),-L 0) -o $(1) -C $(dir $(1)) -D $(dir $(1))lib
2164 rm -rf $(dir $(1))lib
2170 find $(dir $(2)) -maxdepth 1 -name "classes*.dex" | sort > $(1).lst
2171 $(SOONG_ZIP) -o $(1) -C $(dir $(2)) -l $(1).lst
2403 $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \
2404 $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \
2405 $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \
2406 $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \
2407 $(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_contexts \
2408 $(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_property_contexts \
2409 $(call intermediates-dir-for,ETC,product_property_contexts)/product_property_contexts \
2410 $(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_contexts \
2411 $(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts
2413 -p $(call intermediates-dir-for,ETC,passwd_system)/passwd_system \
2414 -p $(call intermediates-dir-for,ETC,passwd_vendor)/passwd_vendor \
2415 -p $(call intermediates-dir-for,ETC,passwd_odm)/passwd_odm \
2416 -p $(call intermediates-dir-for,ETC,passwd_product)/passwd_product \
2417 …--property-contexts=$(call intermediates-dir-for,ETC,plat_property_contexts)/plat_property_context…
2418 …--property-contexts=$(call intermediates-dir-for,ETC,system_ext_property_contexts)/system_ext_prop…
2419 …--property-contexts=$(call intermediates-dir-for,ETC,product_property_contexts)/product_property_c…
2420 …--property-contexts=$(call intermediates-dir-for,ETC,vendor_property_contexts)/vendor_property_con…
2421 …--property-contexts=$(call intermediates-dir-for,ETC,odm_property_contexts)/odm_property_contexts \
2517 @mkdir -p $(dir $@)
2525 @mkdir -p $(dir $@)
2533 @mkdir -p $(dir $@)
2541 @mkdir -p $(dir $@)
2549 @mkdir -p $(dir $@)
2574 $(hide) mkdir -p $(dir $(3)/$(s)); cp -Rf $(t) $(3)/$(s)$(newline))
2588 @mkdir -p $(dir $$@)
2650 @mkdir -p $(dir $@)