import os;
from utils import *;

###############################################################################
# Updates mdv file for the Graph Visualization (C++) demo.
def update_ddv_cxx_demo(defs):
    srcdir = defs["ABS_PRJ_SRC_DIR"];
    srcdir = srcdir.replace(defs["__MULTI_DEFAULTS_DIR__"],
                            defs["__TOOLS_DEFAULTS_DIR__"], 1);

    srcpath = os.path.join(srcdir, "data_descriptions_upd.mdv");
    destpath = os.path.join(defs["ABS_TOP_PROJ_DIR"],
                            "data_descriptions_graph_cc.mdv");

    copy_file(defs, srcpath, destpath);

###############################################################################

