Lines Matching refs:file

5 # you may not use this file except in compliance with the License.
89 # Generated class file names for Android resource.
333 ## Find various file types in a list of directories relative to $(LOCAL_PATH)
348 ## a particular file. Returns the first match found,
352 define find-parent-file
357 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \
373 ## $(call add-prebuilt-file, srcfile, [targetclass])
376 define add-prebuilt-file
396 $(foreach f,$(2),$(call add-prebuilt-file,$f,$(1)))
503 ## Evaluates to the timestamp file for a doc module, which
760 # $(1): the input .d file
761 # $(2): the output .P file
916 ## Commands for running gcc to compile a C++ file
946 ## Commands for running gcc to compile a C file
990 ## Commands for running gcc to compile an Objective-C file
1006 ## Commands for running gcc to compile a host C++ file
1034 ## Commands for running gcc to compile a host C file
1077 ## Commands for running gcc to compile a host Objective-C file
1100 # the output file won't be created.
1418 # emit-line, <word list>, <output file>
1423 # dump-words-to-file, <word list>, <output file>
1424 define dump-words-to-file
1463 echo Missing file $$f; \
1476 # - we filter out duplicate java file names because eclipse's compiler
1487 $(call dump-words-to-file,$(PRIVATE_JAVA_SOURCES),$(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list)
1606 # Create a mostly-empty .jar file that we'll add to later.
1622 #TODO: update the manifest to point to the package file
1652 #TODO: update the manifest to point to the dex file
1664 $(call dump-words-to-file, $(PRIVATE_EXTRA_JAR_ARGS), $(dir $@)jar-arg-list)
1736 $$(copy-file-to-new-target-with-cp)
1739 # Define a rule to copy a file. For use via $(eval).
1740 # $(1): source file
1741 # $(2): destination file
1742 define copy-one-file
1745 $$(copy-file-to-target)
1756 $(eval $(call copy-one-file,$(_cmf_src),$(_cmf_dest))) \
1760 # Copy the file only if it's a well-formed xml file. For use via $(eval).
1761 # $(1): source file
1762 # $(2): destination file, must end with .xml.
1763 define copy-xml-file-checked
1766 $(hide) xmllint $$< >/dev/null # Don't print the xml file to stdout.
1767 $$(copy-file-to-target)
1772 # where it's an error for a .a file's modification time
1776 # Copy a single file from one place to another,
1778 # file.
1780 # high resolution timestamp correctly on file systems like ext4.
1781 # Therefore copy-file-to-target is the same as copy-file-to-new-target.
1782 define copy-file-to-target
1787 # The same as copy-file-to-target, but use the local
1789 define copy-file-to-target-with-cp
1794 # The same as copy-file-to-target, but use the zipalign tool to do so.
1795 define copy-file-to-target-with-zipalign
1800 # The same as copy-file-to-target, but strip out "# comment"-style
1802 define copy-file-to-target-strip-comments
1807 # The same as copy-file-to-target, but don't preserve
1809 define copy-file-to-new-target
1814 # The same as copy-file-to-new-target, but use the local
1816 define copy-file-to-new-target-with-cp
1821 # Copy a prebuilt file to a target location.
1824 $(copy-file-to-target)
1827 # Copy a prebuilt file to a target location, using zipalign on it.
1830 $(copy-file-to-target-with-zipalign)
1833 # Copy a prebuilt file to a target location, stripping "# comment" comments.
1836 $(copy-file-to-target-strip-comments)
1889 # $(1): The file to check
1890 ifndef get-file-size
1891 $(error HOST_OS must define get-file-size)
1905 # $(1): The file(s) to check (often $@)
1914 define assert-max-file-size
1916 size=$$(for i in $(1); do $(call get-file-size,$$i); echo +; done; echo 0); \
1942 # Like assert-max-file-size, but the second argument is a partition
1946 # $(1): The file(s) to check (often $@)
1950 $(call assert-max-file-size,$(1),$(call image-size-from-data-size,$(2))), \
1960 # Copy a radio image file to the output location, and add it to
1963 define add-radio-file
1964 $(eval $(call add-radio-file-internal,$(1),$(notdir $(1))))
1966 define add-radio-file-internal
1972 # Version of add-radio-file that also arranges for the version of the
1973 # file to be checked against the contents of
1977 define add-radio-file-checked
1978 $(eval $(call add-radio-file-checked-internal,$(1),$(notdir $(1)),$(2)))
1980 define add-radio-file-checked-internal
2062 # $(2) stable api file
2063 # $(3) api file to be tested
2110 # Include any vendor specific definitions.mk file
2114 # $(foreach file,$^,$(if $(findstring,.a,$(suffix $file)),-l$(file),$(file)))