Skip to content

Commit

Permalink
Set min_sdk_version to be part of mainline modules
Browse files Browse the repository at this point in the history
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.

For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.

Bug: 152655956
Test: m
Merged-In: Ida890adfe6dfac79267fc0e18b63d2330266438c
Change-Id: Ida890adfe6dfac79267fc0e18b63d2330266438c
(cherry picked from commit 7ea0d74bc8e508f9603e21aa8c98ec11c22215b2)

Former-commit-id: 7937f29be8524e20909eb12d722a0b14aa45d688
  • Loading branch information
Jooyung Han committed May 13, 2020
1 parent dc719fa commit a570b6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libsystem/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cc_library_headers {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "apex_inherit",
export_include_dirs: ["include"],

target: {
Expand Down
1 change: 1 addition & 0 deletions libsysutils/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ cc_library {
"//apex_available:anyapex",
"//apex_available:platform",
],
min_sdk_version: "apex_inherit",
}

cc_test {
Expand Down
2 changes: 2 additions & 0 deletions libutils/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cc_library_headers {
"//apex_available:platform",
"//apex_available:anyapex",
],
min_sdk_version: "apex_inherit",

header_libs: [
"liblog_headers",
Expand Down Expand Up @@ -168,6 +169,7 @@ cc_library {
"//apex_available:anyapex",
"//apex_available:platform",
],
min_sdk_version: "apex_inherit",
}

cc_library {
Expand Down

0 comments on commit a570b6e

Please sign in to comment.