From 48a22b76cb83b8cd1599355af3010d6ee6c3fc22 Mon Sep 17 00:00:00 2001
From: Robert Drab <robert.drab@huawei.com>
Date: Mon, 8 Nov 2021 13:13:02 +0100
Subject: [PATCH] gn: Downgrade GN to OpenHarmony compatible revision

OpenHarmony build system relies on the obsolete set_sources_assignment_filter
GN function which was recently dropped.

Signed-off-by: Robert Drab <robert.drab@huawei.com>
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
---
 recipes-devtools/gn/gn_%.bbappend | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-devtools/gn/gn_%.bbappend

diff --git a/recipes-devtools/gn/gn_%.bbappend b/recipes-devtools/gn/gn_%.bbappend
new file mode 100644
index 00000000..2851293d
--- /dev/null
+++ b/recipes-devtools/gn/gn_%.bbappend
@@ -0,0 +1,9 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+# OpenHarmony build system relies on the obsolete set_sources_assignment_filter
+# GN function which was recently dropped, therefore downgrading GN to revision
+# compatible with OpenHarmony
+
+SRCREV:oniro-openharmony-linux = "5da62d5e9d0f10cb8ece7c30563a6a214c78b68d"
-- 
GitLab