mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1204260 - Post: remove platforms/android-* from |mach bootstrap|. r=glandium
This commit is contained in:
parent
fd327d6ecb
commit
f85972a10e
@ -23,8 +23,6 @@ ANDROID_PACKAGES = [
|
||||
'platform-tools',
|
||||
'build-tools-%s' % ANDROID_BUILD_TOOLS_VERSION,
|
||||
ANDROID_PLATFORM,
|
||||
'extra-android-support',
|
||||
'extra-google-google_play_services',
|
||||
'extra-google-m2repository',
|
||||
'extra-android-m2repository',
|
||||
]
|
||||
|
@ -144,10 +144,7 @@ class DebianBootstrapper(BaseBootstrapper):
|
||||
|
||||
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,
|
||||
android.suggest_mozconfig(sdk_path=self.sdk_path,
|
||||
ndk_path=self.ndk_path)
|
||||
|
||||
def _update_package_manager(self):
|
||||
|
@ -355,7 +355,7 @@ class OSXBootstrapper(BaseBootstrapper):
|
||||
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
|
||||
sdk_path = '/usr/local/opt/android-sdk'
|
||||
ndk_path = '/usr/local/opt/android-ndk'
|
||||
android.suggest_mozconfig(sdk_path=sdk_path, ndk_path=ndk_path)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user