summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-04 13:59:16 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-04 13:59:16 -0500
commit6f76f1cb362b98fc617c5c0735cdacee64103e89 (patch)
treed9628c2b71e556c665a4582234e2bad9e0de12be /js/src
parent383bc182e3a3fe53cf79a51bc36c6218334d93b5 (diff)
downloadUXP-6f76f1cb362b98fc617c5c0735cdacee64103e89.tar
UXP-6f76f1cb362b98fc617c5c0735cdacee64103e89.tar.gz
UXP-6f76f1cb362b98fc617c5c0735cdacee64103e89.tar.lz
UXP-6f76f1cb362b98fc617c5c0735cdacee64103e89.tar.xz
UXP-6f76f1cb362b98fc617c5c0735cdacee64103e89.zip
Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build
Diffstat (limited to 'js/src')
-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',
+]