aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/cuttlefish.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/build: use the build environment in clean() callsFlorent Revest2024-10-141-3/+3
| | | | | | This unifies the build() and clean() interfaces such that if a custom compiler or make binary is provided in the manager or bisection config, they can be taken into account by the clean() interface.
* pkg/build/cuttlefish: copy module objectsLiz Prucka2024-09-141-0/+3
| | | | | Copy Cuttlefish module objects to be used in coverage report generation.
* build/cuttlefish: revert input config supportLiz Prucka2024-03-121-41/+1
| | | | | | | | | Supporting configs from syz-kconf has increased complexity in reproducing builds, and not caused any quantifiable increase in fuzzing efficacy or crashes. Reverting the Cuttlefish build to use upstream build commands to increase ease in reproduction.
* all: use special placeholder for errorsTaras Madan2023-07-241-7/+7
|
* build/cuttlefish: build from config fileLiz Prucka2023-06-291-2/+42
| | | | | | | | | | Android Bazel requires an input 'defconfig' file to build. This is ensured by check_defconfig (https://cs.android.com/android/kernel/superproject/+/common-android-mainline:build/kernel/_setup_env.sh;l=283). Create an input 'defconfig' file from a given config, then build the kernel.
* pkg/build: update .config path for Bazel Cuttlefish buildsLiz Prucka2023-05-161-1/+1
| | | | | | | | | Android13 build .config files for bazel are located in '<tmp_build_dir>/virtual_device_x86_64_config/.config', while Android14 bazel .build config files are located in '<tmp_build_dir>/virtual_device_x86_64_config/out_dir/.config.' Updating the path to account for both cases.
* pkg/build: clean dist directoryLiz Prucka2023-05-081-1/+4
| | | | | Distribution directory ("dist") is not being cleaned in Cuttlefish build. Remove directory during clean.
* pkg/build/cuttlefish: sandbox cuttlefish bazel buildLiz Prucka2023-05-051-0/+3
| | | | | | | Android bazel builds are currently failing due to a failure when running `rsync` from root. Building the kernel from the syzkaller sandbox to circumvent this issue.
* pkg/build: clean Cuttlefish build outputLiz Prucka2023-03-011-0/+4
| | | | | | | | Bazel builds create a new output directory instead of overwriting previous dir. Cleaning the output directory before each build to prevent multiple output directories being stored.
* all: ioutil is deprecated in go1.19 (#3718)Taras Madan2023-02-231-2/+2
|
* pkg/build: rename android.go to cuttlefish.goKris Alder2023-02-131-0/+160
Building images for physical Android devices has different logic and options and should be in separate files. This makes it less ambiguous and frees up android.go for Android device code.