diff --git a/tools/rom_ram_analyzer/L0L1/pkgs/basic_tool.py b/tools/rom_ram_analyzer/L0L1/pkgs/basic_tool.py index 0fe0ea62bc7e7e06dfb2fc3ded89862d9139a32a..5711a81320c240b688f4e6c0e00a4eb0a5a3dbcd 100644 --- a/tools/rom_ram_analyzer/L0L1/pkgs/basic_tool.py +++ b/tools/rom_ram_analyzer/L0L1/pkgs/basic_tool.py @@ -19,7 +19,6 @@ import os import re import glob import logging -from deprecated.sphinx import deprecated from typing import * diff --git a/tools/rom_ram_analyzer/L0L1/src/config.py b/tools/rom_ram_analyzer/L0L1/src/config.py index 6735a667ca2a79ddba8e305994788cc2ba6fa242..c15326b00969701a431a2f5c52d1ddb7da7fd037 100644 --- a/tools/rom_ram_analyzer/L0L1/src/config.py +++ b/tools/rom_ram_analyzer/L0L1/src/config.py @@ -4,7 +4,6 @@ import argparse import json from typing import * -# from gn_lineno_collector import gn_lineno_collect import preprocess from pkgs.simple_yaml_tool import SimpleYamlTool from pkgs.basic_tool import do_nothing, BasicTool @@ -36,8 +35,7 @@ _args = parse_args() configs = SimpleYamlTool.read_yaml("config.yaml") result_dict: Dict[str, Any] = dict() -# project_path = BasicTool.abspath(configs.get("project_path")) -project_path = _args.oh_path +project_path = BasicTool.abspath(_args.oh_path) product_name = _args.product_name recollect_gn = _args.recollect_gn _sc_json: Dict[Text, Text] = configs.get("subsystem_component_json") diff --git a/tools/rom_ram_analyzer/L0L1/src/post_handlers.py b/tools/rom_ram_analyzer/L0L1/src/post_handlers.py index f5fa3afaa0759ce795a98db6b1974ed94e3fffe2..c4cf9ac0d9314c339895dd4062987709b2f9af8e 100644 --- a/tools/rom_ram_analyzer/L0L1/src/post_handlers.py +++ b/tools/rom_ram_analyzer/L0L1/src/post_handlers.py @@ -3,7 +3,6 @@ from abc import ABC, abstractmethod import copy import logging import preprocess -from pprint import pprint from pkgs.simple_yaml_tool import SimpleYamlTool _config = SimpleYamlTool.read_yaml("./config.yaml") diff --git a/tools/rom_ram_analyzer/L0L1/src/rom_analysis.py b/tools/rom_ram_analyzer/L0L1/src/rom_analysis.py index c52aa6d4137ca71b942fe7d24804624e545b8a71..11b8ce6da91ed62fed68e62ea14705034643516d 100644 --- a/tools/rom_ram_analyzer/L0L1/src/rom_analysis.py +++ b/tools/rom_ram_analyzer/L0L1/src/rom_analysis.py @@ -5,7 +5,6 @@ import logging import os from typing import * import copy -from pprint import pprint import preprocess from time import time from concurrent.futures import ThreadPoolExecutor, Future diff --git a/tools/rom_ram_analyzer/L0L1/src/template_processor.py b/tools/rom_ram_analyzer/L0L1/src/template_processor.py index bfd0ac24a56b12cd61bc732c4997b052a1b099ae..47d56970502504160b56e429990faa332b9f74b3 100644 --- a/tools/rom_ram_analyzer/L0L1/src/template_processor.py +++ b/tools/rom_ram_analyzer/L0L1/src/template_processor.py @@ -17,7 +17,6 @@ from threading import RLock from typing import * from abc import ABC, abstractmethod from collections import defaultdict -from pprint import pprint import os import logging