tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 87f54fe87911c5b66b899ef30af876591ce7cb43
parent 900fdf3ab0b0a67897e9820097d7fa091a710e94
Author: André Bargull <andre.bargull@gmail.com>
Date:   Mon, 22 Dec 2025 15:18:03 +0000

Bug 1504045 - Part 10: Add js-compileflags.mozbuild to existing moz.build files. r=jandem

Add "js-compileflags.mozbuild" to the existing "moz.build" files, so we never
add these directories to the include search path.

Differential Revision: https://phabricator.services.mozilla.com/D276623

Diffstat:
Mjs/src/builtin/temporal/moz.build | 1+
Mjs/src/debugger/moz.build | 1+
Mjs/src/frontend/moz.build | 1+
Mjs/src/fuzz-tests/gluesmith/moz.build | 1+
Mjs/src/gc/moz.build | 1+
Mjs/src/intgemm/moz.build | 1+
Mjs/src/irregexp/moz.build | 1+
Mjs/src/jit/moz.build | 1+
Mjs/src/shell/moz.build | 1+
Mjs/src/util/moz.build | 1+
Mjs/src/wasm/moz.build | 1+
Mjs/src/xsum/moz.build | 1+
Mjs/src/zydis/moz.build | 1+
13 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/js/src/builtin/temporal/moz.build b/js/src/builtin/temporal/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!../..", "../.."] +include("../../js-compileflags.mozbuild") include("../../js-config.mozbuild") include("../../js-cxxflags.mozbuild") diff --git a/js/src/debugger/moz.build b/js/src/debugger/moz.build @@ -15,6 +15,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/frontend/moz.build b/js/src/frontend/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/fuzz-tests/gluesmith/moz.build b/js/src/fuzz-tests/gluesmith/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!../..", "../.."] +include("../../js-compileflags.mozbuild") include("../../js-config.mozbuild") include("../../js-cxxflags.mozbuild") diff --git a/js/src/gc/moz.build b/js/src/gc/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/intgemm/moz.build b/js/src/intgemm/moz.build @@ -4,6 +4,7 @@ # 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-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/irregexp/moz.build b/js/src/irregexp/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/jit/moz.build b/js/src/jit/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/shell/moz.build b/js/src/shell/moz.build @@ -10,6 +10,7 @@ if CONFIG["JS_BUNDLED_EDITLINE"]: USE_LIBS += ["editline"] USE_LIBS += ["static:js"] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") include("../js-standalone.mozbuild") diff --git a/js/src/util/moz.build b/js/src/util/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/wasm/moz.build b/js/src/wasm/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/xsum/moz.build b/js/src/xsum/moz.build @@ -9,6 +9,7 @@ FINAL_LIBRARY = "js" # Includes should be relative to parent path LOCAL_INCLUDES += ["!..", ".."] +include("../js-compileflags.mozbuild") include("../js-config.mozbuild") include("../js-cxxflags.mozbuild") diff --git a/js/src/zydis/moz.build b/js/src/zydis/moz.build @@ -6,6 +6,7 @@ LOCAL_INCLUDES += [ '..' ] +include("../js-compileflags.mozbuild") include('../js-config.mozbuild') include('../js-cxxflags.mozbuild')