commit | 7760754a0375625da19075c56f70323b6569e3ad | [log] [tgz] |
---|---|---|
author | Nodir Turakulov <nodir@chromium.org> | Tue Sep 28 06:50:47 2021 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 28 07:01:36 2021 |
tree | f931e86d6198eafb52df9c6d9948787ebfe4576f | |
parent | 347ed67afd15c74cbe707710ec0804ca167cdad1 [diff] |
[dirmd] Use metadata mixins Use the new "mixins" feature in dirmd. Derive mixins from file:// links in OWNERS files. This CL is machine-generated, in two parts. Part 1: use mixins. 1. Save current metadata to JSON files, in ORIGINAL and REDUCED forms. dirmd read -form original > ~/tmp/dirmd/original.json dirmd read -form reduced > ~/tmp/dirmd/reduced.json 2. Run mixins.py. Source code: https://gist.github.com/nodirg/b59d3df338a72a8944f957c5b3a15e22 The script finds related directories, connected by file:// links in OWNERS files. For those directories that have the same base name, e.g. components/autofill chrome/android/java/src/org/chromium/chrome/browser/autofill if importing the "parent" to the "child" reduces metadata, or adds missing metadata, extract the common metadata to COMMON_METADATA and import it in both directories. Part2: deduplicate metadata. Apply same instructions as in https://chromium-review.googlesource.com/c/chromium/src/+/2795985/16 Bug: 1179786 Change-Id: I2e6378004ce433e02f1c9360b09eb72354083bf6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2897943 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Fred Mello <fredmello@chromium.org> Owners-Override: John Abd-El-Malek <jam@chromium.org> Commit-Queue: Nodir Turakulov <nodir@chromium.org> Cr-Commit-Position: refs/heads/main@{#925648} NOKEYCHECK=True GitOrigin-RevId: de11715e63f49274f3fab352f2367699348ba255
This directory contains shared constants and interfaces used for communication between the Chrome Cleanup Tool and Chrome's Safe Browsing service.