summaryrefslogtreecommitdiff
path: root/presubmit.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-05-20minigbm: fix typo in PRESUBMIT.cfgGurchetan Singh1-1/+0
Now clang-format will be run everytime a committer runs repo upload with the --no-verify option. The committer will have to resolve differences, i.e: 1) add clang-format off / clang-format on. 2) change files such that clang-format does not complain. Since our version of clang-format was updated (in the LLVM ebuild), I had to resolve a few conflicts in rockchip.c and tegra.c. BUG=none TEST=none Change-Id: Ia32d3c47243957f2d674f142bda9daf7917aab0b Reviewed-on: https://chromium-review.googlesource.com/506508 Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
2017-03-31minigbm: add clang-format and presubmit hooksGurchetan Singh1-0/+9
Running the presubmit.sh script will apply our rules to every file in the repo. Exclude gbm.h from the formatting requirements since this file was taken from other open-source projects, and diffing will be easier without our formatting rules. In addition, special case drivers where the order of includes matters. BUG=none TEST=Verified the following commands succeed: emerge-cyan minigbm/arc-cros-gralloc emerge-oak minigbm/arc-cros-gralloc emerge-veyron_minnie-cheets minigbm/arc-cros-gralloc emerge-peach_pi minigbm emerge-nyan_big minigbm emerge-jadeite minigbm Change-Id: I6ce93fb1930da254d13d5017766c17341870ccc9 Reviewed-on: https://chromium-review.googlesource.com/447319 Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>