summaryrefslogtreecommitdiffstats
path: root/libchrome_tools
diff options
context:
space:
mode:
authorhscham <hscham@google.com>2020-03-05 16:26:17 +0900
committerhscham <hscham@google.com>2020-03-12 17:15:10 +0900
commit8cb08133c577a7f6b796fa3eae5e5950b4e59b3f (patch)
tree8187157a0ee29616fe42ccd79294bf427f9c920e /libchrome_tools
parentc8fd3f4f41b92dcef022b93fbf609f2b0f19268d (diff)
downloadplatform_external_libchrome-8cb08133c577a7f6b796fa3eae5e5950b4e59b3f.tar.gz
platform_external_libchrome-8cb08133c577a7f6b796fa3eae5e5950b4e59b3f.tar.bz2
platform_external_libchrome-8cb08133c577a7f6b796fa3eae5e5950b4e59b3f.zip
add missing files from same resvision of browser treeandroid-r-preview-4android-r-preview-3android-r-preview-2
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: Presubmit Change-Id: I32b77ce2e40425a0a45c6672457ac736ca248ccd (cherry picked from commit 991a472978a91cd467a6895bf47e1e6f8285b00a)
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'
+