Revert "Change test_module_config from copying files to symlink ..."

Revert submission 3060229-ron-tmc-symlinks

Reason for revert: Droidmonitor created revert due to b/344045516

Reverted changes: /q/submissionid:3060229-ron-tmc-symlinks

Change-Id: If5045366677163560cdae95c0ab74256b4b49b9a
This commit is contained in:
Priyanka Advani
2024-05-31 23:31:13 +00:00
committed by Gerrit Code Review
parent f216af5653
commit c6a321e4de
5 changed files with 65 additions and 175 deletions

View File

@@ -6,8 +6,7 @@ import (
"github.com/google/blueprint"
)
// Data that test_module_config[_host] modules types will need from
// their dependencies to write out build rules and AndroidMkEntries.
// Output files we need from a base test that we derive from.
type BaseTestProviderData struct {
// data files and apps for android_test
InstalledFiles android.Paths
@@ -20,14 +19,8 @@ type BaseTestProviderData struct {
RequiredModuleNames []string
// List of test suites base uses.
TestSuites []string
// True indicates the base modules is built for Host.
// Used for bases that are Host
IsHost bool
// Base's sdk version for AndroidMkEntries, generally only used for Host modules.
LocalSdkVersion string
// Base's certificate for AndroidMkEntries, generally only used for device modules.
LocalCertificate string
// Indicates if the base module was a unit test.
IsUnitTest bool
}
var BaseTestProviderKey = blueprint.NewProvider[BaseTestProviderData]()