| OLD | NEW |
| 1 # GN args template for the Headless Chrome library | 1 # GN args template for the Headless Chrome library |
| 2 # | 2 # |
| 3 # Add import to arg.gn in out directory and run gn gen on the directory to use. | 3 # Add import to arg.gn in out directory and run gn gen on the directory to use. |
| 4 # E.g. for out directory out/foo: | 4 # E.g. for out directory out/foo: |
| 5 # echo 'import("//build/args/headless.gn")' > out/foo/args.gn | 5 # echo 'import("//build/args/headless.gn")' > out/foo/args.gn |
| 6 # gn gen out/foo | 6 # gn gen out/foo |
| 7 # | 7 # |
| 8 # Use gn args to add your own build preference args. | 8 # Use gn args to add your own build preference args. |
| 9 | 9 |
| 10 use_ozone = true | 10 use_ozone = true |
| 11 ozone_auto_platforms = false | 11 ozone_auto_platforms = false |
| 12 ozone_platform = "headless" | 12 ozone_platform = "headless" |
| 13 ozone_platform_headless = true | 13 ozone_platform_headless = true |
| 14 | 14 |
| 15 # Embed resource.pak into binary to simplify deployment. | 15 # Embed resource.pak into binary to simplify deployment. |
| 16 headless_use_embedded_resources = true | 16 headless_use_embedded_resources = true |
| 17 | 17 |
| 18 # Expose headless bindings for freetype library bundled with Chromium. |
| 19 headless_fontconfig_utils = true |
| 20 |
| 18 # In order to simplify deployment we build ICU data file | 21 # In order to simplify deployment we build ICU data file |
| 19 # into binary. | 22 # into binary. |
| 20 icu_use_data_file = false | 23 icu_use_data_file = false |
| 21 | 24 |
| 22 # Use embedded data instead external files for headless in order | 25 # Use embedded data instead external files for headless in order |
| 23 # to simplify deployment. | 26 # to simplify deployment. |
| 24 v8_use_external_startup_data = false | 27 v8_use_external_startup_data = false |
| 25 | 28 |
| 26 enable_nacl = false | 29 enable_nacl = false |
| 27 enable_print_preview = false | 30 enable_print_preview = false |
| 28 enable_remoting = false | 31 enable_remoting = false |
| 29 use_alsa = false | 32 use_alsa = false |
| 30 use_ash = false | 33 use_ash = false |
| 31 use_cups = false | 34 use_cups = false |
| 32 use_dbus = false | 35 use_dbus = false |
| 33 use_gconf = false | 36 use_gconf = false |
| 34 use_gio = false | 37 use_gio = false |
| 35 use_kerberos = false | 38 use_kerberos = false |
| 36 use_libpci = false | 39 use_libpci = false |
| 37 use_pulseaudio = false | 40 use_pulseaudio = false |
| 38 use_udev = false | 41 use_udev = false |
| OLD | NEW |