moz.build (599B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("GeckoView", "General") 9 10 # We can't include TargetConditionals.h in geckoview-prefs.js, so fake the 11 # TARGET_OS_SIMULATOR define based on config. 12 DEFINES["TARGET_OS_SIMULATOR"] = 1 if CONFIG["IPHONEOS_IS_SIMULATOR"] else 0 13 14 JS_PREFERENCE_PP_FILES += [ 15 "mobile.js", 16 ]