summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/src/moz.build9
-rw-r--r--js/src/proxy/moz.build23
2 files changed, 24 insertions, 8 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index 71147dc8d..ceadfa3fd 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -110,6 +110,7 @@ DIRS += [
'irregexp',
'jit',
'perf',
+ 'proxy',
]
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -140,14 +141,6 @@ SOURCES += [
'jsscript.cpp',
'jsstr.cpp',
'jsweakmap.cpp',
- 'proxy/BaseProxyHandler.cpp',
- 'proxy/CrossCompartmentWrapper.cpp',
- 'proxy/DeadObjectProxy.cpp',
- 'proxy/OpaqueCrossCompartmentWrapper.cpp',
- 'proxy/Proxy.cpp',
- 'proxy/ScriptedProxyHandler.cpp',
- 'proxy/SecurityWrapper.cpp',
- 'proxy/Wrapper.cpp',
'threading/Mutex.cpp',
'vm/ArgumentsObject.cpp',
'vm/ArrayBufferObject.cpp',
diff --git a/js/src/proxy/moz.build b/js/src/proxy/moz.build
new file mode 100644
index 000000000..72082df85
--- /dev/null
+++ b/js/src/proxy/moz.build
@@ -0,0 +1,23 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# 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/.
+
+include('../js-config.mozbuild')
+include('../js-cxxflags.mozbuild')
+
+FINAL_LIBRARY = "js"
+
+# Includes should be relative to parent path
+LOCAL_INCLUDES += ["!..", ".."]
+
+SOURCES += [
+ 'BaseProxyHandler.cpp',
+ 'CrossCompartmentWrapper.cpp',
+ 'DeadObjectProxy.cpp',
+ 'OpaqueCrossCompartmentWrapper.cpp',
+ 'Proxy.cpp',
+ 'ScriptedProxyHandler.cpp',
+ 'SecurityWrapper.cpp',
+ 'Wrapper.cpp',
+]