diff options
author | 2017-09-27 17:01:44 -0700 | |
---|---|---|
committer | 2017-10-18 18:06:02 +0000 | |
commit | af3cc2d23c4473828c9e4596bce36c2ba762e992 (patch) | |
tree | 7db84020037e4f83ff17fae7e033dfb85c46987e /cc/proto.go | |
parent | 16b9ce4dff7d522aca993b38e4e44be309ba658b (diff) |
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
Diffstat (limited to 'cc/proto.go')
-rw-r--r-- | cc/proto.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/proto.go b/cc/proto.go index a01951fe6..6e3cce742 100644 --- a/cc/proto.go +++ b/cc/proto.go @@ -60,14 +60,14 @@ func protoDeps(ctx BaseModuleContext, deps Deps, p *android.ProtoProperties, sta switch proptools.String(p.Proto.Type) { case "full": - if ctx.sdk() { + if ctx.useSdk() { lib = "libprotobuf-cpp-full-ndk" static = true } else { lib = "libprotobuf-cpp-full" } case "lite", "": - if ctx.sdk() { + if ctx.useSdk() { lib = "libprotobuf-cpp-lite-ndk" static = true } else { |