Revert "Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build"

This reverts commit fd1b2dc2b14ded708f8eb62a55109c03356c6b26.
This commit is contained in:
Moonchild 2022-09-05 13:11:33 +00:00 committed by roytam1
commit 23a10c68fa
2 changed files with 7 additions and 19 deletions

View file

@ -116,9 +116,6 @@ DIRS += [
'wasm',
]
if CONFIG['JS_HAS_CTYPES']:
DIRS += ['ctypes']
if CONFIG['JS_BUNDLED_EDITLINE']:
DIRS += ['editline']
@ -128,8 +125,8 @@ if CONFIG['JS_NEW_REGEXP']:
if not CONFIG['JS_DISABLE_SHELL']:
DIRS += ['shell']
if CONFIG['MOZ_VTUNE']:
DIRS += ['vtune']
if CONFIG['JS_HAS_CTYPES']:
DIRS += ['ctypes']
SOURCES += [
'jsalloc.cpp',
@ -239,6 +236,11 @@ if CONFIG['ENABLE_TRACE_LOGGING']:
'vm/TraceLoggingTypes.cpp',
]
if CONFIG['MOZ_VTUNE']:
SOURCES += [
'vtune/jitprofiling.c'
]
# JavaScript must be built shared, even for static builds, as it is used by
# other modules which are always built shared. Failure to do so results in
# the js code getting copied into xpinstall and jsd as well as mozilla-bin,

View file

@ -1,14 +0,0 @@
# -*- 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 += ['jitprofiling.c']