Exemplo n.º 1
0
    def suggest_mobile_android_mozconfig(self):
        import android

        # The SDK path that mozconfig wants includes platforms/android-21.
        sdk_path = os.path.join(self.sdk_path, 'platforms', android.ANDROID_PLATFORM)
        android.suggest_mozconfig(sdk_path=sdk_path,
                                  ndk_path=self.ndk_path)
Exemplo n.º 2
0
 def suggest_mobile_android_mozconfig(self):
     import android
     android.suggest_mozconfig(sdk_path=self.sdk_path,
                               ndk_path=self.ndk_path)
Exemplo n.º 3
0
 def suggest_mobile_android_mozconfig(self, artifact_mode=False):
     import android
     android.suggest_mozconfig(sdk_path=self.sdk_path,
                               ndk_path=self.ndk_path,
                               artifact_mode=artifact_mode)
Exemplo n.º 4
0
 def suggest_homebrew_mobile_android_mozconfig(self):
     import android
     # We could probably fish this path from |brew info android-sdk|.
     sdk_path = '/usr/local/opt/android-sdk/platforms/%s' % android.ANDROID_PLATFORM
     ndk_path = '/usr/local/opt/android-ndk'
     android.suggest_mozconfig(sdk_path=sdk_path, ndk_path=ndk_path)
Exemplo n.º 5
0
 def suggest_homebrew_mobile_android_mozconfig(self, artifact_mode=False):
     import android
     android.suggest_mozconfig('macosx', artifact_mode=artifact_mode)
Exemplo n.º 6
0
 def suggest_macports_mobile_android_mozconfig(self, artifact_mode=False):
     import android
     android.suggest_mozconfig(sdk_path=self.sdk_path,
                               ndk_path=self.ndk_path,
                               artifact_mode=artifact_mode)
Exemplo n.º 7
0
 def suggest_homebrew_mobile_android_mozconfig(self):
     import android
     # We could probably fish this path from |brew info android-sdk|.
     sdk_path = '/usr/local/opt/android-sdk/platforms/%s' % android.ANDROID_PLATFORM
     ndk_path = '/usr/local/opt/android-ndk'
     android.suggest_mozconfig(sdk_path=sdk_path, ndk_path=ndk_path)
Exemplo n.º 8
0
 def suggest_macports_mobile_android_mozconfig(self):
     import android
     android.suggest_mozconfig(sdk_path=self.sdk_path,
                               ndk_path=self.ndk_path)