mobile/xul/app.mozbuild
author Gregory Szorc <gps@mozilla.com>
Thu, 28 Feb 2013 12:56:40 +0100
changeset 123345 614fb1e40f6cfb10344d5d0ea6e76032cf2db017
parent 123320 5cb8bcab09cc4d9aac938794fd09ae5ccc4fcf09
permissions -rw-r--r--
Bug 784841 - Part 20: Fixes to support building external projects; r=glandium This is extremely hacky. It will likely need many refinements as we figure out how we want external projects to be handled.

# 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/.

if not CONFIG['LIBXUL_SDK']:
    app_libxul_dirs = ['mobile/xul/components/build']
    app_libxul_static_dirs = []
    include('/toolkit/toolkit.mozbuild')

elif CONFIG['ENABLE_TESTS']:
    add_tier_dir('testharness', 'testing/mochitest')

if CONFIG['MOZ_EXTENSIONS']:
    add_tier_dir('app', 'extensions')

add_tier_dir('app', CONFIG['MOZ_BRANDING_DIRECTORY'])
add_tier_dir('app', 'mobile/xul')