gn2bp: Change ActionSanitizer name
* Change the class name to Base which will allow other classes to extend from it.
Test: None
Change-Id: I96ad16765bdcae109970a863d8612f0966bbd955
diff --git a/tools/gn2bp/gen_android_bp b/tools/gn2bp/gen_android_bp
index b0c1ee7..a61b780 100755
--- a/tools/gn2bp/gen_android_bp
+++ b/tools/gn2bp/gen_android_bp
@@ -619,7 +619,7 @@
blueprint.add_module(module)
-class ActionSanitizer():
+class BaseActionSanitizer():
def __init__(self, target):
# Just to be on the safe side, create a deep-copy.
self.target = copy.deepcopy(target)
@@ -713,7 +713,7 @@
bp_module_name = label_to_module_name(target.name)
module = Module('cc_genrule', bp_module_name, target.name)
- sanitizer = ActionSanitizer(target)
+ sanitizer = BaseActionSanitizer(target)
target.args = sanitizer.get_args()
if target.script == '//build/write_build_date_header.py':