!19 bugfix;解决rom分析工具参数的路径问题

Merge pull request !19 from aodongbiao/master
This commit is contained in:
openharmony_ci 2023-01-29 08:02:47 +00:00 committed by Gitee
commit a6d74e5c26
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 1 additions and 7 deletions

View File

@ -19,7 +19,6 @@ import os
import re
import glob
import logging
from deprecated.sphinx import deprecated
from typing import *

View File

@ -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")

View File

@ -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")

View File

@ -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

View File

@ -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