mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 18:24:51 +00:00
25 lines
844 B
Plaintext
25 lines
844 B
Plaintext
|
# -*- 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')
|
||
|
|
||
|
UNIFIED_SOURCES += [
|
||
|
'../nsUnicodeProperties.cpp',
|
||
|
]
|
||
|
|
||
|
if CONFIG['ENABLE_INTL_API']:
|
||
|
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
|
||
|
LOCAL_INCLUDES += CONFIG['MOZ_ICU_INCLUDES']
|
||
|
USE_LIBS += ['icu']
|
||
|
|
||
|
for var in ('MOZILLA_INTERNAL_API', 'MOZILLA_XPCOMRT_API', 'MOZILLA_EXTERNAL_LINKAGE',
|
||
|
'NR_SOCKET_IS_VOID_PTR', 'HAVE_STRDUP'):
|
||
|
DEFINES[var] = True
|
||
|
|
||
|
if CONFIG['GNU_CXX']:
|
||
|
CXXFLAGS += ['-Wshadow']
|