xref: /aosp_15_r20/external/angle/build/args/headless.gn (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker# GN args template for the Headless Chrome library
2*8975f5c5SAndroid Build Coastguard Worker#
3*8975f5c5SAndroid Build Coastguard Worker# Add import to arg.gn in out directory and run gn gen on the directory to use.
4*8975f5c5SAndroid Build Coastguard Worker# E.g. for out directory out/foo:
5*8975f5c5SAndroid Build Coastguard Worker# echo 'import("//build/args/headless.gn")' > out/foo/args.gn
6*8975f5c5SAndroid Build Coastguard Worker# gn gen out/foo
7*8975f5c5SAndroid Build Coastguard Worker#
8*8975f5c5SAndroid Build Coastguard Worker# Use gn args to add your own build preference args.
9*8975f5c5SAndroid Build Coastguard Worker
10*8975f5c5SAndroid Build Coastguard Workeruse_ozone = true
11*8975f5c5SAndroid Build Coastguard Workerozone_auto_platforms = false
12*8975f5c5SAndroid Build Coastguard Workerozone_platform = "headless"
13*8975f5c5SAndroid Build Coastguard Workerozone_platform_headless = true
14*8975f5c5SAndroid Build Coastguard Workerangle_enable_vulkan = true
15*8975f5c5SAndroid Build Coastguard Workerangle_enable_swiftshader = true
16*8975f5c5SAndroid Build Coastguard Worker
17*8975f5c5SAndroid Build Coastguard Worker# Embed resource.pak into binary to simplify deployment.
18*8975f5c5SAndroid Build Coastguard Workerheadless_use_embedded_resources = true
19*8975f5c5SAndroid Build Coastguard Worker
20*8975f5c5SAndroid Build Coastguard Worker# Disable headless commands support.
21*8975f5c5SAndroid Build Coastguard Workerheadless_enable_commands = false
22*8975f5c5SAndroid Build Coastguard Worker
23*8975f5c5SAndroid Build Coastguard Worker# Don't use Prefs component, disabling access to Local State prefs.
24*8975f5c5SAndroid Build Coastguard Workerheadless_use_prefs = false
25*8975f5c5SAndroid Build Coastguard Worker
26*8975f5c5SAndroid Build Coastguard Worker# Don't use Policy component, disabling all policies.
27*8975f5c5SAndroid Build Coastguard Workerheadless_use_policy = false
28*8975f5c5SAndroid Build Coastguard Worker
29*8975f5c5SAndroid Build Coastguard Worker# Remove a dependency on a system fontconfig library.
30*8975f5c5SAndroid Build Coastguard Workeruse_bundled_fontconfig = true
31*8975f5c5SAndroid Build Coastguard Worker
32*8975f5c5SAndroid Build Coastguard Worker# In order to simplify deployment we build ICU data file
33*8975f5c5SAndroid Build Coastguard Worker# into binary.
34*8975f5c5SAndroid Build Coastguard Workericu_use_data_file = false
35*8975f5c5SAndroid Build Coastguard Worker
36*8975f5c5SAndroid Build Coastguard Worker# Use embedded data instead external files for headless in order
37*8975f5c5SAndroid Build Coastguard Worker# to simplify deployment.
38*8975f5c5SAndroid Build Coastguard Workerv8_use_external_startup_data = false
39*8975f5c5SAndroid Build Coastguard Worker
40*8975f5c5SAndroid Build Coastguard Workeruse_alsa = false
41*8975f5c5SAndroid Build Coastguard Workeruse_bluez = false
42*8975f5c5SAndroid Build Coastguard Workeruse_cups = false
43*8975f5c5SAndroid Build Coastguard Workeruse_dbus = false
44*8975f5c5SAndroid Build Coastguard Workeruse_gio = false
45*8975f5c5SAndroid Build Coastguard Workeruse_kerberos = false
46*8975f5c5SAndroid Build Coastguard Workeruse_libpci = false
47*8975f5c5SAndroid Build Coastguard Workeruse_pulseaudio = false
48*8975f5c5SAndroid Build Coastguard Workeruse_udev = false
49*8975f5c5SAndroid Build Coastguard Workerrtc_use_pipewire = false
50*8975f5c5SAndroid Build Coastguard Workerv8_enable_lazy_source_positions = false
51*8975f5c5SAndroid Build Coastguard Workeruse_glib = false
52*8975f5c5SAndroid Build Coastguard Workeruse_gtk = false
53*8975f5c5SAndroid Build Coastguard Workeruse_pangocairo = false
54