Home | History | Annotate | Download | only in core

Lines Matching defs:to

9 # Unless required by applicable law or agreed to in writing, software
79 # Returns : Generate a rule, but not dependency, to create a directory with
88 # to full-path, eg. C:/path/to/project/jni/
103 # Returns : Generate a dependency and a rule to ensure that the parent
105 # This is used to enforce a call to host-mkdir.
125 # Returns : write the content of a possibly very long string list to a file.
128 # Usage : $(call host-echo-to-file,<string-list>,<file>)
135 # This function is used to generate such a list file from a long
141 # not accept a 0 index, so we need to bump any of these to 1 when
145 bump-0-to-1 = $(if $(call index-is-zero,$1),1,$1)
147 -test-bump-0-to-1 = \
148 $(call test-expect,$(call bump-0-to-1))\
149 $(call test-expect,1,$(call bump-0-to-1,0))\
150 $(call test-expect,1,$(call bump-0-to-1,1))\
151 $(call test-expect,2,$(call bump-0-to-1,2))\
152 $(call test-expect,1,$(call bump-0-to-1,00))\
153 $(call test-expect,1,$(call bump-0-to-1,000))\
154 $(call test-expect,1,$(call bump-0-to-1,0000))\
155 $(call test-expect,1,$(call bump-0-to-1,00000))\
156 $(call test-expect,1,$(call bump-0-to-1,000000))\
157 $(call test-expect,10,$(call bump-0-to-1,10))\
158 $(call test-expect,100,$(call bump-0-to-1,100))
160 # Same as $(wordlist ...) except the start index, if 0, is bumped to 1
161 index-word-list = $(wordlist $(call bump-0-to-1,$1),$2,$3)
169 # that $10 is equivalent to $(1)0, and *not* $(10).
171 # Used to generate a slice of up to 10 items starting from index $1,
172 # If $1 is 0, it will be bumped to 1 (and only 9 items will be printed)
180 # Used to generate a slice of always 10 items starting from index $1
222 ifneq ($(word $(call bump-0-to-1,$100),$2),)
258 ifneq ($(word $(call bump-0-to-1,$1000),$2),)
321 # Returns : linker flags to use the whole static libraries
323 # Rationale: This function is used to put the list of whole static libraries
326 # This function also calls host-path to translate the library
343 # The following declarations are used to manage the list of modules
347 # We use __ndk_modules to hold the list of all modules corresponding
348 # to a given application.
351 # to store module-specific information.
419 # LOCAL_MAKEFILE will contain the path to the Android.mk defining the module
496 $(call __ndk_info,Trying to define local module '$1' in $(LOCAL_MAKEFILE).)\
523 # An installable module is one that will be copied to $PROJECT/libs/<abi>/
529 # A copyable prebuilt module is one that will be copied to $NDK_OUT/<abi>/
600 # Use module-get-static-dependencies to retrieve final list.
612 # Use modulge-get-shared-dependencies to retrieve final list.
645 # Filter a list of module names to retain only the static libraries.
652 # Filter a list of module names to retain only the shared libraries.
709 # Note: Do not use this to determine build dependencies. The returned list
722 # Compute the list of all static and shared libraries required to link a
732 # libraries. Use module-extract-whole-static-libs to filter the
740 # The rules to follow are the following:
749 # This function is used to extract the list of static libraries that need
750 # to be linked as whole, i.e. placed in a special section on the final
754 # Returns : list of static libraries from '$2' that need to be linked
762 # Used to recompute all dependencies once all module information has been recorded.
812 # Add C++ dependencies to any module that has C++ sources.
826 # Return the compiler flags used to compile a C++ module
833 # This function is used to remove certain flags from a module compiler flags
835 # $2: List of flags to remove
864 # - If it is undefined, try to compute its value automatically by
865 # looking at the C++ compiler flags used to build the module
897 # Add standard C++ dependencies to a given module
905 $(if $(call strip,$2),$(call ndk_log,Add dependency '$(call strip,$2)' to module '$1'))\
907 $(if $(call strip,$3),$(call ndk_log,Add dependency '$(call strip,$3)' to module '$1'))\
909 $(if $(call strip,$4),$(call ndk_log,Add dependency '$(call strip,$4)' to module '$1'))\
923 # used to perform pretty-printing for logs.
949 # This is used to check that LOCAL_MODULE is properly defined by an Android.mk
966 # This is used to check that LOCAL_MODULE_FILENAME, if defined, is correct.
989 # Rationale : To be used to check and or set the module's filename through
1055 # Rationale : To be used to automatically compute the location of the generated
1056 # binary file, and the directory where to place its object files.
1075 # This is used to strip any lib prefix from LOCAL_MODULE, then check that
1114 # 'tags' associated to it. A tag name must not contain space, and its
1117 # For example, the 'debug' tag is used to sources that must be built
1133 # which will call various functions to compute source-file specific settings.
1137 # target-specific C compiler flags used to compile a given
1172 # Arguments: 1: list of source files to tag
1175 # Rationale: Add a tag to a list of source files
1219 # to append, instead of replace, compiler flags for specific
1230 # applied to a given source file. These must be set prior to this
1240 # Rationale: Set or replace the 'text' associated to a set of source files.
1253 # Rationale: Return the 'text' associated to a given source file when
1360 # Rationale: To be used as a prefix for Make build commands to hide them
1361 # by default during the build. To show them, set V=1 in your
1384 # Rationale : Used to compute the full path of a source listed in
1387 # to the result.
1393 # On Cygwin, we need to convert the .d dependency file generated by
1397 # To do that, we will force the compiler to write the dependency file to
1406 # to generate foo.d, then remove the original foo.d.org.
1408 # On other systems, we simply tell the compiler to write to the .d file directly.
1413 # convert-deps is used to compute the name of the compiler-generated dependency file
1414 # cmd-convert-deps is a command used to convert it to a Cygwin-specific path
1500 # llvm-rc-cc.exe has problem accepting input *.rs with path. To workaround:
1533 # the source into an assembler file, send it to the
1548 # If the source file is a plain assembler file, we're going to
1556 # We need to transform the source into an assembly file, instead of
1557 # an object. The proper way to do that depends on the file extension.
1560 # compilation command (this forces the compiler to generate an
1564 # to send it to the preprocessor instead.
1588 # Then, generate the final object, we need to keep assembler-specific
1600 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1629 # Arguments : 1: single ASM source file name (relative to LOCAL_PATH)
1671 # Arguments : 1: single C source file name (relative to LOCAL_PATH)
1675 # Rationale : Setup everything required to build a single C source file
1681 # Arguments : 1: single Assembly source file name (relative to LOCAL_PATH)
1685 # Rationale : Setup everything required to build a single Assembly source file
1691 # Arguments : 1: single Assembly source file name (relative to LOCAL_PATH)
1695 # Rationale : Setup everything required to build a single Assembly source file
1701 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1731 # Arguments : 1: single C++ source file name (relative to LOCAL_PATH)
1735 # Rationale : Setup everything required to build a single C++ source file
1741 # Arguments : 1: single RS source file name (relative to LOCAL_PATH)
1790 # Arguments : 1: single RS source file name (relative to LOCAL_PATH)
1798 # Rationale : Setup everything required to build a single RS source file
1809 # Add an optional single directory to the list of import paths
1817 # Add a directory to the list of import paths
1844 # Small technical note on __ndk_import_depth: we use this variable to
1846 # initially empty, and we append a "x" to it each time import-module is
1847 # called. I.e. for three recursive calls to import-module, we would get
1854 # This is used in module-add to add the top-level modules (i.e. those
1855 # that are not added with import-module) to __ndk_top_modules, corresponding
1856 # to the default list of wanted modules (see setup-toolchain.mk).
1911 # An installable module is one that will be copied to $PROJECT/libs/<abi>/
1926 # Returns $(true) if $1 corresponds to an installable module class
1930 # Returns $(true) if $1 corresponds to a copyable prebuilt module class
1968 # Used internally to register a given STL implementation, see below.
1984 # Called to check that the value of APP_STL is a valid one.
1993 # Called before the top-level Android.mk is parsed to
2000 # Called after all Android.mk files are parsed to add
2001 # proper STL dependencies to every C++ module.
2083 # The 'none' APP_STL value corresponds to no C++ support at