1#!/bin/bash 2# Copyright 2020 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# 6# List cc files not in BUILD.gn, and not excluded by patterns in BUILD.IGNORE 7# This list can be run by human for sanity check that no imporant things are 8# ignored after each uprev. 9 10cd $(dirname $0)/.. 11find . -name '*.cc' \ 12 | sed -e 's/^\.\///g' \ 13 | xargs -n 1 -P 1 bash -c \ 14 'for i in $(cat BUILD.IGNORE); do grep $i <(echo $0) >/dev/null && exit; done; echo $0' \ 15 | xargs -n 1 -P 1 sh -c 'grep $0 BUILD.gn >/dev/null || echo $0' 16 17