Merge "Sandbox inputs to aidl rule in cc"
This commit is contained in:
@@ -756,6 +756,14 @@ func (c *config) HostJavaToolPath(ctx PathContext, tool string) Path {
|
||||
return path
|
||||
}
|
||||
|
||||
func (c *config) HostCcSharedLibPath(ctx PathContext, lib string) Path {
|
||||
libDir := "lib"
|
||||
if ctx.Config().BuildArch.Multilib == "lib64" {
|
||||
libDir = "lib64"
|
||||
}
|
||||
return pathForInstall(ctx, ctx.Config().BuildOS, ctx.Config().BuildArch, libDir, false, lib+".so")
|
||||
}
|
||||
|
||||
// PrebuiltOS returns the name of the host OS used in prebuilts directories.
|
||||
func (c *config) PrebuiltOS() string {
|
||||
switch runtime.GOOS {
|
||||
|
||||
Reference in New Issue
Block a user