Closed Bug 1063643 Opened 8 years ago Closed 8 years ago

Allow for building with a limited set of resources

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla35

People

(Reporter: rnewman, Assigned: rnewman)

References

Details

Attachments

(1 file)

Above and beyond Bug 1063109, we'd also like to eliminate xxhdpi and friends, as well as tablet, from a resource-constrained build.

This might simply be down to passing `--preferred-configurations hdpi` to aapt, but we'll see about locale selection.
Awww yeaaaahhhh.

 0:22.23 Applying preferred filter: hdpi
 0:22.23 Pruning unneeded resource: /Users/rnewman/moz/android/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_dark.9.png
 0:22.23 Pruning unneeded resource: /Users/rnewman/moz/android/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_dark.9.png
 0:22.23 Pruning unneeded resource: /Users/rnewman/moz/android/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_dark.9.png
 0:22.23 Pruning unneeded resource: /Users/rnewman/moz/android/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_dark.9.png
 0:22.23 Pruning unneeded resource: /Users/rnewman/moz/android/android-sdk-macosx/extras/google/google_play_services/libproject/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_light.9.png
Blocks: 1063867
This builds, but I haven't verified that the build runs.
Attachment #8485332 - Flags: review?(nalexander)
Blocks: 1063868
Comment on attachment 8485332 [details] [diff] [review]
Allow for building Fennec with a limited set of resources. v1

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

I have no problem with this, but I'd like to see a try build before landing.

::: build/autoconf/android.m4
@@ +412,5 @@
>      fi
>      ;;
>  esac
>  
> +MOZ_ARG_ENABLE_BOOL(android-resource-constrained,

Huh, you learn something every day.
Attachment #8485332 - Flags: review?(nalexander) → review+
https://hg.mozilla.org/mozilla-central/rev/50de49fb57b7
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 35 → mozilla35
You need to log in before you can comment on or make changes to this bug.