diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-28 18:00:45 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-28 18:00:45 -0500 |
commit | 65b37410ca38005bd6f4c9470c93a49cd12ad368 (patch) | |
tree | c65f22f3ed2fda8b9b3ff36c029020bd1500d946 /build | |
parent | 6a3d5769d01ec1a8dd56ea79aec2df91b801ce02 (diff) | |
download | uxp-65b37410ca38005bd6f4c9470c93a49cd12ad368.tar.gz |
Revert "Issue #190 - Part 1: Remove XP_IOS conditional code"
This reverts commit 6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.
Diffstat (limited to 'build')
-rw-r--r-- | build/moz.configure/init.configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure index 3ee8acfcbd..713b2ce617 100644 --- a/build/moz.configure/init.configure +++ b/build/moz.configure/init.configure @@ -551,6 +551,13 @@ def target_is_darwin(target): set_define('XP_DARWIN', target_is_darwin) @depends(target) +def target_is_ios(target): + if target.kernel == 'Darwin' and target.os == 'iOS': + return True + +set_define('XP_IOS', target_is_ios) + +@depends(target) def target_is_osx(target): if target.kernel == 'Darwin' and target.os == 'OSX': return True |