Skip to content

Commit

Permalink
Drop support for KitKat.
Browse files Browse the repository at this point in the history
The NDK is dropping support for this.

Bug: android/ndk#1751
Test: treehugger
Change-Id: I6c03dfc364e7612ce4f45fb58746726983cf5b74
  • Loading branch information
DanAlbert authored and Tomoms committed Aug 30, 2023
1 parent 3864ba2 commit be92440
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ func (c *config) PlatformVersionLastStable() string {
}

func (c *config) MinSupportedSdkVersion() ApiLevel {
return uncheckedFinalApiLevel(19)
return uncheckedFinalApiLevel(21)
}

func (c *config) FinalApiLevels() []ApiLevel {
Expand Down
11 changes: 5 additions & 6 deletions cc/cc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4023,7 +4023,7 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
"${config.ArmArmv7ANeonCflags}",
"${config.ArmGenericCflags}",
"-target",
"armv7a-linux-androideabi20",
"armv7a-linux-androideabi21",
}

expectedIncludes := []string{
Expand Down Expand Up @@ -4054,7 +4054,6 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
"external/foo/lib32",
"external/foo/libandroid_arm",
"defaults/cc/common/ndk_libc++_shared",
"defaults/cc/common/ndk_libandroid_support",
}

conly := []string{"-fPIC", "${config.CommonGlobalConlyflags}"}
Expand Down Expand Up @@ -4147,20 +4146,20 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
},
},
stl: "libc++",
sdk_version: "20",
sdk_version: "minimum",
}
cc_library_headers {
name: "libheader1",
export_include_dirs: ["libheader1"],
sdk_version: "20",
sdk_version: "minimum",
stl: "none",
}
cc_library_headers {
name: "libheader2",
export_include_dirs: ["libheader2"],
sdk_version: "20",
sdk_version: "minimum",
stl: "none",
}
`, tc.src)
Expand All @@ -4184,7 +4183,7 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
cc_library {
name: "%s",
export_include_dirs: ["%s"],
sdk_version: "20",
sdk_version: "minimum",
stl: "none",
}
`, lib, lib)
Expand Down

0 comments on commit be92440

Please sign in to comment.