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(gpu_context_types);
48DECLARE_vec(guest_hwui_renderer);
49
50DECLARE_vec(guest_renderer_preload);
51
52DECLARE_vec(guest_vulkan_driver);
53
54DECLARE_vec(frames_socket_path);
55
56DECLARE_vec(use_cvdalloc);
57DECLARE_vec(enable_minimal_mode);
58DECLARE_vec(pause_in_bootloader);
59DECLARE_vec(enable_host_bluetooth);
60DECLARE_int32(rootcanal_instance_num);
61DECLARE_string(rootcanal_args);
62DECLARE_bool(enable_host_nfc);
63DECLARE_int32(casimir_instance_num);
64DECLARE_string(casimir_args);
65DECLARE_bool(enable_host_uwb);
66DECLARE_int32(pica_instance_num);
68
69DECLARE_vec(netsim_bt);
70DECLARE_vec(netsim_uwb);
71DECLARE_vec(netsim_nfc);
72DECLARE_vec(netsim_modem);
73DECLARE_string(netsim_args);
74
75DECLARE_bool(enable_automotive_proxy);
76
77DECLARE_vec(enable_vhal_proxy_server);
78DECLARE_int32(vhal_proxy_server_instance_num);
79
85DECLARE_vec(enable_sandbox);
86
87DECLARE_vec(enable_virtiofs);
88
89DECLARE_string(seccomp_policy_dir);
90
91DECLARE_vec(webrtc_assets_dir);
92
93DECLARE_bool(start_webrtc_sig_server);
94
95DECLARE_string(webrtc_sig_server_addr);
96
97DECLARE_vec(tcp_port_range);
98
99DECLARE_vec(udp_port_range);
100
101DECLARE_vec(webrtc_device_id);
102
104
105DECLARE_vec(setupwizard_mode);
106DECLARE_vec(enable_bootanimation);
107
108DECLARE_vec(extra_bootconfig_args_base64);
109
110DECLARE_string(qemu_binary_dir);
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);
125
126DECLARE_vec(gnss_file_path);
127
128DECLARE_vec(fixed_location_file_path);
129
130DECLARE_vec(enable_modem_simulator);
131DECLARE_vec(modem_simulator_sim_type);
132
133DECLARE_vec(console);
134
135DECLARE_vec(enable_kernel_log);
136
137DECLARE_vec(vhost_net);
138
139DECLARE_vec(vhost_user_vsock);
140
141DECLARE_string(vhost_user_mac80211_hwsim);
142DECLARE_string(wmediumd_config);
143
144DECLARE_string(ap_rootfs_image);
145DECLARE_string(ap_kernel_image);
146
147DECLARE_vec(record_screen);
148
150
151DECLARE_vec(vsock_guest_cid);
152
153DECLARE_vec(vsock_guest_group);
154
155DECLARE_string(secure_hals);
156
157DECLARE_vec(use_sdcard);
158
159DECLARE_vec(protected_vm);
160
162
163DECLARE_vec(enable_pkvm);
164
165DECLARE_vec(enable_audio);
166
167DECLARE_vec(enable_jcard_simulator);
168
169DECLARE_vec(enable_usb);
170
171DECLARE_vec(camera_server_port);
172
173DECLARE_vec(userdata_format);
174
175DECLARE_bool(use_overlay);
176
177DECLARE_vec(modem_simulator_count);
178
179DECLARE_bool(track_host_tools_crc);
180
181DECLARE_vec(crosvm_use_balloon);
182
183DECLARE_vec(crosvm_use_rng);
184
185DECLARE_vec(crosvm_simple_media_device);
186
187DECLARE_vec(crosvm_v4l2_proxy);
188
189DECLARE_vec(use_pmem);
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_vec(vhost_user_block);
207
208DECLARE_string(early_tmp_dir);
209
210DECLARE_vec(enable_tap_devices);
211
212DECLARE_vec(vcpu_config_path);
213
215
216DECLARE_string(vhost_vsock_path);
217
218DECLARE_string(assembly_dir);
219DECLARE_string(instance_dir);
220DECLARE_string(snapshot_path);
222
223DECLARE_string(vbmeta_image);
224DECLARE_string(vbmeta_system_image);
225DECLARE_string(vbmeta_vendor_dlkm_image);
226DECLARE_string(vbmeta_system_dlkm_image);
227DECLARE_string(default_vvmtruststore_file_name);
228DECLARE_string(vvmtruststore_path);
229
230DECLARE_string(default_target_zip);
231DECLARE_string(system_target_zip);
232
233DECLARE_string(linux_kernel_path);
234DECLARE_string(linux_initramfs_path);
235DECLARE_string(linux_root_image);
236
237DECLARE_string(chromeos_disk);
238DECLARE_string(chromeos_kernel_path);
239DECLARE_string(chromeos_root_image);
240
241DECLARE_string(fuchsia_zedboot_path);
242DECLARE_string(fuchsia_multiboot_bin_path);
243DECLARE_string(fuchsia_root_image);
244
245DECLARE_string(custom_partition_path);
246
247DECLARE_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)
__u8 uuid[16]
Definition: f2fs_fs.h:28