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(gdb_port);
24
25// TODO(b/192495477): combine these into a single repeatable '--display' flag
26// when assemble_cvd switches to using the new flag parsing library.
31
32// TODO(b/171305898): mark these as deprecated after multi-display is fully
33// enabled.
37DECLARE_string(refresh_rate_hz);
39DECLARE_string(extra_bootconfig_args);
40DECLARE_vec(serial_number);
41DECLARE_vec(use_random_serial);
42DECLARE_vec(gpu_vhost_user_mode);
43DECLARE_vec(hwcomposer);
44DECLARE_vec(gpu_capture_binary);
45DECLARE_vec(enable_gpu_udmabuf);
46DECLARE_vec(gpu_renderer_features);
47DECLARE_vec(guest_hwui_renderer);
48
49DECLARE_vec(guest_renderer_preload);
50
51DECLARE_vec(guest_vulkan_driver);
52
53DECLARE_vec(frames_socket_path);
54
55DECLARE_vec(use_cvdalloc);
56DECLARE_vec(enable_minimal_mode);
57DECLARE_vec(pause_in_bootloader);
58DECLARE_vec(enable_host_bluetooth);
59DECLARE_int32(rootcanal_instance_num);
60DECLARE_string(rootcanal_args);
61DECLARE_bool(enable_host_nfc);
62DECLARE_int32(casimir_instance_num);
63DECLARE_string(casimir_args);
64DECLARE_bool(enable_host_uwb);
65DECLARE_int32(pica_instance_num);
67
68DECLARE_vec(netsim_uwb);
69DECLARE_vec(netsim_nfc);
70DECLARE_vec(netsim_modem);
71DECLARE_string(netsim_args);
72
73DECLARE_bool(enable_automotive_proxy);
74
75DECLARE_vec(enable_vhal_proxy_server);
76DECLARE_vec(enable_car_audiocontrol_proxy);
77DECLARE_int32(vhal_proxy_server_instance_num);
78
84DECLARE_vec(enable_sandbox);
85
86DECLARE_vec(enable_virtiofs);
87
88DECLARE_string(seccomp_policy_dir);
89
90DECLARE_vec(webrtc_assets_dir);
91
92DECLARE_bool(start_webrtc_sig_server);
93
94DECLARE_string(webrtc_sig_server_addr);
95
96DECLARE_vec(tcp_port_range);
97
98DECLARE_vec(udp_port_range);
99
100DECLARE_vec(webrtc_frame_repeat_interval_ms);
101
102DECLARE_vec(webrtc_device_id);
103
105
106DECLARE_vec(setupwizard_mode);
107DECLARE_vec(enable_bootanimation);
108
109DECLARE_vec(extra_bootconfig_args_base64);
110
111DECLARE_string(crosvm_binary);
112DECLARE_vec(gem5_binary_dir);
113DECLARE_vec(gem5_checkpoint_dir);
114DECLARE_vec(gem5_debug_file);
115DECLARE_string(gem5_debug_flags);
116
117DECLARE_vec(boot_slot);
118DECLARE_int32(num_instances);
119DECLARE_string(instance_nums);
120DECLARE_string(report_anonymous_usage_stats);
121DECLARE_vec(ril_dns);
123
124DECLARE_vec(start_gnss_proxy);
125DECLARE_vec(start_webrtc);
126
127DECLARE_vec(gnss_file_path);
128
129DECLARE_vec(fixed_location_file_path);
130
131DECLARE_vec(enable_modem_simulator);
132DECLARE_vec(modem_simulator_sim_type);
133
134DECLARE_vec(console);
135
136DECLARE_vec(enable_kernel_log);
137
138DECLARE_vec(vhost_net);
139
140DECLARE_vec(vhost_user_vsock);
141
142DECLARE_string(vhost_user_mac80211_hwsim);
143DECLARE_string(wmediumd_config);
144
145DECLARE_string(ap_rootfs_image);
146DECLARE_string(ap_kernel_image);
147
148DECLARE_vec(record_screen);
149
151
152DECLARE_vec(vsock_guest_cid);
153
154DECLARE_vec(vsock_guest_group);
155
156DECLARE_string(secure_hals);
157
158DECLARE_vec(use_sdcard);
159
160DECLARE_vec(protected_vm);
161
163
164DECLARE_vec(enable_pkvm);
165
166DECLARE_vec(enable_audio);
167
168DECLARE_vec(enable_jcard_simulator);
169
170DECLARE_vec(enable_usb);
171
172DECLARE_vec(camera_server_port);
173
174DECLARE_vec(userdata_format);
175
176DECLARE_bool(use_overlay);
177
178DECLARE_vec(modem_simulator_count);
179
180DECLARE_bool(track_host_tools_crc);
181
182DECLARE_vec(crosvm_use_balloon);
183
184DECLARE_vec(crosvm_use_rng);
185
186DECLARE_vec(use_pmem);
187DECLARE_vec(enable_display_server);
188
189DECLARE_vec(crosvm_hugepages);
190
191DECLARE_vec(crosvm_acpi_table);
192DECLARE_vec(crosvm_device_tree_overlay);
193DECLARE_vec(crosvm_file_backed_mapping);
194DECLARE_vec(crosvm_file_backed_mapping_base64);
195
196DECLARE_vec(enable_wifi);
197
198DECLARE_vec(device_external_network);
199
200DECLARE_bool(snapshot_compatible);
201
202DECLARE_string(straced_host_executables);
203
204DECLARE_vec(fail_fast);
205
206DECLARE_string(early_tmp_dir);
207
208DECLARE_vec(enable_tap_devices);
209
210DECLARE_vec(vcpu_config_path);
211
213
214DECLARE_string(vhost_vsock_path);
215
216DECLARE_string(assembly_dir);
217DECLARE_string(instance_dir);
218DECLARE_string(snapshot_path);
220
221DECLARE_string(vbmeta_image);
222DECLARE_string(vbmeta_system_image);
223DECLARE_string(vbmeta_vendor_dlkm_image);
224DECLARE_string(vbmeta_system_dlkm_image);
225DECLARE_string(default_vvmtruststore_file_name);
226DECLARE_string(vvmtruststore_path);
227
228DECLARE_string(default_target_zip);
229DECLARE_string(system_target_zip);
230
231DECLARE_string(linux_kernel_path);
232DECLARE_string(linux_initramfs_path);
233DECLARE_string(linux_root_image);
234
235DECLARE_string(chromeos_disk);
236DECLARE_string(chromeos_kernel_path);
237DECLARE_string(chromeos_root_image);
238
239DECLARE_string(fuchsia_zedboot_path);
240DECLARE_string(fuchsia_multiboot_bin_path);
241DECLARE_string(fuchsia_root_image);
242
243DECLARE_string(custom_partition_path);
244
245DECLARE_string(blank_sdcard_image_mb);
#define DECLARE_vec
Definition: assemble_cvd_flags.h:21
DECLARE_string(display0)
DECLARE_int32(rootcanal_instance_num)
DECLARE_bool(enable_host_nfc)