[llvm] Use exec_script_allowlist in //llvm/utils/gn/.gn (PR #134172)

Dirk Pranke via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 16:02:35 PDT 2025


https://github.com/dpranke created https://github.com/llvm/llvm-project/pull/134172

Use exec_script_allowlist in //llvm/utils/gn/.gn

GN is moving to use exec_script_allowlist instead of exec_script_whitelist everywhere.

See crbug.com/389986807

>From 19b4d32dd6ebe345bd2e87a8a5767b431e25528a Mon Sep 17 00:00:00 2001
From: Dirk Pranke <dpranke at gmail.com>
Date: Wed, 2 Apr 2025 15:59:24 -0700
Subject: [PATCH] Update .gn

Use exec_script_allowlist in //llvm/utils/gn/.gn

GN is moving to use exec_script_allowlist instead of exec_script_whitelist everywhere.

See crbug.com/389986807
---
 llvm/utils/gn/.gn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/gn/.gn b/llvm/utils/gn/.gn
index 4eccc2fc168c0..3abc0f6306585 100644
--- a/llvm/utils/gn/.gn
+++ b/llvm/utils/gn/.gn
@@ -6,7 +6,7 @@ buildconfig = "//llvm/utils/gn/build/BUILDCONFIG.gn"
 
 # Disallow all calls to exec_script. We should be very conservative about
 # whitelisting things here.
-exec_script_whitelist = []
+exec_script_allowlist = []
 
 # Execute action() targets using Python 3.
 script_executable = "python3"



More information about the llvm-commits mailing list