Home
last modified time | relevance | path

Searched refs:must (Results 1 – 25 of 52) 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.go36 func must(err error) { func
74 must(os.RemoveAll(*outputDir))
76 must(os.MkdirAll(*outputDir, 0777))
118 must(os.MkdirAll(filename, 0777))
120 must(os.MkdirAll(filepath.Dir(filename), 0777))
125 must(writeFile(filename, in, f.FileInfo().Mode()))
137 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/
Dboard_config.mk271 … either BOARD_PREBUILT_$(_uc_name)IMAGE or BOARD_$(_uc_name)IMAGE_FILE_SYSTEM_TYPE must be set)), \
273 $(error TARGET_COPY_OUT_$(_uc_name) must be set to '$(_lc_name)' to use a $(_lc_name) image))) \
409 …$(error TARGET_COPY_OUT_VENDOR must be either 'vendor' or 'system/vendor', seeing '$(TARGET_COPY_O…
425 $(error TARGET_COPY_OUT_VENDOR must be set to 'vendor' to use a vendor image)
450 $(error TARGET_COPY_OUT_PRODUCT must be either 'product' or 'system/product', seeing '$(TARGET_COPY…
490 $(error TARGET_COPY_OUT_SYSTEM_EXT must be either 'system_ext' or 'system/system_ext', seeing '$(TA…
525 …$(error TARGET_COPY_OUT_VENDOR_DLKM must be either 'vendor_dlkm', 'system/vendor/vendor_dlkm' or '…
559 …$(error TARGET_COPY_OUT_ODM must be either 'odm', 'system/vendor/odm' or 'vendor/odm', seeing '$(T…
594 …$(error TARGET_COPY_OUT_ODM_DLKM must be either 'odm_dlkm', 'system/vendor/odm_dlkm' or 'vendor/od…
632 $(error AB_OTA_UPDATER must be set to true when PRODUCT_OTA_FORCE_NON_AB_PACKAGE is true)
Dnative_test.mk9 $(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
Dversion_defaults.mk56 $(warning Invalid TARGET_PLATFORM_VERSION '$(TARGET_PLATFORM_VERSION)', must be one of)
222 …$(error PLATFORM_SYSTEMSDK_MIN_VERSION must be a number, but was $(PLATFORM_SYSTEMSDK_MIN_VERSION)…
Dlocal_vndk.mk36 …$(shell echo $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): LOCAL_USE_VNDK must not be used with LOCAL…
Dproduct.mk497 $(if $(pn),,$(error $(p): PRODUCT_NAME must be defined.)) \
499 $(error $(p): PRODUCT_NAME must be unique; "$(pn)" already used by $(strip \
509 $(error $(p): PRODUCT_NAME must be a valid C identifier, not "$(pn)") \
512 $(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.mk356 $(error Kernel header dirs must be end in kernel-headers: $(1)))
807 …$(error BOARD_SYSTEMSDK_VERSIONS ($(BOARD_SYSTEMSDK_VERSIONS)) must all be greater than or equal t…
812 $(error When PRODUCT_SHIPPING_API_LEVEL >= 28, TARGET_USES_64_BIT_BINDER must be true)
884 $(error PRODUCT_USE_DYNAMIC_PARTITIONS must be true when PRODUCT_RETROFIT_DYNAMIC_PARTITIONS \
889 $(error Devices with shipping API level $(PRODUCT_SHIPPING_API_LEVEL) must not set \
900 $(error PRODUCT_USE_DYNAMIC_PARTITION_SIZE must be true for devices with dynamic partitions)
976 $(if $(BOARD_$(group)_SIZE),,$(error BOARD_$(group)_SIZE must not be empty)) \
1070 $(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)
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
Dinstall_jni_libs_internal.mk37 $(error LOCAL_SDK_VERSION must be defined with LOCAL_NDK_STL_VARIANT, \
Dbase_rules.mk39 …$(error $(LOCAL_PATH): LOCAL_IS_HOST_MODULE must be "true" or empty, not "$(LOCAL_IS_HOST_MODULE)")
93 …RIETARY_MODULE)] and LOCAL_VENDOR_MODULE[$(LOCAL_VENDOR_MODULE)] may be set, or they must be equal)
150 $(warning * Now, the module must be listed in the PRODUCT_PACKAGES)
185 …$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must contain exactly one word, not "$(LOCAL_MODULE_CLASS…
289 …$(error $(LOCAL_PATH): LOCAL_BUILT_MODULE and LOCAL_INSTALLED_MODULE must not be defined by compon…
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…
226 $(error HOST_BUILD_TYPE must be either release or debug, not '$(HOST_BUILD_TYPE)')
294 $(error must be empty or one of: eng user userdebug)
Ddex_preopt_config.mk43 $(call pretty-error, DEXPREOPT must be enabled for user and userdebug builds)
Dsoong_java_prebuilt.mk124 $(call pretty-error,Installable device module must have LOCAL_SOONG_DEX_JAR set)
Dproguard_basic_keeps.flags50 # Parcelable CREATORs must be kept for Parcelable functionality
/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/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/make/core/combo/
DTARGET_linux-arm.mk58 $(error TARGET_$(combo_2nd_arch_prefix)ARCH_VARIANT must be set)
/build/soong/
DREADME.md33 Every module must have a `name` property, and the value must be unique across
286 If specified the `visibility` property must contain at least one rule.
288 Each rule in the property must be in one of the following forms:
300 module and must be used verbatim. It represents all of the modules in the
322 say `vendor/google`, instead it must make itself visible to all packages within
369 custom Makefile rules, complex conditionals or extra includes must be converted
378 The androidmk converter will produce multiple conflicting modules, which must
/build/make/tools/releasetools/
Dpylintrc299 # name must start or end with one of those strings.
343 # given file (report RP0402 must not be disabled)
346 # Create a graph of external dependencies in the given file (report RP0402 must
350 # Create a graph of internal dependencies in the given file (report RP0402 must
/build/make/tools/droiddoc/templates-ndk/
Dclass.cs105 <?cs # this next line must be exactly like this to be parsed by eclipse ?>
154 <?cs # this next line must be exactly like this to be parsed by eclipse ?>

123