Home | History | Annotate | Download | only in core

Lines Matching defs:is

10 # distributed under the License is distributed on an "AS IS" BASIS,
50 $(call __ndk_error, Assertion failure: $(__varname) is not defined)\
65 $(call __ndk_info, Required variable $(__varname) is not defined by $2)\
87 # ':' if ndk-build is called inside jni/ directory when path is expanded
105 # This is used to enforce a call to host-mkdir.
129 # Rationale: When there is a very large number of objects and/or libraries at
132 # @<listfile> syntax, where <listfile> is the path of a file
135 # This function is used to generate such a list file from a long
144 index-is-zero = $(filter 0 00 000 0000 00000 000000 0000000,$1)
145 bump-0-to-1 = $(if $(call index-is-zero,$1),1,$1)
160 # Same as $(wordlist ...) except the start index, if 0, is bumped to 1
169 # that $10 is equivalent to $(1)0, and *not* $(10).
172 # If $1 is 0, it will be bumped to 1 (and only 9 items will be printed)
323 # Rationale: This function is used to put the list of whole static libraries
325 # If the list is empty, it returns an empty string.
350 # For each module 'foo', __ndk_modules.foo.<field> is used
364 # MAKEFILE -> The Android.mk where the module is defined.
374 # These are documented by docs/ANDROID-MK.TXT. Exception is LOCAL_MODULE
430 # native debugging). It is generally under $PROJECT/obj/local/
489 # Rationale: add a new module. If it is already defined, print an error message
503 $(if $(call module-class-is-installable,$(LOCAL_MODULE_CLASS)),\
521 # Returns $(true) is module $1 is installable
522 # An installable module is one that will be copied to $PROJECT/libs/<abi>/
525 module-is-installable = $(call module-class-is-installable,$(call module-get-class,$1))
527 # Returns $(true) if module $1 is a copyable prebuilt
528 # A copyable prebuilt module is one that will be copied to $NDK_OUT/<abi>/
529 # at build time. At the moment, this is only used for prebuilt shared
532 module-is-copyable = $(call module-class-is-copyable,$(call module-get-class,$1))
624 # Returns non-empty if a module is a static library
626 # Returns : non-empty iff the module is a static library.
627 # Usage : $(if $(call module-is-static-library,<name>),...)
629 module-is-static-library = $(strip \
634 # Returns non-empty if a module is a shared library
636 # Returns : non-empty iff the module is a shared library.
637 # Usage : $(if $(call module-is-shared-library,<name>),...)
639 module-is-shared-library = $(strip \
648 module-filter-static-libraries = $(call filter-by,$1,module-is-static-library)
655 module-filter-shared-libraries = $(call filter-by,$1,module-is-shared-library)
689 # This is the concatenation of its LOCAL_STATIC_LIBRARIES,
701 # Computes the full closure of a module and its dependencies. Order is
709 # is much too large for this. For example consider the following
724 # Note that the result is topologically ordered, i.e. if library A depends
740 # - if $1 is the link module, or if it is a static library, then all
742 # - otherwise, the module is a shared library, don't add build deps.
744 $(if $(call seq,$1,$(_ndk_mod_link_module))$(call module-is-static-library,$1),\
748 # This function is used to extract the list of static libraries that need
784 # For now, only the closure of LOCAL_SHARED_LIBRARIES is enough
787 $(if $(call module-is-installable,$(__alldep)),$(__alldep))\
831 # This function is used to remove certain flags from a module compiler flags
861 # - If it is defined, check that it only contains valid values
862 # - If it is undefined, try to compute its value automatically by
923 # Note: NDK_PROJECT_PATH is typically defined after this test is run.
936 # 3: name/description of the Makefile where the check is done, which
944 # This is used to check that LOCAL_MODULE is properly defined by an Android.mk
949 # check is done
961 # This is used to check that LOCAL_MODULE_FILENAME, if defined, is correct.
990 # Check that LOCAL_MODULE_FILENAME is properly defined
1062 # Returns : full path. If $1 begins with a /, the path is considered
1063 # absolute and returned as-is. Otherwise, $(LOCAL_PATH)/$1 is
1070 # This is used to strip any lib prefix from LOCAL_MODULE, then check that
1071 # the corresponding module name is not already defined.
1074 # Arguments: 1: path of Android.mk where this LOCAL_MODULE is defined
1112 # For example, the 'debug' tag is used to sources that must be built
1113 # in debug mode, the 'arm' tag is used for sources that must be built
1114 # using the 32-bit instruction set on ARM platforms, and 'neon' is used
1133 # source file. This is set by the function TARGET-set-cflags
1236 # The text is a very short string that complements the build
1380 # LOCAL_SRC_FILES. If it is an absolute path, then this
1384 local-source-file-path = $(if $(call host-path-is-absolute,$1),$1,$(LOCAL_PATH)/$1)
1394 # that is auto-generated by our build system.
1396 # The script is invoked with:
1408 # convert-deps is used to compute the name of the compiler-generated dependency file
1409 # cmd-convert-deps is a command used to convert it to a Cygwin-specific path
1465 # _COMPAT: 'true' if bcc_compat is required
1527 # This is where things get hairy, we first transform
1543 # If the source file is a plain assembler file, we're going to
1741 # 6: 'true' if bcc_compat is required
1790 # 6: 'true' if bcc_compat is required
1840 # record the depth of recursive import-module calls. The variable is
1841 # initially empty, and we append a "x" to it each time import-module is
1849 # This is used in module-add to add the top-level modules (i.e. those
1871 $(call __ndk_info,Are you sure your NDK_MODULE_PATH variable is properly defined ?)\
1906 # An installable module is one that will be copied to $PROJECT/libs/<abi>/
1917 # Returns $(true) if $1 is a valid/registered LOCAL_MODULE_CLASS value
1923 module-class-is-installable = $(if $(NDK_MODULE_CLASS.$1.INSTALLABLE),$(true),$(false))
1927 module-class-is-copyable = $(if $(call seq,$1,PREBUILT_SHARED_LIBRARY),$(true),$(false))
1939 # a shared library is installable.
1944 # an executable is installable.
1948 # <foo> -> <foo> (we assume it is already well-named)
1949 # it is installable
1953 # <foo> -> <foo> (we assume it is already well-named)
1977 is a valid one.
1986 # Called before the top-level Android.mk is parsed to