From f35b3ed30cc0428bb5e8554f2cc2057282537794 Mon Sep 17 00:00:00 2001 From: Harry Cutts Date: Mon, 4 Dec 2023 16:11:10 +0000 Subject: Rename METADATA.android file to just METADATA We originally named it this way because ChromeOS also has METADATA files that look similar but have a slightly different format, so we wanted to avoid merge conflicts or confusion if the Gestures library acquired one in the future. However, the Android compliance tooling doesn't consistently support METADATA.android files, leading to the compliance linter missing problems with uprev CLs (causing a lot of build breakages in one instance, see b/296123023). Since it's not a documented feature, the compliance team aren't inclined to support it unless it gains some kind of critical mass (b/296989944). A ChromeOS code search [0] reveals only two instances of repositories that have METADATA files and aren't third-party imports of some kind, so it seems unlikely that one would be added to the Gestures library. Even if it was, I don't think the merge conflicts would be too troublesome, so let's just rename the file to the Android standard. [0]: https://source.chromium.org/search?q=f:%5CbMETADATA%5Cb%20-f:%5Esrc%2Faosp%20case:yes%20-f:third_party&ss=chromiumos Bug: 296989944 Test: Treehugger Change-Id: Iab4458b147ea2f6364f2e969d9cb0b911fcef078 --- METADATA | 12 ++++++++++++ METADATA.android | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 METADATA delete mode 100644 METADATA.android diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..9f26ca1 --- /dev/null +++ b/METADATA @@ -0,0 +1,12 @@ +name: "libchrome-gestures" +description: "ChromeOS touchpad gestures library. Upstream is the source of truth, please contribute CLs there first." + +third_party { + url { + type: GIT + value: "https://chromium.googlesource.com/chromiumos/platform/gestures/" + } + version: "d2ec17e2817001e97841fbab6da708a4183da4e1" + last_upgrade_date { year: 2023 month: 12 day: 4 } + license_type: NOTICE +} diff --git a/METADATA.android b/METADATA.android deleted file mode 100644 index 9f26ca1..0000000 --- a/METADATA.android +++ /dev/null @@ -1,12 +0,0 @@ -name: "libchrome-gestures" -description: "ChromeOS touchpad gestures library. Upstream is the source of truth, please contribute CLs there first." - -third_party { - url { - type: GIT - value: "https://chromium.googlesource.com/chromiumos/platform/gestures/" - } - version: "d2ec17e2817001e97841fbab6da708a4183da4e1" - last_upgrade_date { year: 2023 month: 12 day: 4 } - license_type: NOTICE -} -- cgit v1.2.3