mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
26c3b82fb1
This is extremely hacky. It will likely need many refinements as we figure out how we want external projects to be handled.
23 lines
681 B
Python
23 lines
681 B
Python
# 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 = []
|
|
app_libxul_static_dirs = []
|
|
include('/toolkit/toolkit.mozbuild')
|
|
|
|
if CONFIG['MOZ_EXTENSIONS']:
|
|
add_tier_dir('app', 'extensions')
|
|
|
|
add_tier_dir('app', [CONFIG['MOZ_BRANDING_DIRECTORY']])
|
|
|
|
if CONFIG['MOZ_WEBAPP_RUNTIME']:
|
|
add_tier_dir('app', 'webapprt')
|
|
|
|
# Never add tier dirs after browser because they apparently won't get
|
|
# packaged properly on Mac.
|
|
add_tier_dir('app', 'browser')
|
|
|