flutter-gallery: Add network access workaround 77/27477/3
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 12 May 2022 08:54:48 +0000 (11:54 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 12 May 2022 11:12:58 +0000 (11:12 +0000)
This is a temporary work-around to have a flutter-gallery bbapend until
external/meta-flutter is synced-up to include this fix. It allows
flutter sdk to be able to download whatever dependencies it needs to
build the gallery application.

Bug-AGL: SPEC-4371

Suggested-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I676d5d2f5b8b5977bb7b4d745b94cfb53459ac8e

meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-debug_%.bbappend [new file with mode: 0644]
meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-profile_%.bbappend [new file with mode: 0644]
meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-release_%.bbappend [new file with mode: 0644]
meta-agl-flutter/recipes-graphics/toyota/flutter-gallery_aglflutter.inc [new file with mode: 0644]

diff --git a/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-debug_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-debug_%.bbappend
new file mode 100644 (file)
index 0000000..835e86e
--- /dev/null
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', 'flutter-gallery_aglflutter.inc', '', d)}
diff --git a/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-profile_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-profile_%.bbappend
new file mode 100644 (file)
index 0000000..835e86e
--- /dev/null
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', 'flutter-gallery_aglflutter.inc', '', d)}
diff --git a/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-release_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery-release_%.bbappend
new file mode 100644 (file)
index 0000000..835e86e
--- /dev/null
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', 'flutter-gallery_aglflutter.inc', '', d)}
diff --git a/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery_aglflutter.inc b/meta-agl-flutter/recipes-graphics/toyota/flutter-gallery_aglflutter.inc
new file mode 100644 (file)
index 0000000..ef03af2
--- /dev/null
@@ -0,0 +1 @@
+do_compile[network] = "1"