I tweaked the following page to explain how to build simulator out of mozilla central: https://developer.mozilla.org/en-US/Firefox_OS/Running_custom_builds_in_the_App_Manager#Building_custom_b2g_binary
Please feel free to contribute if something is missing. 2014-12-12 9:19 GMT+01:00 Yusuke YAMAMOTO <[email protected]>: > Thank you, Ryan, > > I've got xpi file to delete unnecessary file-path! > > > export GAIADIR=/Users/jryans/projects/mozilla/gaia > my build option had too many argument. > It was not needed a b2g-profile path. > > thanks! > Yusuke > > On 2014/12/12 12:41 > J. Ryan Stinnett wrote ; > > On Thu, Dec 11, 2014 at 9:26 PM, Yusuke YAMAMOTO < > [email protected]> > > wrote: > > > >>> Oh! That's because you are building Firefox instead of B2G. > >> Ah, that make sense! > >> > >> I tried to build to add 2 opstion[1], but I didn't get xpi file... > >> [1] ac_add_options --enable-application=b2g > >> GAIADIR=/path/to/gaia > >> > >> The dist directory has a b2g-37.0a1.en-US.mac64.dmg file( this is not > xpi > >> file ). > >> That dmg file has inside below files: > >> B2G.app > >> preconplete > >> removed-files > >> > >> my mozconfig file is > >> mk_add_options FXOS_SIMULATOR=1 > >> mk_add_options GAIADIR=/path/to/my/pc's/gaia/profile-b2g > >> ac_add_options --enable-application=b2g > >> > > > > In the past, I've used > > > > export FXOS_SIMULATOR=1 > > export GAIADIR=/Users/jryans/projects/mozilla/gaia > > > > Not sure if "export" vs. "mk_add_options" matters though. > > > > Also, GAIADIR should be the entire repo, not the profile. The XPI build > > will make its own profile. > > > > "mach build && mach package" should then produce the XPI. > > > > - Ryan > > > > > -- > >
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
