Android-cuttlefish cvd tool
assemble_cvd_flags.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19#include <gflags/gflags.h>
20
21#define DECLARE_vec DECLARE_string
22
23DECLARE_vec(data_policy);
24DECLARE_vec(gdb_port);
25
26// TODO(b/192495477): combine these into a single repeatable '--display' flag
27// when assemble_cvd switches to using the new flag parsing library.
32
33// TODO(b/171305898): mark these as deprecated after multi-display is fully
34// enabled.
38DECLARE_string(refresh_rate_hz);
40DECLARE_string(extra_kernel_cmdline);
41DECLARE_string(extra_bootconfig_args);
42DECLARE_vec(guest_enforce_security);
43DECLARE_vec(memory_mb);
44DECLARE_vec(serial_number);
45DECLARE_vec(use_random_serial);
46DECLARE_vec(gpu_mode);
47DECLARE_vec(gpu_vhost_user_mode);
48DECLARE_vec(hwcomposer);
49DECLARE_vec(gpu_capture_binary);
50DECLARE_vec(enable_gpu_udmabuf);
51DECLARE_vec(gpu_renderer_features);
52DECLARE_vec(gpu_context_types);
53DECLARE_vec(guest_hwui_renderer);
54
55DECLARE_vec(guest_renderer_preload);
56
57DECLARE_vec(guest_vulkan_driver);
58
59DECLARE_vec(frames_socket_path);
60
61DECLARE_vec(use_allocd);
62DECLARE_vec(use_cvdalloc);
63DECLARE_vec(enable_minimal_mode);
64DECLARE_vec(pause_in_bootloader);
65DECLARE_bool(enable_host_bluetooth);
66DECLARE_int32(rootcanal_instance_num);
67DECLARE_string(rootcanal_args);
68DECLARE_bool(enable_host_nfc);
69DECLARE_int32(casimir_instance_num);
70DECLARE_string(casimir_args);
71DECLARE_bool(enable_host_uwb);
72DECLARE_int32(pica_instance_num);
74
75DECLARE_bool(netsim_bt);
76DECLARE_bool(netsim_uwb);
77DECLARE_string(netsim_args);
78
79DECLARE_bool(enable_automotive_proxy);
80
81DECLARE_vec(enable_vhal_proxy_server);
82DECLARE_int32(vhal_proxy_server_instance_num);
83
89DECLARE_vec(enable_sandbox);
90
91DECLARE_vec(enable_virtiofs);
92
93DECLARE_string(seccomp_policy_dir);
94
95DECLARE_vec(webrtc_assets_dir);
96
97DECLARE_bool(start_webrtc_sig_server);
98
99DECLARE_string(webrtc_sig_server_addr);
100
101DECLARE_vec(tcp_port_range);
102
103DECLARE_vec(udp_port_range);
104
105DECLARE_vec(webrtc_device_id);
106
109
110DECLARE_vec(setupwizard_mode);
111DECLARE_vec(enable_bootanimation);
112
113DECLARE_vec(extra_bootconfig_args_base64);
114
115DECLARE_string(qemu_binary_dir);
116DECLARE_string(crosvm_binary);
117DECLARE_vec(gem5_binary_dir);
118DECLARE_vec(gem5_checkpoint_dir);
119DECLARE_vec(gem5_debug_file);
120DECLARE_string(gem5_debug_flags);
121
122DECLARE_vec(restart_subprocesses);
123DECLARE_vec(boot_slot);
124DECLARE_int32(num_instances);
125DECLARE_string(instance_nums);
126DECLARE_string(report_anonymous_usage_stats);
127DECLARE_vec(ril_dns);
129
130DECLARE_vec(start_gnss_proxy);
131
132DECLARE_vec(gnss_file_path);
133
134DECLARE_vec(fixed_location_file_path);
135
136DECLARE_vec(enable_modem_simulator);
137DECLARE_vec(modem_simulator_sim_type);
138
139DECLARE_vec(console);
140
141DECLARE_vec(enable_kernel_log);
142
143DECLARE_vec(vhost_net);
144
145DECLARE_vec(vhost_user_vsock);
146
147DECLARE_string(vhost_user_mac80211_hwsim);
148DECLARE_string(wmediumd_config);
149
150DECLARE_string(ap_rootfs_image);
151DECLARE_string(ap_kernel_image);
152
153DECLARE_vec(record_screen);
154
156
157DECLARE_vec(vsock_guest_cid);
158
159DECLARE_vec(vsock_guest_group);
160
161DECLARE_string(secure_hals);
162
163DECLARE_vec(use_sdcard);
164
165DECLARE_vec(protected_vm);
166
168
169DECLARE_vec(enable_audio);
170
171DECLARE_vec(enable_jcard_simulator);
172
173DECLARE_vec(enable_usb);
174
175DECLARE_vec(camera_server_port);
176
177DECLARE_vec(userdata_format);
178
179DECLARE_bool(use_overlay);
180
181DECLARE_vec(modem_simulator_count);
182
183DECLARE_bool(track_host_tools_crc);
184
185DECLARE_vec(crosvm_use_balloon);
186
187DECLARE_vec(crosvm_use_rng);
188
189DECLARE_vec(crosvm_simple_media_device);
190
191DECLARE_vec(crosvm_v4l2_proxy);
192
193DECLARE_vec(use_pmem);
194
195DECLARE_bool(enable_wifi);
196
197DECLARE_vec(device_external_network);
198
199DECLARE_bool(snapshot_compatible);
200
201DECLARE_string(straced_host_executables);
202
203DECLARE_vec(fail_fast);
204
205DECLARE_vec(vhost_user_block);
206
207DECLARE_string(early_tmp_dir);
208
209DECLARE_vec(enable_tap_devices);
210
211DECLARE_vec(vcpu_config_path);
212
214
215DECLARE_string(vhost_vsock_path);
216
217DECLARE_string(assembly_dir);
218DECLARE_string(instance_dir);
219DECLARE_string(snapshot_path);
221
222DECLARE_string(vbmeta_image);
223DECLARE_string(vbmeta_system_image);
224DECLARE_string(vbmeta_vendor_dlkm_image);
225DECLARE_string(vbmeta_system_dlkm_image);
226DECLARE_string(default_vvmtruststore_file_name);
227DECLARE_string(vvmtruststore_path);
228
229DECLARE_string(default_target_zip);
230DECLARE_string(system_target_zip);
231
232DECLARE_string(linux_kernel_path);
233DECLARE_string(linux_initramfs_path);
234DECLARE_string(linux_root_image);
235
236DECLARE_string(chromeos_disk);
237DECLARE_string(chromeos_kernel_path);
238DECLARE_string(chromeos_root_image);
239
240DECLARE_string(fuchsia_zedboot_path);
241DECLARE_string(fuchsia_multiboot_bin_path);
242DECLARE_string(fuchsia_root_image);
243
244DECLARE_string(custom_partition_path);
245
246DECLARE_string(blank_sdcard_image_mb);
DECLARE_bool(enable_host_bluetooth)
#define DECLARE_vec
Definition: assemble_cvd_flags.h:21
DECLARE_string(display0)
DECLARE_int32(rootcanal_instance_num)