Lines Matching defs:source
1 # Copyright (C) 2009 The Android Open Source Project
1087 # Source file tagging support.
1089 # Each source file listed in LOCAL_SRC_FILES can have any number of
1102 # LOCAL_SRC_FILES contains the list of all source files.
1103 # LOCAL_SRC_TAG.<tagname> contains the set of source file names tagged
1106 # source file name
1109 # which will call various functions to compute source-file specific settings.
1114 # source file. This is set by the function TARGET-set-cflags
1125 # Returns : remove all source file tags and associated data.
1141 # Arguments: 1: list of source files to tag
1143 # Usage : $(call tag-src-files,<list-of-source-files>,<tagname>)
1144 # Rationale: Add a tag to a list of source files
1157 # Return : The list of source file names that have been tagged with <tagname>
1165 # Return : The list of source file names that have NOT been tagged with <tagname>
1171 # Arguments: 1: list of source files
1175 # when building a given set of source files. This function should
1177 source files.
1183 # Arguments: 1: list of source files
1188 # source files.
1194 # Arguments: 1: single source file name
1195 # Usage : $(call get-src-file-target-cflags,<source>)
1197 # applied to a given source file. These must be set prior to this
1204 # Arguments: 1: list of source files
1207 # Rationale: Set or replace the 'text' associated to a set of source files.
1211 # toolchain-specific functions that processes all source files.
1217 # Arguments: 1: single source file
1218 # Usage : $(call get-src-file-text,<source>)
1219 # Rationale: Return the 'text' associated to a given source file when
1224 # This should only be called for debugging the source files tagging system
1344 # _SRC: source file
1376 define ev-build-source-file
1383 # the source into an assembler file, send it to the
1398 # If the source file is a plain assembler file, we're going to
1406 # We need to transform the source into an assembly file, instead of
1409 # For C and C++ source files, simply replace the -c by an -S in the
1448 # Template : ev-compile-c-source
1449 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1452 # Usage : $(eval $(call ev-compile-c-source,<srcfile>,<objfile>)
1453 # Rationale : Internal template evaluated by compile-c-source and
1454 # compile-s-source
1456 define ev-compile-c-source
1471 $$(eval $$(call ev-build-source-file))
1475 # Function : compile-c-source
1476 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1479 # Usage : $(call compile-c-source,<srcfile>,<objfile>)
1480 # Rationale : Setup everything required to build a single C source file
1482 compile-c-source = $(eval $(call ev-compile-c-source,$1,$2))
1485 # Function : compile-s-source
1486 # Arguments : 1: single Assembly source file name (relative to LOCAL_PATH)
1489 # Usage : $(call compile-s-source,<srcfile>,<objfile>)
1490 # Rationale : Setup everything required to build a single Assembly source file
1492 compile-s-source = $(eval $(call ev-compile-c-source,$1,$2))
1496 # Template : ev-compile-cpp-source
1497 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1500 # Usage : $(eval $(call ev-compile-cpp-source,<srcfile>,<objfile>)
1501 # Rationale : Internal template evaluated by compile-cpp-source
1504 define ev-compile-cpp-source
1522 $$(eval $$(call ev-build-source-file))
1526 # Function : compile-cpp-source
1527 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1530 # Usage : $(call compile-c-source,<srcfile>)
1531 # Rationale : Setup everything required to build a single C++ source file
1533 compile-cpp-source = $(eval $(call ev-compile-cpp-source,$1,$2))