Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create packaged emulator compatible with mach. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brendandahl
Copy link

Creates/copies all the necessary files and folders need for a packaged
emulator to work with mach's un-packaging script and emulator starting
script.

@brendandahl
Copy link
Author

Can be run with with something like ANDROID_AVD_HOME=/home/bdahl/.mozbuild/android-device/avd /home/bdahl/.mozbuild/android-sdk-linux/emulator/emulator -avd test-1 -gpu on -verbose -show-kernel -ranchu -writable-system -selinux permissive -feature GrallocSync,LogcatPipe,GLAsyncSwap,GLESDynamicVersion,GLDMA,EncryptUserData,IntelPerformanceMonitoringUnit,Wifi,HostComposition,DynamicPartition -memory 3072 -cores 4

@brendandahl brendandahl changed the title Create packaged emulator compatible with mach. WIP: Create packaged emulator compatible with mach. May 26, 2020
@gabrielesvelto
Copy link

BTW this is working fine with my TaskCluster builds.

scripts/package-emulator.sh Outdated Show resolved Hide resolved
Creates/copies all the necessary files and folders need for a packaged
emulator to work with mach's un-packaging script and emulator starting
script.
@brendandahl brendandahl changed the title WIP: Create packaged emulator compatible with mach. Create packaged emulator compatible with mach. Jun 11, 2020
@brendandahl
Copy link
Author

@seinlin can we get this merged in? Alternatively, if you don't want us to change package-emulator.sh, I could create a new shell script just for creating mach compatible packages e.g. package-emulator-for-gecko.sh or something.

@gabrielesvelto
Copy link

BTW I've got a slightly tweaked version that uses zstd for compression: https://github.com/gabrielesvelto/B2G/blob/kaios-emulator-x86_64/scripts/package-emulator.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants