diff options
author | Jiyong Park <jiyong@google.com> | 2021-01-05 16:30:31 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2021-01-05 16:30:31 +0900 |
commit | 17e80680b85c7a72f4d870553400b47b1ad78e7a (patch) | |
tree | 2f0203df763cc6664d103e8d6d06b5eb6ebf7ed7 | |
parent | e25a43f643d8393c6ed637d7b5a43d91d3c7818f (diff) | |
download | opengl-transport-17e80680b85c7a72f4d870553400b47b1ad78e7a.tar.gz |
cuttlefish_host_only -> cuttlefish_buildhost_only
The term (1) "host" in the context of cuttlefish (and more broadly in
the context of VMs) means the OS that directly talks to the hardware and
is responsible for managing the (guest) VMs. However, in the context of
the Android build system, the same term (2) "host" means the OS that
isn't Android (which is referred to as "target"), like the Ubuntu OS
where the build system itself runs on, or the Windows or Mac OSes that
we cross-build SDKs for.
Previously when cuttlefish doesn't support nested virtualization, the
two different "host"s meant the same; host-side components (like crosvm,
run_cvd, etc.) were only built for the build-host OS (Ubuntu or gLinux).
However, that is no longer true as we aim to support running cuttlefish
(and other OS payloads as well) on Android devices as well. Then the
host-side VM managing components have to be built for the target
(Android) OS.
In order to better reflect the new situation, cuttlefish_* cc_defaults
modules are renamed as follows:
1) cuttlefish_guest_only: for the guest OS (i.e. cuttlefish)
2) cuttlefish_host: for the host OSes (either Ubuntu or Android)
This was previously "cuttlefish_host_and_guest", where "guest" there
actually meant the Android OS which doesn't necessarily need to be
cuttlefish.
3) cuttlefish_buildhost_only: for non-Android host OSes (i.e. Ubuntu)
Bug: 167675429
Test: mma under /device/google/cuttlefish
Change-Id: I0a3cc47c69edab660a0b4d9c2315051ba2dcd6a5
-rw-r--r-- | host/libs/virglrenderer/Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/libs/virglrenderer/Android.bp b/host/libs/virglrenderer/Android.bp index e66086041..715ecca21 100644 --- a/host/libs/virglrenderer/Android.bp +++ b/host/libs/virglrenderer/Android.bp @@ -204,5 +204,5 @@ cc_library_host_shared { // TODO(b/118466250): Make this work on the Mac version_script : "libvirglrenderer.lds", - defaults: [ "cuttlefish_host_only" ], + defaults: [ "cuttlefish_buildhost_only" ], } |