commit 6ee1da824cf06bc19738930d7ae62f20ba72a20d
parent 529e155fe7e6876e806fac9b43c9312ba4b2c181
Author: André Bargull <andre.bargull@gmail.com>
Date: Mon, 22 Dec 2025 15:18:00 +0000
Bug 1504045 - Part 3: Add moz.build for js/src/ds. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D276615
Diffstat:
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/js/src/ds/moz.build b/js/src/ds/moz.build
@@ -0,0 +1,22 @@
+# -*- Mode: python; 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/.
+
+FINAL_LIBRARY = "js"
+
+# Includes should be relative to parent path
+LOCAL_INCLUDES += ["!..", ".."]
+
+include("../js-compileflags.mozbuild")
+include("../js-config.mozbuild")
+include("../js-cxxflags.mozbuild")
+
+UNIFIED_SOURCES += [
+ "Bitmap.cpp",
+ "LifoAlloc.cpp",
+]
+
+if CONFIG["FUZZING_JS_FUZZILLI"]:
+ include("/tools/fuzzing/libfuzzer-config.mozbuild")
diff --git a/js/src/moz.build b/js/src/moz.build
@@ -301,8 +301,6 @@ EXPORTS.js.shadow += [
]
UNIFIED_SOURCES += [
- "ds/Bitmap.cpp",
- "ds/LifoAlloc.cpp",
"jsapi.cpp",
"jsdate.cpp",
"jsexn.cpp",
@@ -502,6 +500,7 @@ DIRS += [
"build",
"builtin",
"debugger",
+ "ds",
"frontend",
"gc",
"irregexp",