long term solution to avoid dual lists maintainance

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
dsengupta0628 2026-07-23 15:38:27 +00:00
parent 2be8118685
commit 20ba5b5dc6
1 changed files with 12 additions and 19 deletions

31
BUILD
View File

@ -141,27 +141,20 @@ exports_files([
"etc/TclEncode.tcl",
])
exported_tcl = [
"tcl/Util.tcl",
"tcl/CmdUtil.tcl",
"tcl/CmdArgs.tcl",
"tcl/Property.tcl",
"tcl/Splash.tcl",
"tcl/Sta.tcl",
"sdc/Variables.tcl",
"sdc/Sdc.tcl",
"sdf/Sdf.tcl",
"search/Search.tcl",
"dcalc/DelayCalc.tcl",
"graph/Graph.tcl",
"liberty/Liberty.tcl",
"network/Network.tcl",
"network/NetworkEdit.tcl",
"parasitics/Parasitics.tcl",
"power/Power.tcl",
"spice/WriteSpice.tcl",
# Files used only by the standalone OpenSTA shell. OpenROAD supplies its own
# equivalents (Init via ord, Link/Verilog via dbSta), so they are excluded from
# the set re-exported to dbSta.
sta_only_tcl = [
"tcl/Init.tcl",
"network/Link.tcl",
"verilog/Verilog.tcl",
]
# Re-exported to dbSta (and thus the OpenROAD binary). Derived from tcl_srcs so
# a new command file added there automatically flows here unless explicitly
# listed in sta_only_tcl. Single source of truth = tcl_srcs.
exported_tcl = [f for f in tcl_srcs if f not in sta_only_tcl]
filegroup(
name = "tcl_scripts",
srcs = exported_tcl,