summaryrefslogtreecommitdiffstats
path: root/toolkit/library/StaticXULComponentsEnd/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/library/StaticXULComponentsEnd/moz.build')
-rw-r--r--toolkit/library/StaticXULComponentsEnd/moz.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolkit/library/StaticXULComponentsEnd/moz.build b/toolkit/library/StaticXULComponentsEnd/moz.build
new file mode 100644
index 000000000..67989edd4
--- /dev/null
+++ b/toolkit/library/StaticXULComponentsEnd/moz.build
@@ -0,0 +1,15 @@
+# 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/.
+
+SOURCES += [
+ 'StaticXULComponentsEnd.cpp',
+]
+
+# Don't let LTO reorder StaticXULComponentsStart.o.
+if '-flto' in CONFIG['OS_CXXFLAGS']:
+ SOURCES['StaticXULComponentsEnd.cpp'].flags += ['-fno-lto']
+
+Library('StaticXULComponentsEnd')
+
+DEFINES['MOZILLA_INTERNAL_API'] = True