Lines Matching defs: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
884 ## Commands for running gcc to compile a C++ file
914 ## Commands for running gcc to compile a C file
960 ## Commands for running gcc to compile an Objective-C file
976 ## Commands for running gcc to compile a host C++ file
1004 ## Commands for running gcc to compile a host C file
1049 ## Commands for running gcc to compile a host Objective-C file
1072 # the output file won't be created.
1390 # emit-line, <word list>, <output file>
1395 # dump-words-to-file, <word list>, <output file>
1396 define dump-words-to-file
1435 echo Missing file $$f; \
1448 # - we filter out duplicate java file names because eclipse's compiler
1459 $(call dump-words-to-file,$(PRIVATE_JAVA_SOURCES),$(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list)
1568 # Create a mostly-empty .jar file that we'll add to later.
1584 #TODO: update the manifest to point to the package file
1614 #TODO: update the manifest to point to the dex file
1626 $(call dump-words-to-file, $(PRIVATE_EXTRA_JAR_ARGS), $(dir $@)jar-arg-list)
1688 ## Obfuscate a jar file
1691 # PRIVATE_KEEP_FILE is a file containing a list of classes
1726 $$(copy-file-to-new-target-with-cp)
1729 # Define a rule to copy a file. For use via $(eval).
1730 # $(1): source file
1731 # $(2): destination file
1732 define copy-one-file
1735 $$(copy-file-to-target)
1746 $(eval $(call copy-one-file,$(_cmf_src),$(_cmf_dest))) \
1750 # Copy the file only if it's a well-formed xml file. For use via $(eval).
1751 # $(1): source file
1752 # $(2): destination file, must end with .xml.
1753 define copy-xml-file-checked
1756 $(hide) xmllint $$< >/dev/null # Don't print the xml file to stdout.
1757 $$(copy-file-to-target)
1762 # where it's an error for a .a file's modification time
1766 # Copy a single file from one place to another,
1768 # file.
1770 # high resolution timestamp correctly on file systems like ext4.
1771 # Therefore copy-file-to-target is the same as copy-file-to-new-target.
1772 define copy-file-to-target
1777 # The same as copy-file-to-target, but use the local
1779 define copy-file-to-target-with-cp
1784 # The same as copy-file-to-target, but use the zipalign tool to do so.
1785 define copy-file-to-target-with-zipalign
1790 # The same as copy-file-to-target, but strip out "# comment"-style
1792 define copy-file-to-target-strip-comments
1797 # The same as copy-file-to-target, but don't preserve
1799 define copy-file-to-new-target
1804 # The same as copy-file-to-new-target, but use the local
1806 define copy-file-to-new-target-with-cp
1811 # Copy a prebuilt file to a target location.
1814 $(copy-file-to-target)
1817 # Copy a prebuilt file to a target location, using zipalign on it.
1820 $(copy-file-to-target-with-zipalign)
1823 # Copy a prebuilt file to a target location, stripping "# comment" comments.
1826 $(copy-file-to-target-strip-comments)
1860 # Command to copy the file with acp, if proguard is disabled.
1873 # Figure out the proguard dictionary file of the module that is instrumentationed for.
1902 # $(1): The file to check
1903 ifndef get-file-size
1904 $(error HOST_OS must define get-file-size)
1918 # $(1): The file(s) to check (often $@)
1927 define assert-max-file-size
1929 size=$$(for i in $(1); do $(call get-file-size,$$i); echo +; done; echo 0); \
1955 # Like assert-max-file-size, but the second argument is a partition
1959 # $(1): The file(s) to check (often $@)
1963 $(call assert-max-file-size,$(1),$(call image-size-from-data-size,$(2))), \
1972 # Copy a radio image file to the output location, and add it to
1975 define add-radio-file
1976 $(eval $(call add-radio-file-internal,$(1),$(notdir $(1))))
1978 define add-radio-file-internal
1984 # Version of add-radio-file that also arranges for the version of the
1985 # file to be checked against the contents of
1989 define add-radio-file-checked
1990 $(eval $(call add-radio-file-checked-internal,$(1),$(notdir $(1)),$(2)))
1992 define add-radio-file-checked-internal
2076 # $(foreach file,$^,$(if $(findstring,.a,$(suffix $file)),-l$(file),$(file)))