Remove Fuchsia support from Soong
Bug: 194215932 Test: m checkbuild Change-Id: Id7d3964d9417f8b0938af9b168bb4c00cebe9390
This commit is contained in:
23
cc/stl.go
23
cc/stl.go
@@ -15,8 +15,9 @@
|
||||
package cc
|
||||
|
||||
import (
|
||||
"android/soong/android"
|
||||
"fmt"
|
||||
|
||||
"android/soong/android"
|
||||
)
|
||||
|
||||
func getNdkStlFamily(m LinkableInterface) string {
|
||||
@@ -92,26 +93,6 @@ func (stl *stl) begin(ctx BaseModuleContext) {
|
||||
ctx.ModuleErrorf("stl: %q is not a supported STL for windows", s)
|
||||
return ""
|
||||
}
|
||||
} else if ctx.Fuchsia() {
|
||||
switch s {
|
||||
case "c++_static":
|
||||
return "libc++_static"
|
||||
case "c++_shared":
|
||||
return "libc++"
|
||||
case "libc++", "libc++_static":
|
||||
return s
|
||||
case "none":
|
||||
return ""
|
||||
case "":
|
||||
if ctx.static() {
|
||||
return "libc++_static"
|
||||
} else {
|
||||
return "libc++"
|
||||
}
|
||||
default:
|
||||
ctx.ModuleErrorf("stl: %q is not a supported STL on Fuchsia", s)
|
||||
return ""
|
||||
}
|
||||
} else {
|
||||
switch s {
|
||||
case "libc++", "libc++_static":
|
||||
|
Reference in New Issue
Block a user