mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
8bedd96002
Interestingly, the test was happening too late in old-configure, and you were more likely to hit other errors first.
18 lines
817 B
Python
18 lines
817 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
@depends(target)
|
|
def check_target(target):
|
|
if target.os != 'Android':
|
|
log.error('You must specify --target=arm-linux-androideabi (or some '
|
|
'other valid Android target) when building mobile/android.')
|
|
die('See https://developer.mozilla.org/docs/Mozilla/Developer_guide/'
|
|
'Build_Instructions/Simple_Firefox_for_Android_build '
|
|
'for more information about the necessary options.')
|
|
|
|
include('../../toolkit/moz.configure')
|
|
include('gradle.configure')
|