Skip to contentSkip to conversation

chromium: List all PACKAGECONFIG settings to avoid warning

PATCH Superseded Gary Thomas 2 participants 2 messages Jun 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chromium: List all PACKAGECONFIG settings to avoid warning

OE-core now warns if PACKAGECONFIG is used to set an option that does not have a corresponding PACKAGECONFIG[option]="xxx" line. This recipe makes use of many such options & this patch suppresses those warnings by listing the options.

---
 recipes-browser/chromium/chromium.inc | 8 ++++++++
 1 file changed, 8 insertions(+)
recipes-browser/chromium/chromium.inc +8 -0
index 8e83f6a..611929e 100644
@@ -17,6 +17,14 @@ PACKAGECONFIG ??= "use-egl"
 # automatically and silently fall back to GLX
 PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2"
 
+# Additional PACKAGECONFIG options - listed here to avoid warnings
+PACKAGECONFIG[use-gl] = ""
+PACKAGECONFIG[component-build] = ""
+PACKAGECONFIG[ignore-lost-context] = ""
+PACKAGECONFIG[component-build] = ""
+PACKAGECONFIG[impl-side-painting] = ""
+PACKAGECONFIG[disable-api-keys-info-bar] = ""
+
 GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
 
 do_configure() {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 16 lines · Gary Thomas

OE-core now warns if PACKAGECONFIG is used to set an option that does not have a corresponding PACKAGECONFIG[option]="xxx" line. This recipe makes use of many such options & this patch suppresses those warnings by listing the options.

---
 recipes-browser/chromium/chromium.inc | 8 ++++++++
 1 file changed, 8 insertions(+)
recipes-browser/chromium/chromium.inc +0 -0
index 8e83f6a..611929e 100644
@@ -17,6 +17,14 @@ PACKAGECONFIG ??= "use-egl"
 # automatically and silently fall back to GLX

recipes-browser/chromium/chromium.inc PACKAGECONFIG ??= "use-egl" · line 27

Quoted 10 lines
recipes-browser/chromium/chromium.inc +8 -0
 PACKAGECONFIG[use-egl] = ",,virtual/egl virtual/libgles2"
 
+# Additional PACKAGECONFIG options - listed here to avoid warnings
+PACKAGECONFIG[use-gl] = ""
+PACKAGECONFIG[component-build] = ""
+PACKAGECONFIG[ignore-lost-context] = ""
+PACKAGECONFIG[component-build] = ""
+PACKAGECONFIG[impl-side-painting] = ""
+PACKAGECONFIG[disable-api-keys-info-bar] = ""
+

The "component-build" PACKAGECONFIG is duplicated.

Maybe the list should be sorted too, unless there's a special significance to the current order.

Quoted 11 lines
recipes-browser/chromium/chromium.inc +0 -1
 GYP_DEFINES += "${ARMFPABI} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
 
 do_configure() {
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel