Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build

This commit is contained in:
Matt A. Tobin 2020-11-04 13:59:16 -05:00 committed by roytam1
commit e6a6e0e7fd
2 changed files with 24 additions and 8 deletions

View file

@ -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',

23
js/src/proxy/moz.build Normal file
View file

@ -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',
]