gecko-dev/mobile/ios/moz.configure
Nika Layzell 24f8a0432b Bug 1921333 - Part 1: Add MOZ_GECKOVIEW define, and "iOS" platform, r=glandium,geckoview-reviewers,owlish
This adds both a new MOZ_GECKOVIEW define, declared in the new shared
`mobile/shared/moz.configure` file, as well as a new "iOS" platform which is
visible in AppConstants.sys.mjs.

Differential Revision: https://phabricator.services.mozilla.com/D217135
2024-11-01 21:19:20 +00:00

21 lines
668 B
Python

# -*- Mode: python; 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/.
imply_option("MOZ_GECKOVIEW_HISTORY", True)
imply_option("MOZ_APP_VENDOR", "Mozilla")
imply_option("MOZ_APP_ID", "{8e3ba928-3798-4bcd-9b64-c788f2d954d3}")
@depends(target)
def check_target(target):
if target.os != "iOS":
die("Cannot build mobile/ios with a target other than an iOS one")
include("../shared/moz.configure")
include("../../toolkit/moz.configure")