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

Reply via email to