mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
d89b3482b9
This adds a basic StringBundle implementation using shared memory maps, but doesn't yet hook them up to anything. They behave the same as ordinary string bundles, but have the additional restriction that they are permanent for the length of the session, and cannot be removed from the cache. MozReview-Commit-ID: 4juGhhpCWPn --HG-- extra : rebase_source : 3a9e30eeb64482056ad5c5b1fc480cf1e8333691 extra : absorb_source : e38998a347b641d4fd4243a6a1b7365543fee3c4
29 lines
662 B
Python
29 lines
662 B
Python
# -*- 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/.
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIStringBundle.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'intl'
|
|
|
|
UNIFIED_SOURCES += [
|
|
'nsStringBundle.cpp',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/xpcom/ds',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
CXXFLAGS += ['-Wno-error=shadow']
|