Skip to content

Instantly share code, notes, and snippets.

@leibovic
Created March 20, 2013 22:31
Show Gist options
  • Save leibovic/5209147 to your computer and use it in GitHub Desktop.
Save leibovic/5209147 to your computer and use it in GitHub Desktop.
SRCDIR=mozilla-central
MOZCONFIG=$(SRCDIR)/.mozconfig-droid
OBJDIR=$(SRCDIR)/obj-android
MAKE=make -s -j8
embedding:
$(MAKE) -C $(OBJDIR)/embedding
mobile:
$(MAKE) -C $(OBJDIR)/mobile/android
storage:
$(MAKE) -C $(OBJDIR)/storage
layout:
$(MAKE) -C $(OBJDIR)/layout
layoutbuild:
$(MAKE) -C $(OBJDIR)/layout/build/
gfx:
$(MAKE) -C $(OBJDIR)/gfx
toolkit:
$(MAKE) -C $(OBJDIR)/toolkit
toolkitcontent:
$(MAKE) -C $(OBJDIR)/toolkit/content
library:
$(MAKE) -C $(OBJDIR)/toolkit/library
extensions:
$(MAKE) -C $(OBJDIR)/toolkit/mozapps/extensions
plugins:
$(MAKE) -C $(OBJDIR)/toolkit/mozapps/plugins
build:
MOZCONFIG=$(MOZCONFIG) $(MAKE) -C $(SRCDIR) -f client.mk
clobber:
rm -rf $(OBJDIR)
package:
$(MAKE) -C $(OBJDIR) package
other:
$(MAKE) -C $(OBJDIR)/other-licenses/android/
widget:
$(MAKE) -C $(OBJDIR)/widget/android/
dom:
$(MAKE) -C $(OBJDIR)/dom/
content:
$(MAKE) -C $(OBJDIR)/content/base/
robocop:
$(MAKE) -C $(OBJDIR)/build/mobile/robocop/
APK=$(OBJDIR)/dist/fennec-*.apk
install:
adb install -r $(APK)
uninstall:
adb uninstall org.mozilla.fennec_leibovic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment