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