のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

Geckoのコンパイルオプションの確認方法

 $ cd B2G
 $ export B2G_NOOPT=1; export B2G_DEBUG=1; source ./setup.sh
 $ export MOZ_OBJDIR=$GECKO_OBJDIR
 $ env | grep MOZ_
 MOZ_OBJDIR=/home/m_fujii/B2G_nexus/B2G/gecko/objdir-gonk-debug
 $ cd gecko
 $ script debug_opt.log
 $ make -f client.mk
$ env | grep B2G
ARM_EABI_TOOLCHAIN=/home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin
ANDROID_PRE_BUILD_PATHS=/home/m_fujii/B2G_nexus/B2G/build/fake-jdk-tools/bin:
ANDROID_BUILD_TOP=/home/m_fujii/B2G_nexus/B2G
ANDROID_PRODUCT_OUT=/home/m_fujii/B2G_nexus/B2G/out/target/product/maguro
ANDROID_JAVA_TOOLCHAIN=/home/m_fujii/B2G_nexus/B2G/build/fake-jdk-tools/bin
ANDROID_EABI_TOOLCHAIN=/home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin
ANDROID_HOST_OUT=/home/m_fujii/B2G_nexus/B2G/out/host/linux-x86
ANDROID_QTOOLS=/home/m_fujii/B2G_nexus/B2G/development/emulator/qtools
ANDROID_TOOLCHAIN=/home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin
ANDROID_BUILD_PATHS=:
 /home/m_fujii/B2G_nexus/B2G/out/host/linux-x86/bin:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin:
 /home/m_fujii/B2G_nexus/B2G/development/emulator/qtools:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin

JAVA_HOME=/home/m_fujii/B2G_nexus/B2G/build/fake-jdk-tools

PATH=
 /home/m_fujii/B2G_nexus/B2G/build/fake-jdk-tools/bin:
 /home/m_fujii/bin:
 /home/m_fujii/bin:
 /usr/lib/lightdm/lightdm:
 /usr/local/sbin:
 /usr/local/bin:
 /usr/sbin:
 /usr/bin:/sbin:
 /bin:/usr/games:
 /home/m_fujii/android-sdk/platform-tools:
 /home/m_fujii/android-sdk/tools:
 /home/m_fujii/eclipse:
 /home/m_fujii/android-ndk-r8b:
 /home/m_fujii/B2G_nexus/B2G/out/host/linux-x86/bin:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin:
 /home/m_fujii/B2G_nexus/B2G/development/emulator/qtools:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin:
 /home/m_fujii/B2G_nexus/B2G/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin

OUT=/home/m_fujii/B2G_nexus/B2G/out/target/product/maguro

GECKO_OBJDIR=/home/m_fujii/B2G_nexus/B2G/gecko/objdir-gonk-debug
GECKO_PATH=/home/m_fujii/B2G_nexus/B2G/gecko

B2G_DEBUG=1
B2G_NOOPT=1