summaryrefslogtreecommitdiffstats
path: root/testing/gtest/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gtest/Makefile.in')
-rw-r--r--testing/gtest/Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/gtest/Makefile.in b/testing/gtest/Makefile.in
new file mode 100644
index 000000000..d2978b5b9
--- /dev/null
+++ b/testing/gtest/Makefile.in
@@ -0,0 +1,18 @@
+# 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/.
+
+# Avoid recursive make to avoid having to add files to the gtest/ subdirectory
+# (which is third-party code), and to make the build faster.
+
+include $(topsrcdir)/config/rules.mk
+
+ifeq (browser,$(MOZ_BUILD_APP))
+ifdef COMPILE_ENVIRONMENT
+gtest::
+ $(MAKE) -C $(DEPTH)/toolkit/library gtestxul
+ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
+ $(MAKE) -C $(DEPTH)/browser/app repackage
+endif
+endif
+endif