gecko/xpcom/moz.build
Nicholas Nethercote 9352570917 Bug 1248534 (part 1) - Remove XPT encoding support. r=khuey.
Currently XPT can both encode and decode, but encoding has been handled by
Python code since bug 643817, so the encoding support can be removed. This
results in many simplifications. Some notable changes:

- All the XPTHashTable code (including XPTDatapool::offset_map) is no longer
  necessary.

- PrimitiveTest.cpp and SimpleTypeLib.cpp both don't make much sense without
  encoding support, so I removed them.

- A lot of the version code was already unused, e.g. XPT_VERSION_*,
  XPT_TYPELIB_VERSIONS_STRUCT, XPT_TYPELIB_VERSIONS.
  XPT_MAJOR_INCOMPATIBLE_VERSION is the only thing actually used in version
  checks.

- The patch also removes some code that was dead even before encoding removal,
  such as XPT_ParseVersionString().
2016-02-16 19:02:51 +11:00

47 lines
946 B
Python

# -*- Mode: python; c-basic-offset: 4; 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', 'XPCOM')
DIRS += [
'idl-parser/xpidl',
]
DIRS += [
'typelib',
'string',
'glue',
'base',
'ds',
'io',
'components',
'threads',
'reflect',
'system',
'../chrome',
'build',
'libxpcomrt',
]
if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEBUG']:
DIRS += ['windbgdlg']
TEST_DIRS += [
'tests',
]
# Can't build internal xptcall tests that use symbols which are not exported.
#TEST_DIRS += [
# 'reflect/xptinfo/tests',
# 'reflect/xptcall/tests,
#]
CONFIGURE_DEFINE_FILES += [
'xpcom-config.h',
'xpcom-private.h',
]