Home
last modified time | relevance | path

Searched refs:must (Results 1 – 25 of 55) sorted by relevance

123

/build/soong/cmd/diff_target_files/
Dcompare.go61 must := func(n int, err error) {
70 must(fmt.Fprintln(buf, "files modified:"))
72must(fmt.Fprintf(buf, " %v (%v bytes -> %v bytes)\n", f[0].Name, f[0].UncompressedSize64, f[1].U…
78 must(fmt.Fprintln(buf, "files removed:"))
80 must(fmt.Fprintf(buf, " - %v (%v bytes)\n", f.Name, f.UncompressedSize64))
86 must(fmt.Fprintln(buf, "files added:"))
88 must(fmt.Fprintf(buf, " + %v (%v bytes)\n", f.Name, f.UncompressedSize64))
94 must(fmt.Fprintf(buf, "total size change: %v bytes\n", sizeChange))
/build/soong/cmd/zipsync/
Dzipsync.go35 func must(err error) { func
73 must(os.RemoveAll(*outputDir))
75 must(os.MkdirAll(*outputDir, 0777))
106 must(os.MkdirAll(filename, f.FileInfo().Mode()))
108 must(os.MkdirAll(filepath.Dir(filename), 0777))
113 must(writeFile(filename, in, f.FileInfo().Mode()))
125 must(ioutil.WriteFile(*outputFile, []byte(data), 0666))
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go35 func must(err error) { func
87 must(ioutil.WriteFile(*outputFile, data, 0666))
/build/make/core/tasks/
Ddeps_licenses.mk26 $(error To "make deps-license" you must specify PROJ_PATH and DEP_PATH.)
29 $(error To "make deps-license" you must specify PROJ_PATH and DEP_PATH.)
/build/make/core/
Dboard_config.mk319 …$(error TARGET_COPY_OUT_VENDOR must be either 'vendor' or 'system/vendor', seeing '$(TARGET_COPY_O…
333 $(error TARGET_COPY_OUT_VENDOR must be set to 'vendor' to use a vendor image)
358 $(error TARGET_COPY_OUT_PRODUCT must be either 'product' or 'system/product', seeing '$(TARGET_COPY…
372 $(error TARGET_COPY_OUT_PRODUCT must be set to 'product' to use a product image)
401 $(error TARGET_COPY_OUT_PRODUCT_SERVICES must be either '$(TARGET_COPY_OUT_PRODUCT)'\
441 …$(error TARGET_COPY_OUT_ODM must be either 'odm' or 'vendor/odm', seeing '$(TARGET_COPY_OUT_ODM)'.)
455 $(error TARGET_COPY_OUT_ODM must be set to 'odm' to use an odm image)
Dhost_native_test.mk9 $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
Dnative_test.mk9 $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
Dlocal_vndk.mk29 …$(shell echo $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): LOCAL_USE_VNDK must not be used with LOCAL…
Dtest_config_common.mk35 $(call pretty-error,LOCAL_TEST_CONFIG_OPTIONS must be set if the test XML file is not provided.)
Dversion_defaults.mk56 $(warning Invalid TARGET_PLATFORM_VERSION '$(TARGET_PLATFORM_VERSION)', must be one of)
235 …$(error PLATFORM_SYSTEMSDK_MIN_VERSION must be a number, but was $(PLATFORM_SYSTEMSDK_MIN_VERSION)…
Dproduct.mk433 $(if $(pn),,$(error $(p): PRODUCT_NAME must be defined.)) \
435 $(error $(p): PRODUCT_NAME must be unique; "$(pn)" already used by $(strip \
445 $(error $(p): PRODUCT_NAME must be a valid C identifier, not "$(pn)") \
448 $(if $(pb),,$(error $(p): PRODUCT_BRAND must be defined.)) \
DWINPTHREADS_COPYING38 * * Redistributions of source code must retain the above copyright notice,
40 * * Redistributions in binary form must reproduce the above copyright notice,
Dconfig.mk275 $(error Kernel header dirs must be end in kernel-headers: $(1)))
745 …$(error BOARD_SYSTEMSDK_VERSIONS ($(BOARD_SYSTEMSDK_VERSIONS)) must all be greater than or equal t…
750 $(error When PRODUCT_SHIPPING_API_LEVEL >= 28, TARGET_USES_64_BIT_BINDER must be true)
813 $(error PRODUCT_USE_DYNAMIC_PARTITIONS must be true when PRODUCT_RETROFIT_DYNAMIC_PARTITIONS \
818 $(error Devices with shipping API level $(PRODUCT_SHIPPING_API_LEVEL) must not set \
829 $(error PRODUCT_USE_DYNAMIC_PARTITION_SIZE must be true for devices with dynamic partitions)
896 $(if $(BOARD_$(group)_SIZE),,$(error BOARD_$(group)_SIZE must not be empty)) \
991 $(error BOARD_SUPER_PARTITION_$(device)_DEVICE_SIZE must not be empty)) \
Djava_library.mk8 $(error $(LOCAL_PATH): Host java libraries must use BUILD_HOST_JAVA_LIBRARY)
Dbase_rules.mk40 …$(error $(LOCAL_PATH): LOCAL_IS_HOST_MODULE must be "true" or empty, not "$(LOCAL_IS_HOST_MODULE)")
52 … $(error $(LOCAL_PATH): LOCAL_IS_AUX_MODULE must be "true" or empty, not "$(LOCAL_IS_AUX_MODULE)")
96 …RIETARY_MODULE)] and LOCAL_VENDOR_MODULE[$(LOCAL_VENDOR_MODULE)] may be set, or they must be equal)
159 $(warning * Now, the module must be listed in the PRODUCT_PACKAGES)
200 …$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must contain exactly one word, not "$(LOCAL_MODULE_CLASS…
297 …$(error $(LOCAL_PATH): LOCAL_BUILT_MODULE and LOCAL_INSTALLED_MODULE must not be defined by compon…
Dinstall_jni_libs_internal.mk28 $(error LOCAL_SDK_VERSION must be defined with LOCAL_NDK_STL_VARIANT, \
DLINUX_KERNEL_COPYING50 gratis or for a fee, you must give the recipients all the rights that
51 you have. You must make sure that they, too, receive or can get the
52 source code. And you must show them these terms so they know their
70 patent must be licensed for everyone's free use or not licensed at all.
111 a) You must cause the modified files to carry prominent notices
114 b) You must cause any work that you distribute or publish, that in
120 when run, you must cause it, when started running for such
136 on the Program, the distribution of the whole must be on the terms of
155 source code, which must be distributed under the terms of Sections
Denvsetup.mk53 $(error MIN_PLATFORM_VERSION '$(1)' must be before MAX_PLATFORM_VERSION '$(2)'))
59 …$(error DEFAULT_PLATFORM_VERSION '$(3)' must be between MIN_PLATFORM_VERSION '$(1)' and MAX_PLATFO…
210 $(error HOST_BUILD_TYPE must be either release or debug, not '$(HOST_BUILD_TYPE)')
273 $(error must be empty or one of: eng user userdebug)
/build/blueprint/
DCONTRIBUTING.md4 Before we can use your code, you must sign the
12 approved it, but you must do it before we can put your code into our codebase.
DLICENSE95 (a) You must give any other recipients of the Work or
98 (b) You must cause any modified files to carry prominent notices
101 (c) You must retain, in the Source form of any Derivative Works
108 distribution, then any Derivative Works that You distribute must
/build/make/tools/
Ddump-package-stats36 Packages must be zipfiles, readable using "unzip".
/build/make/core/combo/
DTARGET_linux-arm.mk58 $(error TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT must be set)
/build/make/tools/droiddoc/templates-ndk/assets/
DGPL-LICENSE.txt34 gratis or for a fee, you must give the recipients all the rights that
35 you have. You must make sure that they, too, receive or can get the
36 source code. And you must show them these terms so they know their
54 patent must be licensed for everyone's free use or not licensed at all.
95 a) You must cause the modified files to carry prominent notices
98 b) You must cause any work that you distribute or publish, that in
104 when run, you must cause it, when started running for such
120 on the Program, the distribution of the whole must be on the terms of
139 source code, which must be distributed under the terms of Sections
/build/soong/
DREADME.md33 Every module must have a `name` property, and the value must be unique across
164 custom Makefile rules, complex conditionals or extra includes must be converted
173 The androidmk converter will produce multiple conflicting modules, which must
/build/kati/
DLICENSE95 (a) You must give any other recipients of the Work or
98 (b) You must cause any modified files to carry prominent notices
101 (c) You must retain, in the Source form of any Derivative Works
108 distribution, then any Derivative Works that You distribute must

123