diff --git a/b2g/Makefile.in b/b2g/Makefile.in index 7d17e123e1bd..2baea208641b 100644 --- a/b2g/Makefile.in +++ b/b2g/Makefile.in @@ -15,6 +15,10 @@ ifeq ($(OS_ARCH),WINNT) DIRS += $(DEPTH)/xulrunner/tools/redit endif +ifneq ($(GAIADIR),) +DIRS += gaia +endif + DIRS += app include $(topsrcdir)/config/rules.mk diff --git a/b2g/app/Makefile.in b/b2g/app/Makefile.in index c565c0654536..e08be0185beb 100644 --- a/b2g/app/Makefile.in +++ b/b2g/app/Makefile.in @@ -16,7 +16,11 @@ DEFINES += -DENABLE_MARIONETTE=1 endif ifndef LIBXUL_SDK +ifneq ($(GAIADIR),) +PROGRAM=$(MOZ_APP_NAME)-bin$(BIN_SUFFIX) +else PROGRAM=$(MOZ_APP_NAME)$(BIN_SUFFIX) +endif CPPSRCS = nsBrowserApp.cpp diff --git a/b2g/app/macbuild/Contents/Info.plist.in b/b2g/app/macbuild/Contents/Info.plist.in index 3c556a74d904..3a81ba35d0ce 100644 --- a/b2g/app/macbuild/Contents/Info.plist.in +++ b/b2g/app/macbuild/Contents/Info.plist.in @@ -4,75 +4,8 @@ CFBundleDevelopmentRegion English - CFBundleDocumentTypes - - - CFBundleTypeExtensions - - html - htm - shtml - xht - xhtml - - CFBundleTypeIconFile - document.icns - CFBundleTypeName - HTML Document - CFBundleTypeOSTypes - - HTML - - CFBundleTypeRole - Viewer - - - CFBundleTypeExtensions - - text - txt - js - log - css - xul - rdf - - CFBundleTypeIconFile - document.icns - CFBundleTypeName - Text Document - CFBundleTypeOSTypes - - TEXT - utxt - - CFBundleTypeRole - Viewer - - - CFBundleTypeExtensions - - jpeg - jpg - png - gif - - CFBundleTypeIconFile - fileBookmark.icns - CFBundleTypeName - document.icns - CFBundleTypeOSTypes - - GIFf - JPEG - PNGf - - CFBundleTypeRole - Viewer - - CFBundleExecutable - %MOZ_APP_NAME% + b2g CFBundleGetInfoString %APP_NAME% %APP_VERSION% CFBundleIconFile @@ -89,45 +22,6 @@ %APP_VERSION% CFBundleSignature MOZB - CFBundleURLTypes - - - CFBundleURLIconFile - document.icns - CFBundleURLName - http URL - CFBundleURLSchemes - - http - - - - CFBundleURLIconFile - document.icns - CFBundleURLName - https URL - CFBundleURLSchemes - - https - - - - CFBundleURLName - ftp URL - CFBundleURLSchemes - - ftp - - - - CFBundleURLName - file URL - CFBundleURLSchemes - - file - - - CFBundleVersion %APP_VERSION% NSAppleScriptEnabled diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in index 49f9eecd0a75..77ee4288032b 100644 --- a/b2g/installer/package-manifest.in +++ b/b2g/installer/package-manifest.in @@ -701,3 +701,9 @@ bin/components/@DLL_PREFIX@nkgnomevfs@DLL_SUFFIX@ #ifdef XP_MACOSX @BINPATH@/@DLL_PREFIX@plugin_child_interpose@DLL_SUFFIX@ #endif + +#ifdef PACKAGE_GAIA +[gaia] +@BINPATH@/gaia/* +@BINPATH@/b2g-bin@BIN_SUFFIX@ +#endif diff --git a/configure.in b/configure.in index 736193fa43d0..6af5bb25320a 100644 --- a/configure.in +++ b/configure.in @@ -152,6 +152,11 @@ if test -z "$PERL" -o "$PERL" = ":"; then AC_MSG_ERROR([perl not found in \$PATH]) fi +AC_SUBST(GAIADIR) +if test -n "$GAIADIR" ; then + AC_DEFINE(PACKAGE_GAIA) +fi + MOZ_ARG_WITH_STRING(gonk, [ --with-gonk=DIR location of gonk dir],