summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2020-09-01 12:37:45 +0900
committer Jiyong Park <jiyong@google.com> 2020-09-08 15:12:10 +0900
commit87788b5247161d3d7510f6ad4e4fcd51e5375b75 (patch)
tree6af2750221421ad69f687c1b423db759d17d47a6 /java/java.go
parent4964a5e0004ab80e3cbc7bd030ce5ddc33e5d36e (diff)
Don't assume host arch is always x86
This change fixes some places where host arch is assumed to be x86 to form a path element like linux-x86. In preparation for non-x86 host targets, the host arch part is derived from the context. In addition, InstallForceOS() is refactored so that it can override not only OsType, but also ArchType. Without this, the paths for the robolectic modules will be changed from linux-x86 to linux-common, which breaks several other places where the old paths are expected. Bug: 134795810 Test: m Change-Id: Ib38c715948ae546e55021ece82bac1d82e9e5da0
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions