mobile/android/app.mozbuild
author Gregory Szorc <gps@mozilla.com>
Thu, 28 Feb 2013 12:56:40 +0100
changeset 134481 614fb1e40f6cfb10344d5d0ea6e76032cf2db017
parent 134455 93e83b5951dc28384d7e4a31f55686fb46a2f1fc
child 221116 b755c903799edb8caf35a8485d5f8400ee1a6449
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/android/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/android')