Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Connectivity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_modules_Connectivity
Commits
f652d2ca
Commit
f652d2ca
authored
1 year ago
by
Motomu Utsumi
Committed by
Gerrit Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Make FlaggedAPI available to CtsThreadNetworkTestCases" into main
parents
289ec282
ada9e987
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
framework/Android.bp
+26
-0
26 additions, 0 deletions
framework/Android.bp
nearby/framework/Android.bp
+1
-0
1 addition, 0 deletions
nearby/framework/Android.bp
thread/tests/cts/Android.bp
+1
-0
1 addition, 0 deletions
thread/tests/cts/Android.bp
with
28 additions
and
0 deletions
framework/Android.bp
+
26
−
0
View file @
f652d2ca
...
...
@@ -266,6 +266,7 @@ java_genrule {
":framework-connectivity-t-pre-jarjar{.jar}",
":framework-connectivity.stubs.module_lib{.jar}",
":framework-connectivity-t.stubs.module_lib{.jar}",
":framework-connectivity-flagged-apis{.jar}",
"jarjar-excludes.txt",
],
tools: [
...
...
@@ -278,6 +279,7 @@ java_genrule {
"--prefix android.net.connectivity " +
"--apistubs $(location :framework-connectivity.stubs.module_lib{.jar}) " +
"--apistubs $(location :framework-connectivity-t.stubs.module_lib{.jar}) " +
"--apistubs $(location :framework-connectivity-flagged-apis{.jar}) " +
// Make a ":"-separated list. There will be an extra ":" but empty items are ignored.
"--unsupportedapi $$(printf ':%s' $(locations :connectivity-hiddenapi-files)) " +
"--excludes $(location jarjar-excludes.txt) " +
...
...
@@ -289,6 +291,30 @@ java_genrule {
],
}
droidstubs {
name: "framework-connectivity-flagged-apis-droidstubs",
srcs: [
":framework-connectivity-sources",
":framework-connectivity-tiramisu-updatable-sources",
":framework-nearby-java-sources",
":framework-thread-sources",
],
flags: [
"--show-annotation android.annotation.FlaggedApi",
],
aidl: {
include_dirs: [
"packages/modules/Connectivity/framework/aidl-export",
"frameworks/native/aidl/binder", // For PersistableBundle.aidl
],
},
}
java_library {
name: "framework-connectivity-flagged-apis",
srcs: [":framework-connectivity-flagged-apis-droidstubs"],
}
// Library providing limited APIs within the connectivity module, so that R+ components like
// Tethering have a controlled way to depend on newer components like framework-connectivity that
// are not loaded on R.
...
...
This diff is collapsed.
Click to expand it.
nearby/framework/Android.bp
+
1
−
0
View file @
f652d2ca
...
...
@@ -26,6 +26,7 @@ filegroup {
],
path: "java",
visibility: [
"//packages/modules/Connectivity/framework:__subpackages__",
"//packages/modules/Connectivity/framework-t:__subpackages__",
],
}
...
...
This diff is collapsed.
Click to expand it.
thread/tests/cts/Android.bp
+
1
−
0
View file @
f652d2ca
...
...
@@ -44,6 +44,7 @@ android_test {
libs: [
"android.test.base",
"android.test.runner",
"framework-connectivity-flagged-apis"
],
// Test coverage system runs on different devices. Need to
// compile for all architectures.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment