OSDN Git Service

minigbm: cros_gralloc: map protected flag to linear
[android-x86/external-minigbm.git] / presubmit.sh
1 #!/bin/sh
2 # Copyright 2017 The Chromium OS Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 find \
6         '(' -name '*.[ch]' -or -name '*.cc' ')' \
7         -not -name 'virtgpu_drm.h' \
8         -not -name 'gbm.h' -not -name 'virgl_hw.h' \
9         -not -name 'virgl_protocol.h' \
10         -exec clang-format -style=file -i {} +