browser/moz.build
author Nick Fitzgerald <fitzgen@gmail.com>
Thu, 31 Aug 2017 15:59:13 -0700
changeset 378145 a17a6af7ff937f4552d83017153ab6f4d7ffa7e3
parent 376916 f3455c101b7a672cce40ecd64f332d5e6e2d9447
child 391151 44ad5267ace904c837b80ad073f4d744f2202d15
permissions -rw-r--r--
Bug 1277338 - Part 7: Export mozglue when JS_STANDALONE && !jemalloc; r=glandium,sfink This makes sure that: * We don't define `MOZ_GLUE_IN_PROGRAM` so that everything in mozglue gets defined. * `MFBT_API`'s symbol export rules match `JS_PUBLIC_API` and `EXPORT_JS_API`. * We add mozglue to SpiderMonkey's `USE_LIBS` when jemalloc is disabled.

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

CONFIGURE_SUBST_FILES += ['installer/Makefile']

SPHINX_TREES['browser'] = 'docs'

DIRS += [
    'base',
    'components',
    'experiments',
    'fonts',
    'locales',
    'modules',
    'themes',
    'extensions',
]

DIRS += [
    'app',
]

if CONFIG['MAKENSISU']:
    DIRS += ['installer/windows']

TEST_DIRS += [
    'tools/mozscreenshots',
]

DIST_SUBDIR = 'browser'
export('DIST_SUBDIR')

if CONFIG['MOZ_ARTIFACT_BUILDS']:
    # Ensure a pre-built interfaces.xpt installed to the objdir by the artifact
    # code is included by the top-level chrome.manifest.
    EXTRA_COMPONENTS += [
        '../build/prebuilt-interfaces.manifest',
    ]

with Files("**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("Makefile.in"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("*.mk"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("**/moz.build"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("moz.configure"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("app.mozbuild"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("moz.build"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("confvars.sh"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("LICENSE"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("branding/**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("config/**"):
    BUG_COMPONENT = ("Core", "Build Config")

with Files("docs/**"):
    BUG_COMPONENT = ("Toolkit", "Telemetry")

with Files("docs/DirectoryLinksProvider.rst"):
    BUG_COMPONENT = ("Firefox", "New Tab Page")

with Files("fonts/**"):
    BUG_COMPONENT = ("Core", "Graphics: Text")

with Files("installer/**"):
    BUG_COMPONENT = ("Firefox", "Installer")

with Files("tools/**"):
    BUG_COMPONENT = ("Firefox", "General")