Bug 1038537 - Part 6: Flatten intl/strres/{public,src}/ directories. r=smontagu
authorBirunthan Mohanathas <birunthan@mohanathas.com>
Thu, 24 Jul 2014 10:56:39 -0700
changeset 195906 0d7d58108070f7fae8f149e9f5b4209bec8bee12
parent 195905 345f6e3e6972e786242960703ad5b6cdc4348602
child 195907 4feaed7d41deb55fec4a214dba3db252a48e641b
push id46730
push userbirunthan@mohanathas.com
push dateThu, 24 Jul 2014 17:57:11 +0000
treeherdermozilla-inbound@80aec550b1e0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu
bugs1038537
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1038537 - Part 6: Flatten intl/strres/{public,src}/ directories. r=smontagu
intl/build/moz.build
intl/strres/moz.build
intl/strres/nsIStringBundle.idl
intl/strres/nsIStringBundleOverride.idl
intl/strres/nsStringBundle.cpp
intl/strres/nsStringBundle.h
intl/strres/nsStringBundleService.h
intl/strres/nsStringBundleTextOverride.cpp
intl/strres/nsStringBundleTextOverride.h
intl/strres/public/moz.build
intl/strres/public/nsIStringBundle.idl
intl/strres/public/nsIStringBundleOverride.idl
intl/strres/src/moz.build
intl/strres/src/nsStringBundle.cpp
intl/strres/src/nsStringBundle.h
intl/strres/src/nsStringBundleService.h
intl/strres/src/nsStringBundleTextOverride.cpp
intl/strres/src/nsStringBundleTextOverride.h
--- a/intl/build/moz.build
+++ b/intl/build/moz.build
@@ -7,13 +7,13 @@
 SOURCES += [
     'nsI18nModule.cpp',
 ]
 
 FINAL_LIBRARY = 'xul'
 LOCAL_INCLUDES += [
     '../locale',
     '../lwbrk',
-    '../strres/src',
+    '../strres',
     '../uconv/src',
     '../unicharutil/src',
 ]
 
--- a/intl/strres/moz.build
+++ b/intl/strres/moz.build
@@ -1,9 +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/.
 
-DIRS += ['public', 'src']
 TEST_TOOL_DIRS += ['tests']
 
+XPIDL_SOURCES += [
+    'nsIStringBundle.idl',
+    'nsIStringBundleOverride.idl',
+]
+
+XPIDL_MODULE = 'intl'
+
+UNIFIED_SOURCES += [
+    'nsStringBundle.cpp',
+    'nsStringBundleTextOverride.cpp',
+]
+
+MSVC_ENABLE_PGO = True
+
+FINAL_LIBRARY = 'xul'
rename from intl/strres/public/nsIStringBundle.idl
rename to intl/strres/nsIStringBundle.idl
rename from intl/strres/public/nsIStringBundleOverride.idl
rename to intl/strres/nsIStringBundleOverride.idl
rename from intl/strres/src/nsStringBundle.cpp
rename to intl/strres/nsStringBundle.cpp
rename from intl/strres/src/nsStringBundle.h
rename to intl/strres/nsStringBundle.h
rename from intl/strres/src/nsStringBundleService.h
rename to intl/strres/nsStringBundleService.h
rename from intl/strres/src/nsStringBundleTextOverride.cpp
rename to intl/strres/nsStringBundleTextOverride.cpp
rename from intl/strres/src/nsStringBundleTextOverride.h
rename to intl/strres/nsStringBundleTextOverride.h
deleted file mode 100644
--- a/intl/strres/public/moz.build
+++ /dev/null
@@ -1,13 +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/.
-
-XPIDL_SOURCES += [
-    'nsIStringBundle.idl',
-    'nsIStringBundleOverride.idl',
-]
-
-XPIDL_MODULE = 'intl'
-
deleted file mode 100644
--- a/intl/strres/src/moz.build
+++ /dev/null
@@ -1,14 +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/.
-
-UNIFIED_SOURCES += [
-    'nsStringBundle.cpp',
-    'nsStringBundleTextOverride.cpp',
-]
-
-MSVC_ENABLE_PGO = True
-
-FINAL_LIBRARY = 'xul'