From a71281cd12686f6ce2fd05c2baadd2f987c5656c Mon Sep 17 00:00:00 2001 From: Motomu Utsumi Date: Fri, 18 Nov 2022 15:19:00 +0900 Subject: [PATCH] gn2bp: Remove desc from the arg of create_blueprint_for_targets Test: ./update_results.sh Change-Id: I31e438f820b8d198851da1124cc544bc108f3446 --- tools/gn2bp/gen_android_bp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp index bda4b255e6..22b5801d51 100755 --- a/tools/gn2bp/gen_android_bp +++ b/tools/gn2bp/gen_android_bp @@ -1198,7 +1198,7 @@ def update_jni_registration_module(blueprint, gn): module.srcs.update([ "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java"]) -def create_blueprint_for_targets(gn, desc, targets): +def create_blueprint_for_targets(gn, targets): """Generate a blueprint for a list of GN targets.""" blueprint = Blueprint() @@ -1305,7 +1305,7 @@ def main(): # TODO: pass desc to parse_gn_desc() to support parsing multiple desc files # for different target architectures. gn.parse_gn_desc(desc, target) - blueprint = create_blueprint_for_targets(gn, desc, targets) + blueprint = create_blueprint_for_targets(gn, targets) project_root = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) tool_name = os.path.relpath(os.path.abspath(__file__), project_root)