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
Loading
Please register or sign in to comment