chrome/moz.build
author Jan de Mooij <jdemooij@mozilla.com>
Thu, 29 Nov 2018 19:08:28 +0000
changeset 448835 6453222232be364fb8ce3fd29b6cbcd480e5f2e3
parent 328300 f1c406b29e039ccc8eff1c115c89ee835959e58d
child 463430 5384779a3b1f8835ebd2fbe16103744111d3896d
permissions -rw-r--r--
Bug 1499644 - Move IC data out of BaselineScript. r=tcampbell ICEntries and the fallback stub space are now stored in ICScript. The ICScript* is stored in TypeScript to not increase sizeof(JSScript). We need this for bug 1499324 but it also lets us greatly simplify the BaselineDebugModeOSR code as this patch shows. Note: some ICScript method definitions are still in BaselineJIT.cpp instead of BaselineIC.cpp to make this patch easier to review. We could move them to BaselineIC.cpp as a follow-up change. Differential Revision: https://phabricator.services.mozilla.com/D11746

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

TEST_DIRS += ['test']

XPIDL_SOURCES += [
    'nsIChromeRegistry.idl',
    'nsIToolkitChromeRegistry.idl',
]

XPIDL_MODULE = 'chrome'

EXPORTS.mozilla.chrome += [
    'RegistryMessageUtils.h',
]

UNIFIED_SOURCES += [
    'nsChromeProtocolHandler.cpp',
    'nsChromeRegistry.cpp',
    'nsChromeRegistryChrome.cpp',
    'nsChromeRegistryContent.cpp',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '!/xpcom',
    '/dom/base',
    '/netwerk/base',
    '/netwerk/protocol/res',
    '/xpcom/components'
]

if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    CXXFLAGS += CONFIG['TK_CFLAGS']

with Files("**"):
    BUG_COMPONENT = ("Toolkit", "Startup and Profile System")