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", "etc/TclEncode.tcl",
]) ])
exported_tcl = [ # Files used only by the standalone OpenSTA shell. OpenROAD supplies its own
"tcl/Util.tcl", # equivalents (Init via ord, Link/Verilog via dbSta), so they are excluded from
"tcl/CmdUtil.tcl", # the set re-exported to dbSta.
"tcl/CmdArgs.tcl", sta_only_tcl = [
"tcl/Property.tcl", "tcl/Init.tcl",
"tcl/Splash.tcl", "network/Link.tcl",
"tcl/Sta.tcl", "verilog/Verilog.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",
] ]
# 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( filegroup(
name = "tcl_scripts", name = "tcl_scripts",
srcs = exported_tcl, srcs = exported_tcl,