Created
April 17, 2014 13:15
-
-
Save dynamis/10982511 to your computer and use it in GitHub Desktop.
Firefox OS で日本語+英語の gaia をビルドして端末に焼き込むスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# see follwoing pages: | |
# https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Build_System_Primer | |
# https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file | |
# get locale files before use this script: | |
# cd locales | |
# hg clone http://hg.mozilla.org/gaia-l10n/en-US | |
# hg clone http://hg.mozilla.org/gaia-l10n/ja | |
# cd .. | |
export LOCALE_BASEDIR=locales/ | |
export LOCALES_FILE=locales/languages.json | |
export GAIA_DEFAULT_LOCALE=ja | |
#export GAIA_INLINE_LOCALES=1 | |
export B2G_SYSTEM_APPS=1 | |
export PRODUCTION=1 | |
#export CUSTOM_SETTINGS=build/config/custom-settings.json | |
export NOFTU=1 | |
export DEVICE_DEBUG=1 | |
export GAIA_DEVICE_TYPE=phone | |
#make | |
make reset-gaia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment