Minimal change to set ro.boot.hardware.egl=swiftshader
BUG: 127353494
BUG: 128842306
Test: Local build and boot
Change-Id: I50e1bdbcc1eb33a2bab919f4cbbbc8152345b2f7
diff --git a/host/commands/launch/flags.cc b/host/commands/launch/flags.cc
index d1d7d21..3fa2717 100644
--- a/host/commands/launch/flags.cc
+++ b/host/commands/launch/flags.cc
@@ -249,6 +249,9 @@
}
tmp_config_obj.set_vm_manager(FLAGS_vm_manager);
+ // TODO(b/77276633): This should be handled as part of the GPU configuration
+ tmp_config_obj.add_kernel_cmdline("androidboot.hardware.egl=swiftshader");
+
tmp_config_obj.set_serial_number(FLAGS_serial_number);
tmp_config_obj.set_cpus(FLAGS_cpus);