Hi Chris,

thanks for the pointer! Didn't look at the "Gaia Hacking" section there.

I tried rebuilding with the flags set, but the build that resulted still
had all dev apps and such. So I'm guessing that the build system didn't
properly take into account the changed PRODUCTION variable and didn't
rebuild certain stuff.

Then I tried to clean the git tree. Is there a preferred way of doing
this? I wrote a script that went into every subrepo and did a "git clean
-fdx" -- is this the supposed way of doing it? Because I think I broke
my tree by doing this (build failed afterwards).

Maybe I should have tried running ./config.sh again, but unfortunately I
was too quick with the rm -fr so I'm checking out everything again now.
Is there a standard way of cleaning the tree to a before-build state?

Cheers,
Johannes


On 10.06.2014 07:46, Chris Mills wrote:
> There are various Gaia make options that control such things:
> 
> https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Hacking#Make_options
> 
> If you make a different Gaia profile and then reflash it to your phone, you 
> should be able to get rid of the test apps (PRODUCTION=1 make does it, I 
> think.)
> 
> Chris Mills
>    Senior tech writer || Mozilla
> developer.mozilla.org || MDN
>    [email protected] || @chrisdavidmills
> 


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to