gn2bp: Remove get_inputs from the Sanitizer
Test: ./update_results.sh Change-Id: I4181ac236fa1313cb247eaeb427e095628b7d096
This commit is contained in:
@@ -746,9 +746,6 @@ class BaseActionSanitizer():
|
|||||||
def get_outputs(self):
|
def get_outputs(self):
|
||||||
return self.target.outputs
|
return self.target.outputs
|
||||||
|
|
||||||
def get_inputs(self):
|
|
||||||
return self.target.inputs
|
|
||||||
|
|
||||||
def get_srcs(self):
|
def get_srcs(self):
|
||||||
# gn treats inputs and sources for actions equally.
|
# gn treats inputs and sources for actions equally.
|
||||||
# soong only supports source files inside srcs, non-source files are added as
|
# soong only supports source files inside srcs, non-source files are added as
|
||||||
@@ -954,7 +951,6 @@ def create_action_module(blueprint, target, type):
|
|||||||
module.out = sanitizer.get_outputs()
|
module.out = sanitizer.get_outputs()
|
||||||
if sanitizer.is_header_generated():
|
if sanitizer.is_header_generated():
|
||||||
module.genrule_headers.add(module.name)
|
module.genrule_headers.add(module.name)
|
||||||
target.inputs = sanitizer.get_inputs()
|
|
||||||
module.srcs = sanitizer.get_srcs()
|
module.srcs = sanitizer.get_srcs()
|
||||||
module.tool_files = sanitizer.get_tool_files()
|
module.tool_files = sanitizer.get_tool_files()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user