Home
last modified time | relevance | path

Searched full:uses (Results 1 – 25 of 165) sorted by relevance

1234567

/build/soong/scripts/
Dmanifest_check.py43 parser.add_argument('--uses-library', dest='uses_libraries',
45 help='specify uses-library entries known to the build system')
46 parser.add_argument('--optional-uses-library',
49 … help='specify uses-library entries known to the build system with required:false')
50 parser.add_argument('--enforce-uses-libraries',
53 … help='check the uses-library entries known to the build system against the manifest')
54 parser.add_argument('--enforce-uses-libraries-relax',
58 parser.add_argument('--enforce-uses-libraries-status',
78 """Verify that the <uses-library> tags in the manifest match those provided
97 'mismatch in the <uses-library> tags between the build system and the '
[all …]
Dmanifest_fixer.py48 parser.add_argument('--uses-library', dest='uses_libraries', action='append',
49 … help='specify additional <uses-library> tag to add. android:requred is set to true')
50 parser.add_argument('--optional-uses-library', dest='optional_uses_libraries', action='append',
51 … help='specify additional <uses-library> tag to add. android:requred is set to false')
52 parser.add_argument('--uses-non-sdk-api', dest='uses_non_sdk_api', action='store_true',
74 """Ensure the manifest contains a <uses-sdk> tag with a minSdkVersion.
87 # Get or insert the uses-sdk element
88 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
90 raise RuntimeError('found multiple uses-sdk elements')
94 element = doc.createElement('uses-sdk')
[all …]
Dmanifest_check_test.py29 return '<uses-library android:name="%s"%s />' % (name, attr)
37 return "uses-library%s:'%s'" % (sfx, name)
71 "uses-permission: name='android.permission.ACCESS_NETWORK_STATE'\n"
198 ' <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="%s" />\n'
205 "uses-permission: name='android.permission.ACCESS_NETWORK_STATE'\n")
Dmanifest_fixer_test.py81 return ' <uses-sdk%s/>\n' % (attrs)
84 """Tests inserting a uses-sdk element into a manifest."""
92 """Tests inserting a minSdkVersion attribute into a uses-sdk element."""
94 manifest_input = self.manifest_tmpl % ' <uses-sdk extra="foo"/>\n'
101 """Tests inserting a minSdkVersion attribute into a uses-sdk element."""
201 ' <uses-sdk android:minSdkVersion="27" extra="foo"/>\n'
207 ' <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29" extra="foo"/>\n'
221 ' <uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29"/>\n'
292 ' <uses-library android:name="%s" android:required="%s"/>\n'
/build/soong/dexpreopt/
Dclass_loader_context.go30 // 4. manifest fixer: a tool that adds missing <uses-library> tags to the manifests
38 // a <uses-library> tag that has the library name and an optional attribute specifying if the
43 // The libraries listed in <uses-library> tags are in the classpath of a library/app.
50 // build system uses CLC in a more narrow sense: it is a tree of libraries that represents
51 // transitive closure of all <uses-library> dependencies of a library/app. The top-level elements of
52 // a CLC are the direct <uses-library> dependencies specified in the manifest (aka. classpath). Each
53 // node of a CLC tree is a <uses-library> which may have its own <uses-library> sub-nodes.
55 // Because <uses-library> dependencies are, in general, a graph and not necessarily a tree, CLC may
60 // Example: A has <uses-library> tags B, C and D; C has <uses-library tags> B and D;
61 // D has <uses-library> E; B and E have no <uses-library> dependencies. The CLC is:
[all …]
Dclass_loader_context_test.go150 t.Run("uses libs", func(t *testing.T) {
153 t.Errorf("\nwant uses libs: %s\nhave uses libs: %s", wantUsesLibs, haveUsesLibs)
192 // The library should be added to <uses-library> tags by the manifest_fixer.
193 t.Run("uses libs", func(t *testing.T) {
197 t.Errorf("\nwant uses libs: %s\nhave uses libs: %s", wantUsesLibs, haveUsesLibs)
203 checkError(t, err, fmt.Sprintf("invalid %s path for <uses-library> \"a\"", whichPath))
/build/make/core/
Ddex_preopt_config_merger.py18 A tool for merging dexpreopt.config files for <uses-library> dependencies into
19 the dexpreopt.config file of the library/app that uses them. This is needed to
23 <uses-library> dependency module may have not been processed yet by the time the
49 # <uses-library> dependencies.
75 # The real <uses-library> name (may be different from the module name).
84 # dexpreopt.config for this <uses-library> is not among the script
Dandroid_manifest.mk71 my_manifest_fixer_flags += --uses-non-sdk-api
91 # These two libs are added as optional dependencies (<uses-library> with
107 …-f $(PRIVATE_EXPORTED_SDK_LIBS_FILE).optional | sort -u | sed -e 's/^/\ --uses-library\ /' | tr '\…
108 …ATE_EXPORTED_SDK_LIBS_FILE).optional | sort -u | sed -e 's/^/\ --optional-uses-library\ /' | tr '\…
Ddex_preopt_odex_install.mk159 # <uses-library> dependency, because these libraries may be processed after
171 # Make does not process modules in topological order wrt. <uses-library>
175 # config depends on configs for <uses-library> dependencies of this module,
195 # Verify <uses-library> coherence between the build system and the manifest.
199 # Handle it as if the manifest had zero <uses-library> tags: it is ok unless the
203 $(error $(LOCAL_MODULE) has non-empty <uses-library> list but no manifest)
222 # Disable <uses-library> checks if dexpreopt is globally disabled.
241 my_uses_libs_args := $(patsubst %,--uses-library %,$(LOCAL_USES_LIBRARIES))
242 my_optional_uses_libs_args := $(patsubst %,--optional-uses-library %, \
245 --enforce-uses-libraries-relax,)
[all …]
Dallowed_ndk_types.mk52 # And it's always okay to link a static library that uses your own STL type.
72 # Else we are a non-static library that uses a static STL, and are
Dproguard_basic_keeps.flags69 # Futures.getChecked (which often won't work with Proguard anyway) uses this. It
76 # The lite proto runtime uses reflection to access fields based on the names in
/build/blueprint/.github/workflows/
Dbuild.yml20 uses: actions/setup-go@v2
26 uses: actions/checkout@v2
/build/soong/java/
Dandroid_manifest.go45 // Uses manifest_fixer.py to inject minSdkVersion, etc. into an AndroidManifest.xml
67 args = append(args, "--uses-non-sdk-api")
76 args = append(args, "--optional-uses-library", usesLib)
78 args = append(args, "--uses-library", usesLib)
Dbootclasspath_fragment_test.go247 // Check that SdkPublic uses public stubs for all sdk libraries.
250 // Check that SdkSystem uses system stubs for mysdklibrary and public stubs for myothersdklibrary
254 // Check that SdkTest also uses system stubs for mysdklibrary as it does not provide test stubs
258 // Check that SdkCorePlatform uses public stubs from the mycoreplatform library.
Dapp.go645 // The decision to enforce <uses-library> checks is made before adding implicit SDK libraries.
648 // Add implicit SDK libraries to <uses-library> list.
653 // Check that the <uses-library> list is coherent with the manifest.
763 … ctx.PropertyErrorf("jni_libs", "JNI dependency %q uses platform APIs, but this module does not",
1177 …// A list of shared library modules that will be listed in uses-library tags in the AndroidManifes…
1180 …// A list of shared library modules that will be listed in uses-library tags in the AndroidManifes…
1188 // Optional name of the <uses-library> provided by this module. This is needed for non-SDK
1189 // libraries, because SDK ones are automatically picked up by Soong. The <uses-library> name
1195 // <uses-library> tags that end up in the manifest of an APK match the ones known to the build syst…
1281 // enforceUsesLibraries returns true of <uses-library> tags should be checked against uses_libs and…
[all …]
Dgenrule.go36 …ost_supported: true` will produce two variants, one that uses device dependencie sand one that uses
/build/soong/cc/
Dsanitize_test.go121 // Static library that uses an asan variant for bin_with_asan and a non-asan variant
126 // Static library that never uses asan.
163 // combine implicits and order-only dependencies, host uses implicit but device uses
/build/bazel/docs/
Dconcepts.md17 …d logic in Go. Declares build units in `Android.bp`, parsed by Blueprint. Uses Blueprint to genera…
41 The current build system architecture primarily uses **files** as the medium
59 1. Minibootstrap phase uses Blueprint/Microfactory to build itself
93 soong\_ui uses finder.go to generate &lt;filename>.list files for other
98 soong\_ui uses path\_interposer to prepare an hermetic $PATH with runtime
100 tools with checked-in prebuilts, and uses path\_interposer to intercept calls
/build/make/target/product/virtual_ab_ota/
DREADME.md3 Devices that uses Virtual A/B must inherit from one of the makefiles in this directory.
/build/soong/rust/config/
Dglobal.go35 // Required as Rust uses aarch64 when Soong uses arm64.
Darm64_linux_host.go22 // Linux_cross-arm64 uses the same rust toolchain as the Android-arm64
/build/bazel/examples/android_app/java/com/app/
DAndroidManifest.xml6 <uses-sdk
/build/bazel/json_module_graph/
DREADME.md5 It uses the JSON module graph that Soongs dumps when the
/build/make/target/product/
Dmodule_common.mk22 # uses -DENFORCE_VINTF_MANIFEST. See b/185759877
Dgeneric_ramdisk.mk18 # Inherit from this makefile to declare that this product uses generic ramdisk.

1234567