Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/ndk/build/gmsl/
Dgmsl-tests46 @echo "$(call int_decode,$(passed)) tests passed; $(call int_decode,$(failed)) tests failed"
57 test_pass = .$(eval passed := $(call int_inc,$(passed)))
58 test_fail = X$(eval failed := $(call int_inc,$(failed)))$(eval current_test := ERROR '$1' != '$2')
59 …,$(origin 2)),$(eval 2 :=))$(shell $(ECHO) -n $(if $(call seq,$1,$2),$(call test_pass,$1,$2),$(cal…
61 $(call start_test,not)
62 $(call test_assert,$(call not,$(true)),$(false))
63 $(call test_assert,$(call not,$(false)),$(true))
64 $(call stop_test)
66 $(call start_test,or)
67 $(call test_assert,$(call or,$(true),$(true)),$(true))
[all …]
/ndk/build/core/
Ddefinitions-utils.mk65 $(call test-expect,,$(call remove-duplicates))\
66 $(call test-expect,foo bar,$(call remove-duplicates,foo bar))\
67 $(call test-expect,foo bar,$(call remove-duplicates,foo bar foo bar))\
68 $(call test-expect,foo bar,$(call remove-duplicates,foo foo bar bar bar))
90 $(if $(call $2,$(__filter_by_n)),$(__filter_by_n))))
93 $(eval -local-func = $$(call seq,foo,$$1))\
94 $(call test-expect,,$(call filter-by,,-local-func))\
95 $(call test-expect,foo,$(call filter-by,foo,-local-func))\
96 $(call test-expect,foo,$(call filter-by,foo bar,-local-func))\
97 $(call test-expect,foo foo,$(call filter-by,aaa foo bar foo,-local-func))\
[all …]
Ddefinitions-graph.mk54 $(if $(call $2,$(_ndk_mod_filter_n)),$(_ndk_mod_filter_n))\
58 $(eval -local-func = $$(call seq,foo,$$1))\
59 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\
60 $(call test-expect,foo,$(call -ndk-mod-filter,foo,-local-func))\
61 $(call test-expect,foo,$(call -ndk-mod-filter,foo bar,-local-func))\
62 $(call test-expect,foo foo,$(call -ndk-mod-filter,aaa foo bar foo,-local-func))\
63 $(eval -local-func = $$(call sne,foo,$$1))\
64 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\
65 $(call test-expect,,$(call -ndk-mod-filter,foo,-local-func))\
66 $(call test-expect,bar,$(call -ndk-mod-filter,foo bar,-local-func))\
[all …]
Ddefinitions.mk50 $(call __ndk_error, Assertion failure: $(__varname) is not defined)\
65 $(call __ndk_info, Required variable $(__varname) is not defined by $2)\
66 $(call __ndk_error,Aborting)\
94 @$$(call host-mkdir,$$@)
98 generate-dir = $(eval $(call ev-generate-dir,$1))
114 __ndk_file_dir := $(call parent-dir,$1)
115 $$(call generate-dir,$$(__ndk_file_dir))
119 generate-file-dir = $(eval $(call ev-generate-file-dir,$1))
145 bump-0-to-1 = $(if $(call index-is-zero,$1),1,$1)
148 $(call test-expect,$(call bump-0-to-1))\
[all …]
Ddefinitions-host.mk31 host-path = $(if $(strip $1),$(call cygwin-to-host-path,$1))
130 host-echo-build-step = @ $(HOST_ECHO) [$1] $(call left-justify-quoted-15,$2):
142 host-c-includes = $(patsubst %,-I%,$(call host-path,$1))
189 host-path-is-absolute = $(call windows-path-is-absolute,$1)
195 $(call test-expect,,$(call host-path-is-absolute,foo))\
196 $(call test-expect,,$(call host-path-is-absolute,foo/bar))\
197 $(call test-expect,,$(call host-path-is-absolute,.))\
198 $(call test-expect,,$(call host-path-is-absolute,..))
201 $(call test-expect,true,$(call host-path-is-absolute,/))\
202 $(call test-expect,true,$(call host-path-is-absolute,/foo))\
[all …]
Dadd-application.mk26 $(call assert-defined, _application_mk _app)
27 $(call ndk_log,Parsing $(_application_mk))
29 $(call clear-vars, $(NDK_APP_VARS))
45 …$(call __ndk_warning,NDK_DEBUG is defined to the unsupported value '$(NDK_DEBUG)', will be ignored…
51 $(call check-required-vars,$(NDK_APP_VARS_REQUIRED),$(_application_mk))
56 APP_MODULES := $(call strip-lib-prefix,$(APP_MODULES))
67 $(call ndk_log, Defaulted to APP_PLATFORM=$(APP_PLATFORM))
84 …APP_PLATFORM := $(strip $(shell $(HOST_AWK) -f $(BUILD_AWK)/extract-platform.awk $(call host-path,…
85 $(call ndk_log, Found APP_PLATFORM=$(APP_PLATFORM) in $(_local_props))
88 $(call ndk_log, Defaulted to APP_PLATFORM=$(APP_PLATFORM))
[all …]
Dbuild-binary.mk17 $(call assert-defined,LOCAL_MODULE)
18 $(call module-restore-locals,$(LOCAL_MODULE))
29 $(call assert-defined,LOCAL_MAKEFILE LOCAL_BUILD_SCRIPT LOCAL_BUILT_MODULE)
39 ifeq ($(call module-get-class,$(LOCAL_MODULE)),STATIC_LIBRARY)
42 …$(call __ndk_info,WARNING:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): $(_notvar) is always ignored for stat…
86 …$(call __ndk_info,WARNING:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): non-system libraries in linker flags:…
87 …$(call __ndk_info, This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARI…
88 $(call __ndk_info, or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the)
89 $(call __ndk_info, current module)
98 ifneq (STATIC_LIBRARY,$(call module-get-class,$(LOCAL_MODULE)))
[all …]
Dsetup-toolchain.mk20 $(call assert-defined,TARGET_PLATFORM TARGET_ARCH TARGET_ARCH_ABI)
21 $(call assert-defined,NDK_APPS NDK_APP_STL)
47 $(call __ndk_info,There is no toolchain that supports the $(TARGET_ARCH_ABI) ABI.)
48 $(call __ndk_info,Please modify the APP_ABI definition in $(NDK_APP_APPLICATION_MK) to use)
49 $(call __ndk_info,a set of the following values: $(NDK_ALL_ABIS))
50 $(call __ndk_error,Aborting)
72 … $(call ndk_log,Specified NDK_TOOLCHAIN_VERSION $(NDK_TOOLCHAIN_VERSION) does not support 64-bit)
73 … $(call ndk_log,Using default target toolchain '$(TARGET_TOOLCHAIN)' for '$(TARGET_ARCH_ABI)' ABI)
89 … TARGET_TOOLCHAIN_BASE := $(subst $(space),-,$(call chop,$(subst -,$(space),$(TARGET_TOOLCHAIN))))
96 …$(call ndk_log,Using target toolchain '$(TARGET_TOOLCHAIN)' for '$(TARGET_ARCH_ABI)' ABI (through …
[all …]
Dmain.mk63 $(call __ndk_info,\
65 $(call __ndk_info,\
67 $(call __ndk_info,\
69 $(call __ndk_info,\
71 $(call __ndk_error, Aborting)
77 $(call __ndk_info,\
79 $(call __ndk_info,\
81 $(call __ndk_error, Aborting)
88 $(call ndk_log,Parsing $(_application_mk))\
92 $(call __ndk_info,\
[all …]
Dprebuilt-library.mk20 $(call assert-defined, LOCAL_BUILD_SCRIPT LOCAL_MAKEFILE LOCAL_PREBUILT_PREFIX LOCAL_PREBUILT_SUFFI…
22 $(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT))
23 $(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE))
24 $(call check-LOCAL_MODULE_FILENAME)
28 $(call __ndk_info,ERROR:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): The LOCAL_SRC_FILES for a prebuilt libra…
29 $(call __ndk_error,Aborting)
34 $(call __ndk_info,ERROR:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): LOCAL_SRC_FILES should point to a file e…
35 $(call __ndk_info,The following file is unsupported: $(bad_prebuilts))
36 $(call __ndk_error,Aborting)
39 prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
[all …]
Dbuild-module.mk16 $(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT))
17 $(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE))
25 $(call __ndk_info,$(LOCAL_MAKEFILE):$(LOCAL_MODULE): LOCAL_MODULE_CLASS definition is missing !)
26 $(call __ndk_error,Aborting)
29 $(if $(call module-class-check,$(LOCAL_MODULE_CLASS)),,\
30 $(call __ndk_info,$(LOCAL_MAKEFILE):$(LOCAL_MODULE): Unknown LOCAL_MODULE_CLASS value: $(LOCAL_MODU…
31 $(call __ndk_error,Aborting)\
34 $(call module-add,$(LOCAL_MODULE))
Dinit.mk158 $(call __ndk_info,Unable to determine HOST_OS from uname -s: $(UNAME))
159 $(call __ndk_info,Please define HOST_OS in your environment.)
160 $(call __ndk_error,Aborting.)
163 $(call ndk_log,Host OS was auto-detected: $(HOST_OS))
165 $(call ndk_log,Host OS from environment: $(HOST_OS))
187 $(call ndk_log,Found /bin/uname.exe on Windows host, checking for Cygwin)
192 $(call ndk_log,uname -s returned: $(UNAME))
194 $(call ndk_log,Cygwin detected: $(shell uname -a))
199 $(call ndk_log,MSys detected: $(shell uname -a))
202 $(call ndk_log,Cygwin *not* detected!)
[all …]
Dbuild-local.mk90 find-project-dir = $(strip $(call find-project-dir-inner,$(abspath $1),$2))
96 $(call find-project-dir-inner-2)\
100 $(call ndk_log,Looking for $(__find_project_file) in $(__find_project_path))\
103 $(call ndk_log, Found it !)\
106 $(eval __find_project_parent := $(call host-dir-parent,$(__find_project_path)))\
109 $(call find-project-dir-inner-2)\
117 $(call ndk_log,Make no attempt to look for NDK_PROJECT_PATH.)
140 NDK_PROJECT_PATH := $(call find-project-dir,.,jni/Android.mk)
143 NDK_PROJECT_PATH := $(call find-project-dir,.,AndroidManifest.xml)
146 $(call __ndk_info,Could not find application project directory !)
[all …]
Dimport-locals.mk18 $(call assert-defined,LOCAL_MODULE)
29 all_depends := $(call module-get-all-dependencies,$(LOCAL_MODULE))
32 imported_CFLAGS := $(call module-get-listed-export,$(all_depends),CFLAGS)
33 imported_CONLYFLAGS := $(call module-get-listed-export,$(all_depends),CONLYFLAGS)
34 imported_CPPFLAGS := $(call module-get-listed-export,$(all_depends),CPPFLAGS)
35 imported_RENDERSCRIPT_FLAGS := $(call module-get-listed-export,$(all_depends),RENDERSCRIPT_FLAGS)
36 imported_ASMFLAGS := $(call module-get-listed-export,$(all_depends),ASMFLAGS)
37 imported_C_INCLUDES := $(call module-get-listed-export,$(all_depends),C_INCLUDES)
38 imported_LDFLAGS := $(call module-get-listed-export,$(all_depends),LDFLAGS)
73 imported_LDLIBS := $(call module-get-listed-export,$(all_depends),LDLIBS)
/ndk/sources/cxx-stl/gabi++/tests/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
18 do_test_simple = $(call do_test,$1,$1.cpp,$2)
20 $(call do_test,rtti,test_gabixx_rtti.cpp)
21 $(call do_test,exceptions,test_gabixx_exceptions.cpp)
22 $(call do_test,aux_runtime,test_aux_runtime.cpp)
23 $(call do_test_simple,test_guard)
24 $(call do_test_simple,catch_array_01)
25 $(call do_test_simple,catch_array_02)
26 $(call do_test_simple,catch_class_01)
27 $(call do_test_simple,catch_class_02)
[all …]
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
146 $(if $(strip $(filter-out $(black_list), $1)), $(eval $(call ev-gen-test, $1)))
150 $(call gen-test, algorithms/alg.c.library/tested_elsewhere)
151 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward)
152 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if)
153 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n)
154 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy)
155 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n)
156 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill)
157 $(call gen-test, algorithms/alg.modifying.operations/alg.generate/generate_n)
[all …]
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
137 $(if $(strip $(filter-out $(black_list), $1)), $(eval $(call ev-gen-test, $1)))
141 $(call gen-test, algorithms/alg.c.library/tested_elsewhere)
142 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward)
143 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if)
144 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n)
145 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy)
146 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n)
147 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill)
148 $(call gen-test, algorithms/alg.modifying.operations/alg.generate/generate_n)
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dcall2 $description = "Test the call function.\n";
4 $details = "Try various uses of call and ensure they all give the correct
16 # A complex `map' function, using recursive `call'.
18 map = $(foreach a,$2,$(call $1,$a))
20 # Test using a builtin; this is silly as it's simpler to do without call
22 my-notdir = $(call notdir,$(1))
29 # Test recursive invocations of call with different arguments
32 two = $(call one,$(1),foo,$(2))
36 # Implement transitive closure using $(call ...)
42 $(call tclose,$(sort ${DEP_$(firstword $1)} $(call rest,$1))))
[all …]
/ndk/toolchains/arm-linux-androideabi-4.8/
Dsetup.mk93 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
94 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
95 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
96 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
97 $(call set-src-files-target-cflags, \
98 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
100 $(call set-src-files-target-cflags,\
101 $(call set_intersection,$(__arm_sources),$(__release_sources)),\
103 $(call set-src-files-target-cflags,\
104 $(call set_intersection,$(__arm_sources),$(__debug_sources)),\
[all …]
/ndk/toolchains/arm-linux-androideabi-4.6/
Dsetup.mk93 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
94 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
95 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
96 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
97 $(call set-src-files-target-cflags, \
98 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
100 $(call set-src-files-target-cflags,\
101 $(call set_intersection,$(__arm_sources),$(__release_sources)),\
103 $(call set-src-files-target-cflags,\
104 $(call set_intersection,$(__arm_sources),$(__debug_sources)),\
[all …]
/ndk/toolchains/arm-linux-androideabi-4.9/
Dsetup.mk93 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
94 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
95 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
96 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
97 $(call set-src-files-target-cflags, \
98 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
100 $(call set-src-files-target-cflags,\
101 $(call set_intersection,$(__arm_sources),$(__release_sources)),\
103 $(call set-src-files-target-cflags,\
104 $(call set_intersection,$(__arm_sources),$(__debug_sources)),\
[all …]
/ndk/toolchains/arm-linux-androideabi-clang3.3/
Dsetup.mk33 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call host-prebuilt-tag,$(LLVM_TOOLCHAIN_ROOT))
39 TOOLCHAIN_PREBUILT_ROOT := $(call host-prebuilt-tag,$(TOOLCHAIN_ROOT))
50 -gcc-toolchain $(call host-path,$(TOOLCHAIN_PREBUILT_ROOT)) \
58 -gcc-toolchain $(call host-path,$(TOOLCHAIN_PREBUILT_ROOT)) \
132 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
133 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
134 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
135 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
136 $(call set-src-files-target-cflags, \
137 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
[all …]
/ndk/toolchains/arm-linux-androideabi-clang3.4/
Dsetup.mk33 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call host-prebuilt-tag,$(LLVM_TOOLCHAIN_ROOT))
39 TOOLCHAIN_PREBUILT_ROOT := $(call host-prebuilt-tag,$(TOOLCHAIN_ROOT))
50 -gcc-toolchain $(call host-path,$(TOOLCHAIN_PREBUILT_ROOT)) \
58 -gcc-toolchain $(call host-path,$(TOOLCHAIN_PREBUILT_ROOT)) \
132 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
133 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
134 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
135 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
136 $(call set-src-files-target-cflags, \
137 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
[all …]
/ndk/toolchains/llvm-3.3/
Dsetup-common.mk90 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
91 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
92 $(call set-src-files-target-cflags, $(__debug_sources), $(TARGET_debug_CFLAGS)) \
93 $(call set-src-files-target-cflags, $(__release_sources),$(TARGET_release_CFLAGS)) \
94 $(call set-src-files-text,$(LOCAL_SRC_FILES),bc) \
102 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
106 -o $(call host-path,$(LOCAL_BUILT_MODULE)) && \
107 …$(call host-mv, $(call host-path,$(LOCAL_BUILT_MODULE)), $(call host-path,$(LOCAL_BUILT_MODULE)).b…
112 …--file $(call host-path, $(LOCAL_BUILT_MODULE)).bc $(patsubst %.bc,%.so,$(call host-path,$(LOCAL_B…
119 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
[all …]
/ndk/toolchains/llvm-3.4/
Dsetup-common.mk93 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
94 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
95 $(call set-src-files-target-cflags, $(__debug_sources), $(TARGET_debug_CFLAGS)) \
96 $(call set-src-files-target-cflags, $(__release_sources),$(TARGET_release_CFLAGS)) \
97 $(call set-src-files-text,$(LOCAL_SRC_FILES),bc) \
105 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
109 -o $(call host-path,$(LOCAL_BUILT_MODULE)) && \
110 …$(call host-mv, $(call host-path,$(LOCAL_BUILT_MODULE)), $(call host-path,$(LOCAL_BUILT_MODULE)).b…
115 …--file $(call host-path, $(LOCAL_BUILT_MODULE)).bc $(patsubst %.bc,%.so,$(call host-path,$(LOCAL_B…
122 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
[all …]

12345678910>>...13