Lines Matching defs:file
5 # you may not use this file except in compliance with the License.
91 # Generated class file names for Android resource.
351 ## Find various file types in a list of directories relative to $(LOCAL_PATH)
366 # $(2): the file name pattern to be passed to find as "-name".
382 ## a particular file. Returns the first match found,
386 define find-parent-file
391 $(call find-parent-file,$(patsubst %/,%,$(dir $(1))),$(2)) \
565 ## Evaluates to the timestamp file for a doc module, which
852 # $(1): the input .d file
853 # $(2): the output .P file
1010 ## Commands for running gcc to compile a C++ file
1042 ## Commands for running gcc to compile a C file
1101 ## Commands for running gcc to compile an Objective-C file
1117 ## Commands for running gcc to compile a host C++ file
1145 ## Commands for running gcc to compile a host C file
1189 ## Commands for running gcc to compile a host Objective-C file
1209 ## Rule to compile a C++ source file with ../ in the path.
1211 # $(1): the C++ source file in LOCAL_SRC_FILES.
1213 # $(3): the variable name to collect the output object file.
1214 define compile-dotdot-cpp-file
1222 ## Rule to compile a C source file with ../ in the path.
1224 # $(1): the C source file in LOCAL_SRC_FILES.
1226 # $(3): the variable name to collect the output object file.
1227 define compile-dotdot-c-file
1235 ## Rule to compile a .S source file with ../ in the path.
1237 # $(1): the .S source file in LOCAL_SRC_FILES.
1239 # $(3): the variable name to collect the output object file.
1240 define compile-dotdot-s-file
1248 ## Rule to compile a .s source file with ../ in the path.
1250 # $(1): the .s source file in LOCAL_SRC_FILES.
1252 # $(3): the variable name to collect the output object file.
1253 define compile-dotdot-s-file-no-deps
1270 # the output file won't be created.
1498 $(copy-file-to-target)
1677 # emit-line, <word list>, <output file>
1682 # dump-words-to-file, <word list>, <output file>
1683 define dump-words-to-file
1722 echo Missing file $$f; \
1735 # - we filter out duplicate java file names because eclipse's compiler
1746 $(call dump-words-to-file,$(PRIVATE_JAVA_SOURCES),$(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list)
1801 # - we filter out duplicate java file names because Jack doesn't like them.
1810 $(call dump-words-to-file,$(PRIVATE_JAVA_SOURCES),$(PRIVATE_JACK_INTERMEDIATES_DIR)/java-source-list)
1883 # - we filter out duplicate java file names because Jack doesn't like them.
1890 $(call dump-words-to-file,$(PRIVATE_JAVA_SOURCES),$(PRIVATE_JACK_INTERMEDIATES_DIR)/java-source-list)
1963 # Create a mostly-empty .jar file that we'll add to later.
1975 # Create a mostly-empty .jar file that we'll add to later.
1982 # Copy an arhchive file and delete any class files and empty folders inside.
1983 # $(1): the source archive file.
1984 # $(2): the destination archive file.
1985 define initialize-package-file
1998 #TODO: update the manifest to point to the package file
2049 #TODO: update the manifest to point to the dex file
2058 $(call dump-words-to-file, $(PRIVATE_EXTRA_JAR_ARGS), $(1).jar-arg-list)
2144 $$(copy-file-to-new-target-with-cp)
2147 # Define a rule to copy a file. For use via $(eval).
2148 # $(1): source file
2149 # $(2): destination file
2150 define copy-one-file
2153 $$(copy-file-to-target)
2164 $(eval $(call copy-one-file,$(_cmf_src),$(_cmf_dest))) \
2168 # Copy the file only if it's a well-formed xml file. For use via $(eval).
2169 # $(1): source file
2170 # $(2): destination file, must end with .xml.
2171 define copy-xml-file-checked
2174 $(hide) xmllint $$< >/dev/null # Don't print the xml file to stdout.
2175 $$(copy-file-to-target)
2180 # where it's an error for a .a file's modification time
2184 # Copy a single file from one place to another,
2186 # file.
2188 # high resolution timestamp correctly on file systems like ext4.
2189 # Therefore copy-file-to-target is the same as copy-file-to-new-target.
2190 define copy-file-to-target
2195 # The same as copy-file-to-target, but use the local
2197 define copy-file-to-target-with-cp
2202 # The same as copy-file
2203 define copy-file-to-target-with-zipalign
2208 # The same as copy-file-to-target, but strip out "# comment"-style
2210 define copy-file-to-target-strip-comments
2215 # The same as copy-file-to-target, but don't preserve
2217 define copy-file-to-new-target
2222 # The same as copy-file-to-new-target, but use the local
2224 define copy-file-to-new-target-with-cp
2229 # Copy a prebuilt file to a target location.
2232 $(copy-file-to-target)
2235 # Copy a prebuilt file to a target location, using zipalign on it.
2238 $(copy-file-to-target-with-zipalign)
2241 # Copy a prebuilt file to a target location, stripping "# comment" comments.
2244 $(copy-file-to-target-strip-comments)
2283 # $(1): The file to check
2284 ifndef get-file-size
2285 $(error HOST_OS must define get-file-size)
2299 # $(1): The file(s) to check (often $@)
2308 define assert-max-file-size
2310 size=$$(for i in $(1); do $(call get-file-size,$$i); echo +; done; echo 0); \
2330 # Like assert-max-file-size, but the second argument is a partition
2334 # $(1): The file(s) to check (often $@)
2338 $(call assert-max-file-size,$(1),$(call image-size-from-data-size,$(2))))
2347 # Copy a radio image file to the output location, and add it to
2350 define add-radio-file
2351 $(eval $(call add-radio-file-internal,$(1),$(notdir $(1))))
2353 define add-radio-file-internal
2359 # Version of add-radio-file that also arranges for the version of the
2360 # file to be checked against the contents of
2364 define add-radio-file-checked
2365 $(eval $(call add-radio-file-checked-internal,$(1),$(notdir $(1)),$(2)))
2367 define add-radio-file-checked-internal
2435 # $(2) stable api file
2436 # $(3) api file to be tested
2437 # $(4) stable removed api file
2438 # $(5) removed api file to be tested
2476 # Return the arch for the source file of a prebuilt
2494 # Include any vendor specific definitions.mk file
2499 # $(foreach file,$^,$(if $(findstring,.a,$(suffix $file)),-l$(file),$(file)))