Skip to content

Commit

Permalink
Bug 920198 - Build simulator xpi and enable phone tweaks for b2g-desk…
Browse files Browse the repository at this point in the history
…top r=aki,glandium
  • Loading branch information
ochameau committed Apr 8, 2014
1 parent 4801145 commit f0f375c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
3 changes: 0 additions & 3 deletions b2g/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ installer:

package:
@$(MAKE) -C b2g/installer
ifdef FXOS_SIMULATOR
$(PYTHON) $(srcdir)/b2g/simulator/build_xpi.py $(MOZ_PKG_PLATFORM)
endif

install::
@echo 'B2G can't be installed directly.'
Expand Down
3 changes: 3 additions & 0 deletions b2g/config/mozconfigs/linux32_gecko/nightly
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP

GAIADIR=$topsrcdir/gaia

# Build simulator xpi and phone tweaks for b2g-desktop
FXOS_SIMULATOR=1

. "$topsrcdir/b2g/config/mozconfigs/common.override"
3 changes: 3 additions & 0 deletions b2g/config/mozconfigs/linux64_gecko/nightly
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP

GAIADIR=$topsrcdir/gaia

# Build simulator xpi and phone tweaks for b2g-desktop
FXOS_SIMULATOR=1

. "$topsrcdir/b2g/config/mozconfigs/common.override"
3 changes: 3 additions & 0 deletions b2g/config/mozconfigs/macosx64_gecko/nightly
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP

GAIADIR=$topsrcdir/gaia

# Build simulator xpi and phone tweaks for b2g-desktop
FXOS_SIMULATOR=1

. "$topsrcdir/b2g/config/mozconfigs/common.override"
12 changes: 12 additions & 0 deletions b2g/installer/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,15 @@ endif

GARBAGE += $(MOZ_PKG_MANIFEST)
endif

ifdef FXOS_SIMULATOR
.PHONY: simulator
simulator: make-package
@echo 'Building simulator addon...'
$(PYTHON) $(topsrcdir)/b2g/simulator/build_xpi.py $(MOZ_PKG_PLATFORM)

default:: simulator

# Ensure copying Simulator xpi to ftp
UPLOAD_EXTRA_FILES += fxos-simulator-*-*.xpi
endif

0 comments on commit f0f375c

Please sign in to comment.