From 7485c2989d727a1d0c14a66fb75e140f885a1583 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Mon, 19 Mar 2012 11:35:29 -0700 Subject: Refactor HW config to use hw.camera_back, and hw.camera_front properties. This is a continuation of an effort to simplify HW config, and make the UI for it clearer. This CL gets rid of multiple camera emulation properties, combining everything into just two properties: - hw.camera_back that controls emulation of a camera facing back, and - hw.camera_front that controls emulation of a camera facing front. Change-Id: Ia114ae4caf2053685cbff00f39088e5b5be2952c --- android/cmdline-options.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'android/cmdline-options.h') diff --git a/android/cmdline-options.h b/android/cmdline-options.h index d490e40..aa85c0e 100644 --- a/android/cmdline-options.h +++ b/android/cmdline-options.h @@ -156,8 +156,9 @@ OPT_PARAM( attach_core, "", "attach to a running core process" ) OPT_PARAM( gpu, "", "set hardware OpenGLES emulation mode" ) -OPT_PARAM( fake_camera, "", "set fake camera emulation mode" ) -OPT_LIST( webcam, "name=[,dir=]", "setup web camera emulation" ) +OPT_PARAM( camera_back, "", "set emulation mode for a camera facing back" ) +OPT_PARAM( camera_front, "", "set emulation mode for a camera facing front" ) +OPT_FLAG( webcam_list, "lists web cameras available for emulation" ) OPT_PARAM( screen, "", "set emulated screen mode" ) -- cgit v1.1