Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Android.bp | D | 03-May-2024 | 5.8 KiB | 253 | 237 | |
README.md | D | 03-May-2024 | 979 | 29 | 22 | |
cvd-host-package.go | D | 03-May-2024 | 3.8 KiB | 113 | 77 |
README.md
1## Custom Actions 2 3To add custom actions to the WebRTC control panel: 4 5* Create a custom action config JSON file in your virtual device product 6 makefile directory. 7* Create a `prebuilt_etc_host` module for the JSON file with `sub_dir` 8 `cvd_custom_action_config` 9* Set the Soong config variable `custom_action_config` in the `cvd` namespace 10 to the name of that module. For example: 11 12 ``` 13 Android.bp: 14 prebuilt_etc_host { 15 name: "my_custom_action_config.json", 16 src: "my_custom_action_config.json", 17 // The sub_dir must always equal the following value: 18 sub_dir: "cvd_custom_action_config", 19 } 20 21 my_virtual_device.mk: 22 $(call soong_config_set, cvd, custom_action_config, my_custom_action_config.json) 23 ``` 24 25TODO(b/171709037): Add documentation to source.android.com 26 27See https://source.android.com/setup/create/cuttlefish-control-panel for 28detailed information about the format of the config file. 29