Revert "bootclasspath_fragment: Treat some specific modules as test"
This reverts commitff9b6faba2
. Reason for revert: No longer needed Bug: 194063708 Test: m nothing Change-Id: Ic2f6761c9a0a00a612724cb429f002a16522e53f (cherry picked from commitd0fe1307aa
) Merged-In: Ic2f6761c9a0a00a612724cb429f002a16522e53f
This commit is contained in:
committed by
Cherrypicker Worker
parent
0fcd2f3d99
commit
91c1676c8e
@@ -840,22 +840,7 @@ func (b *BootclasspathFragmentModule) createHiddenAPIFlagInput(ctx android.Modul
|
||||
|
||||
// isTestFragment returns true if the current module is a test bootclasspath_fragment.
|
||||
func (b *BootclasspathFragmentModule) isTestFragment() bool {
|
||||
if b.testFragment {
|
||||
return true
|
||||
}
|
||||
|
||||
// TODO(b/194063708): Once test fragments all use bootclasspath_fragment_test
|
||||
// Some temporary exceptions until all test fragments use the
|
||||
// bootclasspath_fragment_test module type.
|
||||
name := b.BaseModuleName()
|
||||
if strings.HasPrefix(name, "test_") {
|
||||
return true
|
||||
}
|
||||
if name == "apex.apexd_test_bootclasspath-fragment" {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
return b.testFragment
|
||||
}
|
||||
|
||||
// produceHiddenAPIOutput produces the hidden API all-flags.csv file (and supporting files)
|
||||
|
Reference in New Issue
Block a user