summaryrefslogtreecommitdiffstats
path: root/libchrome_tools
diff options
context:
space:
mode:
authorQijiang Fan <fqj@chromium.org>2020-02-17 17:49:12 +0900
committerQijiang Fan <fqj@google.com>2020-02-18 12:12:50 +0000
commit991a472978a91cd467a6895bf47e1e6f8285b00a (patch)
tree43e48adb2294e9190d4b73b3dcb91fbc41c163c0 /libchrome_tools
parente4d2455964300c4402b68432d6a0eef3d7b17a74 (diff)
downloadplatform_external_libchrome-991a472978a91cd467a6895bf47e1e6f8285b00a.tar.gz
platform_external_libchrome-991a472978a91cd467a6895bf47e1e6f8285b00a.tar.bz2
platform_external_libchrome-991a472978a91cd467a6895bf47e1e6f8285b00a.zip
add missing files from same resvision of browser tree
BUILD.gn files are edit with little-effort, so many of the added files are not compiled in. This helps with future uprev. BUG=chromium:1048060 TEST=emerge Change-Id: I32b77ce2e40425a0a45c6672457ac736ca248ccd
Diffstat (limited to 'libchrome_tools')
-rwxr-xr-xlibchrome_tools/files_not_built16
1 files changed, 16 insertions, 0 deletions
diff --git a/libchrome_tools/files_not_built b/libchrome_tools/files_not_built
new file mode 100755
index 000000000..64ad444f6
--- /dev/null
+++ b/libchrome_tools/files_not_built
@@ -0,0 +1,16 @@
+#!/bin/bash
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# List cc files not in BUILD.gn, and not excluded by patterns in BUILD.IGNORE
+# This list can be run by human for sanity check that no imporant things are
+# ignored after each uprev.
+
+cd $(dirname $0)/..
+find . -name '*.cc' \
+ | sed -e 's/^\.\///g' \
+ | xargs -n 1 -P 1 bash -c \
+ 'for i in $(cat BUILD.IGNORE); do grep $i <(echo $0) >/dev/null && exit; done; echo $0' \
+ | xargs -n 1 -P 1 sh -c 'grep $0 BUILD.gn >/dev/null || echo $0'
+