mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 1097804 - Part 2, Added xpcomrt build of library containing unicode util functions. r=gps
Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC
This commit is contained in:
parent
276ce99ef7
commit
68c75be71a
@ -4,7 +4,7 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += ['internal']
|
||||
DIRS += ['internal', 'standalone']
|
||||
|
||||
EXPORTS += [
|
||||
'GreekCasing.h',
|
||||
|
23
intl/unicharutil/util/standalone/moz.build
Normal file
23
intl/unicharutil/util/standalone/moz.build
Normal file
@ -0,0 +1,23 @@
|
||||
# -*- 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/.
|
||||
|
||||
if CONFIG['OS_TARGET'] != 'WINNT' and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
|
||||
Library('unicharutil_standalone')
|
||||
|
||||
intl_unicharutil_util_lcppsrcs = [
|
||||
'nsUnicodeProperties.cpp',
|
||||
]
|
||||
|
||||
intl_unicharutil_util_cppsrcs = [
|
||||
'%s/intl/unicharutil/util/%s' % (TOPSRCDIR, s) \
|
||||
for s in intl_unicharutil_util_lcppsrcs
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += intl_unicharutil_util_cppsrcs
|
||||
|
||||
for var in ('MOZILLA_INTERNAL_API', 'MOZILLA_XPCOMRT_API', 'MOZILLA_EXTERNAL_LINKAGE',
|
||||
'NR_SOCKET_IS_VOID_PTR', 'HAVE_STRDUP'):
|
||||
DEFINES[var] = True
|
Loading…
x
Reference in New Issue
Block a user