From af3cc2d23c4473828c9e4596bce36c2ba762e992 Mon Sep 17 00:00:00 2001 From: Jeff Gaston Date: Wed, 27 Sep 2017 17:01:44 -0700 Subject: Some clarifications in preparation to automatically order linker dependencies Test: Browse the code and determine whether it's easier to understand Bug: 66260943 Change-Id: I88c24a8a31ef68f428919087d206433659265684 --- cc/rs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/rs.go') diff --git a/cc/rs.go b/cc/rs.go index 976107ea..e7eb3bb5 100644 --- a/cc/rs.go +++ b/cc/rs.go @@ -82,7 +82,7 @@ func rsGenerateCpp(ctx android.ModuleContext, rsFiles android.Paths, rsFlags str func rsFlags(ctx ModuleContext, flags Flags, properties *BaseCompilerProperties) Flags { targetApi := proptools.String(properties.Renderscript.Target_api) - if targetApi == "" && ctx.sdk() { + if targetApi == "" && ctx.useSdk() { switch ctx.sdkVersion() { case "current", "system_current", "test_current": // Nothing -- cgit v1.2.3