Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Android.bp | D | 03-May-2024 | 4.8 KiB | 206 | 194 | |
README.md | D | 03-May-2024 | 967 | 28 | 22 | |
cvd-host-package.go | D | 03-May-2024 | 3.5 KiB | 107 | 71 |
README.md
1## Custom Actions 2 3To add custom actions to the WebRTC control panel, create a custom action config 4JSON file in your virtual device product makefile directory, create a 5`prebuilt_etc_host` module for the JSON file with `sub_dir` 6`cvd_custom_action_config`, then set the build variable 7`SOONG_CONFIG_cvd_custom_action_config` to the name of that module. For example: 8 9``` 10Android.bp: 11 prebuilt_etc_host { 12 name: "my_custom_action_config.json", 13 src: "my_custom_action_config.json", 14 // The sub_dir must always equal the following value: 15 sub_dir: "cvd_custom_action_config", 16 } 17 18my_virtual_device.mk: 19 SOONG_CONFIG_NAMESPACES += cvd 20 SOONG_CONFIG_cvd += custom_action_config 21 SOONG_CONFIG_cvd_custom_action_config := my_custom_action_config.json 22``` 23 24TODO(b/171709037): Add documentation to source.android.com 25 26See https://source.android.com/setup/create/cuttlefish-control-panel for 27detailed information about the format of the config file. 28