summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2021-02-05 02:28:22 +0900
committerJooyung Han <jooyung@google.com>2021-02-05 11:27:57 +0900
commit11b0fbdbf61ac09067c3b8b706af8f79ffa9bb9b (patch)
tree539ed05d86c4af3e80504b7131fac4a107a8f6a8 /java/java.go
parent23c38fa9a7c1922ffbc6ccd76ad48ef0360ce586 (diff)
cc: fix version macro for stubs
When a cc module is built against a stub, compiler passes version macro of the stub lib. Version macro should be numeric, so codenames or "current" should be mapped to numbers just like how ndkstubgen maps to. * "current" -> future (10000) * codenames -> look up api_level.json * otherwise -> cast to int Bug: 179329813 Test: m / soong test / manually check the output build.ninja Change-Id: Ic0e1dd904984e161694a0b77fad5559c06a4462f
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions