Remove unused mips workarounds.
This was never really finished, and hasn't been supported for years. Test: treehugger Change-Id: I21d4c3112aa8cf0c56e59f0cc19ff8725ef714b9
This commit is contained in:
@@ -17,7 +17,6 @@ package cc
|
||||
import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
|
||||
@@ -131,14 +130,6 @@ func (m *headerModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
|
||||
m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
|
||||
|
||||
// When generating NDK prebuilts, skip installing MIPS headers,
|
||||
// but keep them when doing regular platform build.
|
||||
// Ndk_abis property is only set to true with build/soong/scripts/build-ndk-prebuilts.sh
|
||||
// TODO: Revert this once MIPS is supported in NDK again.
|
||||
if ctx.Config().NdkAbis() && strings.Contains(ctx.ModuleName(), "mips") {
|
||||
return
|
||||
}
|
||||
|
||||
srcFiles := android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
|
||||
for _, header := range srcFiles {
|
||||
installDir := getHeaderInstallDir(ctx, header, String(m.properties.From),
|
||||
|
Reference in New Issue
Block a user