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