Lines Matching refs:source

1052 local-prebuilt-path = $(call local-source-file-path,$1)
1093 # Each source file listed in LOCAL_SRC_FILES can have any number of
1106 # LOCAL_SRC_FILES contains the list of all source files.
1107 # LOCAL_SRC_TAG.<tagname> contains the set of source file names tagged
1110 # source file name
1113 # which will call various functions to compute source-file specific settings.
1118 # source file. This is set by the function TARGET-set-cflags
1129 # Returns : remove all source file tags and associated data.
1145 # Arguments: 1: list of source files to tag
1147 # Usage : $(call tag-src-files,<list-of-source-files>,<tagname>)
1148 # Rationale: Add a tag to a list of source files
1161 # Return : The list of source file names that have been tagged with <tagname>
1169 # Return : The list of source file names that have NOT been tagged with <tagname>
1175 # Arguments: 1: list of source files
1179 # when building a given set of source files. This function should
1181 # computes all compiler flags for all source files.
1187 # Arguments: 1: list of source files
1192 # source files.
1198 # Arguments: 1: single source file name
1199 # Usage : $(call get-src-file-target-cflags,<source>)
1201 # applied to a given source file. These must be set prior to this
1208 # Arguments: 1: list of source files
1211 # Rationale: Set or replace the 'text' associated to a set of source files.
1215 # toolchain-specific functions that processes all source files.
1221 # Arguments: 1: single source file
1222 # Usage : $(call get-src-file-text,<source>)
1223 # Rationale: Return the 'text' associated to a given source file when
1228 # This should only be called for debugging the source files tagging system
1316 # Function : local-source-file-path
1317 # Parameters: $1: source file (as listed in LOCAL_SRC_FILES)
1318 # Returns : full source file path of $1
1319 # Usage : $(call local-source-file-path,$1)
1320 # Rationale : Used to compute the full path of a source listed in
1325 local-source-file-path = $(if $(call host-path-is-absolute,$1),$1,$(LOCAL_PATH)/$1)
1361 # _SRC: source file
1393 define ev-build-source-file
1400 # the source into an assembler file, send it to the
1415 # If the source file is a plain assembler file, we're going to
1423 # We need to transform the source into an assembly file, instead of
1426 # For C and C++ source files, simply replace the -c by an -S in the
1465 # Template : ev-compile-c-source
1466 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1469 # Usage : $(eval $(call ev-compile-c-source,<srcfile>,<objfile>)
1470 # Rationale : Internal template evaluated by compile-c-source and
1471 # compile-s-source
1473 define ev-compile-c-source
1474 _SRC:=$$(call local-source-file-path,$(1))
1488 $$(eval $$(call ev-build-source-file))
1492 # Function : compile-c-source
1493 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1496 # Usage : $(call compile-c-source,<srcfile>,<objfile>)
1497 # Rationale : Setup everything required to build a single C source file
1499 compile-c-source = $(eval $(call ev-compile-c-source,$1,$2))
1502 # Function : compile-s-source
1503 # Arguments : 1: single Assembly source file name (relative to LOCAL_PATH)
1506 # Usage : $(call compile-s-source,<srcfile>,<objfile>)
1507 # Rationale : Setup everything required to build a single Assembly source file
1509 compile-s-source = $(eval $(call ev-compile-c-source,$1,$2))
1513 # Template : ev-compile-cpp-source
1514 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1517 # Usage : $(eval $(call ev-compile-cpp-source,<srcfile>,<objfile>)
1518 # Rationale : Internal template evaluated by compile-cpp-source
1521 define ev-compile-cpp-source
1522 _SRC:=$$(call local-source-file-path,$(1))
1539 $$(eval $$(call ev-build-source-file))
1543 # Function : compile-cpp-source
1544 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1547 # Usage : $(call compile-c-source,<srcfile>)
1548 # Rationale : Setup everything required to build a single C++ source file
1550 compile-cpp-source = $(eval $(call ev-compile-cpp-source,$1,$2))