Bug 1251780 - Remove unicharutil_standalone library. r=rbarker
authorEric Rahm <erahm@mozilla.com>
Thu, 03 Mar 2016 12:16:41 -0800
changeset 336748 80b6bd86f457013986de3445aa926bc3a2eb2d1c
parent 336747 6fa89bbe833b9baeb2ecac29fe3aeeb80563e042
child 336749 3b00a91ad6929f2d6b36b13d4981aa78a1f6c18f
push id12175
push usernnethercote@mozilla.com
push dateFri, 04 Mar 2016 03:57:22 +0000
reviewersrbarker
bugs1251780
milestone47.0a1
Bug 1251780 - Remove unicharutil_standalone library. r=rbarker
intl/unicharutil/util/moz.build
intl/unicharutil/util/standalone/moz.build
--- a/intl/unicharutil/util/moz.build
+++ b/intl/unicharutil/util/moz.build
@@ -3,17 +3,17 @@
 # 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/.
 
 # This file builds the unicharutil_external_s library which should be used
 # by frozen (dependent) linkage components. Internal-linkage code should use
 # unicharutil_s which is built in the internal/ subdirectory.
 
-DIRS += ['internal', 'standalone']
+DIRS += ['internal']
 
 EXPORTS += [
     'GreekCasing.h',
     'ICUUtils.h',
     'IrishCasing.h',
     'nsBidiUtils.h',
     'nsSpecialCasingData.h',
     'nsUnicharUtils.h',
deleted file mode 100644
--- a/intl/unicharutil/util/standalone/moz.build
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- 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']