Bug 955433 - Update to Mozilla 22 - Use moz.build only for mozilla/, r=clokep.
authorFlorian Quèze <florian@instantbird.org>
Sat, 03 Aug 2013 16:32:04 +0200
changeset 15406 716b7123c3205655a1cc5bd993e3dde48ecd374c
parent 15405 46db1225f7ca900332c115e6669d57c7e89c2c16
child 15407 fa1bda31852452b20a640f5073a5251d163b3588
push id9778
push userflorian@queze.net
push dateSun, 12 Jan 2014 18:25:45 +0000
treeherdercomm-central@f81a23bfefcd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs955433
Bug 955433 - Update to Mozilla 22 - Use moz.build only for mozilla/, r=clokep.
im/app.mozbuild
im/build.mk
new file mode 100644
--- /dev/null
+++ b/im/app.mozbuild
@@ -0,0 +1,13 @@
+# 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/.
+
+app_libxul_dirs = []
+app_libxul_static_dirs = []
+
+# Invoked from /mozilla.
+if not CONFIG['COMM_BUILD']:
+    if not CONFIG['LIBXUL_SDK']:
+        include('/toolkit/toolkit.mozbuild')
+    if CONFIG['MOZ_EXTENSIONS']:
+        add_tier_dir('app', 'toolkit/extensions')
--- a/im/build.mk
+++ b/im/build.mk
@@ -1,25 +1,13 @@
 # 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/.
 
-ifndef COMM_BUILD
-
-ifndef LIBXUL_SDK
-include $(topsrcdir)/toolkit/toolkit-tiers.mk
-endif
-
-TIERS += app
-
-ifdef MOZ_EXTENSIONS
-tier_app_dirs += extensions
-endif
-
-else
+ifdef COMM_BUILD
 
 ifndef MOZILLA_DIR
 MOZILLA_DIR = $(MOZILLA_SRCDIR)
 endif
 include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/package-name.mk
 
 TIERS += app