Bug 864843 - Part 2. Add moz.build for gabi++ r=glandium
authorFabrice Desré <fabrice@mozilla.com>
Mon, 19 Oct 2015 22:25:44 -0700
changeset 268331 ba7fd2ff5fa098f0fd2a9c7d806d8f77e425a235
parent 268330 a6e94fdb528e48724e354bede9b1924a05ecae10
child 268332 baa0579f8a9e3da08ed69a20f36e57c8e1a011b3
push id18160
push userfdesre@mozilla.com
push dateTue, 20 Oct 2015 05:25:58 +0000
treeherderb2g-inbound@6e34bc916dda [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs864843
milestone44.0a1
Bug 864843 - Part 2. Add moz.build for gabi++ r=glandium
build/gabi++/moz.build
new file mode 100644
--- /dev/null
+++ b/build/gabi++/moz.build
@@ -0,0 +1,36 @@
+# -*- 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/.
+
+Library('gabi++')
+
+SOURCES += [
+    'src/array_type_info.cc',
+    'src/class_type_info.cc',
+    'src/delete.cc',
+    'src/dynamic_cast.cc',
+    'src/enum_type_info.cc',
+    'src/function_type_info.cc',
+    'src/fundamental_type_info.cc',
+    'src/new.cc',
+    'src/pbase_type_info.cc',
+    'src/pointer_to_member_type_info.cc',
+    'src/pointer_type_info.cc',
+    'src/si_class_type_info.cc',
+    'src/type_info.cc',
+    'src/vmi_class_type_info.cc',
+]
+
+LOCAL_INCLUDES += [
+    'include'
+]
+
+DISABLE_STL_WRAPPING = True
+NO_VISIBILITY_FLAGS = True
+
+CXXFLAGS += [
+    '-fexceptions',
+    '-frtti'
+]