Closed Bug 1213480 Opened 9 years ago Closed 9 years ago

b2gdroid builds broken after bug 1201206

Categories

(B2GDroid Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fabrice, Assigned: fabrice)

References

Details

Attachments

(1 file)

Archive:  ../../../../mobile/android/base/geckoview_resources.zip
  inflating: /home/fabrice/dev/builds/obj-b2gdroid/mobile/android/b2gdroid/app/geckoview_resources/values/strings.xml  
    (skipping file '.mkdir.done' due to ANDROID_AAPT_IGNORE pattern '.*')
/home/fabrice/dev/builds/obj-b2gdroid/mobile/android/b2gdroid/app/geckoview_resources/values-v21/styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name '@style/ThemeOverlay.AppCompat.ActionBar'.

/home/fabrice/dev/builds/obj-b2gdroid/mobile/android/b2gdroid/app/geckoview_resources/values/themes.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

/home/fabrice/dev/builds/obj-b2gdroid/mobile/android/b2gdroid/app/geckoview_resources/values-v11/themes.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

/home/fabrice/dev/builds/obj-b2gdroid/mobile/android/b2gdroid/app/geckoview_resources/values-v21/themes.xml:11: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
The issue is that b2gdroid needs to include the transitive dependencies for GV; in this case, that means adding appcompat-v7.  Crib the lines from mobile/android/base/{moz.build,Makefile.in} for adding appcompat-v7 and add them to m/a/b2gdroid/app/{moz.build,Makefile.in}.  Should be like support-v4.

Sorry for the fallout.
OS: Linux → Android
Hardware: x86_64 → All
Attached patch geckoview.patchSplinter Review
Also fixing breakage from bug 1173147 that sneaked in around the same time.
Assignee: nobody → fabrice
Attachment #8672169 - Flags: review?(nalexander)
Comment on attachment 8672169 [details] [diff] [review]
geckoview.patch

Review of attachment 8672169 [details] [diff] [review]:
-----------------------------------------------------------------

If it works for you, it works for me!

::: mobile/android/b2gdroid/app/Makefile.in
@@ +30,5 @@
>  ANDROID_EXTRA_JARS += \
>  	$(ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB) \
>  	$(ANDROID_SUPPORT_V4_AAR_LIB) \
>  	$(ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB) \
> +  $(ANDROID_APPCOMPAT_V7_AAR_LIB) \

nit: indentation.  spaces, not tabs.
Attachment #8672169 - Flags: review?(nalexander) → review+
https://hg.mozilla.org/mozilla-central/rev/370e515aa882
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: