mozglue/moz.build
author Gerald Squelart <gsquelart@mozilla.com>
Tue, 04 Jun 2019 06:52:41 +0000
changeset 536385 0689c1b8f4f7775386fcd474adf60789ca297e84
parent 436724 84946a59ea8a5fae6d77053c5dc8b94ecf2e16e2
child 536397 4494c0e5d35d3b297842c45d11dcc8f02c210944
permissions -rw-r--r--
Bug 1492121 - MOZ_BASE_PROFILER may be defined in BaseProfiler.h to enable Base Profiler - r=njn Added baseprofiler to mozglue/moz.build, so it will be built. However all cpp files are dependent on `MOZ_BASE_PROFILER`, which is currently not #defined by default (in public/BaseProfiler.h). Differential Revision: https://phabricator.services.mozilla.com/D33258

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

with Files("**"):
    BUG_COMPONENT = ("Core", "mozglue")

if CONFIG['MOZ_LINKER']:
    DIRS += ['linker']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    DIRS += ['android']

DIRS += [
  'baseprofiler',
  'build',
  'misc',
]

if CONFIG['MOZ_WIDGET_TOOLKIT']:
    TEST_DIRS += ['tests']