summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/ssltunnel/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mochitest/ssltunnel/moz.build')
-rw-r--r--testing/mochitest/ssltunnel/moz.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/mochitest/ssltunnel/moz.build b/testing/mochitest/ssltunnel/moz.build
new file mode 100644
index 0000000000..eb7ee90387
--- /dev/null
+++ b/testing/mochitest/ssltunnel/moz.build
@@ -0,0 +1,23 @@
+# -*- Mode: python; 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/.
+
+GeckoProgram("ssltunnel", linkage=None)
+
+SOURCES += [
+ "ssltunnel.cpp",
+]
+
+USE_LIBS += [
+ "nspr",
+ "nss",
+]
+
+# This isn't XPCOM code, but it wants to use STL, so disable the STL
+# wrappers
+DisableStlWrapping()
+
+if CONFIG["CC_TYPE"] in ("clang", "gcc"):
+ CXXFLAGS += ["-Wno-shadow"]