gn2bp: Add _sanitize_args to JavaCppFeatureSanitier
Test: m cronet_aml_base_java_features_srcjar Change-Id: I465d2c18890ac2f4b749b4e8cee50dc869766dad
This commit is contained in:
@@ -4240,12 +4240,12 @@ java_genrule {
|
||||
"base/task/task_features.cc",
|
||||
],
|
||||
cmd: "$(location build/android/gyp/java_cpp_features.py) --srcjar " +
|
||||
"gen/base/java_features_srcjar.srcjar " +
|
||||
"$(out) " +
|
||||
"--template " +
|
||||
"../../base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl " +
|
||||
"../../base/android/base_features.cc " +
|
||||
"../../base/features.cc " +
|
||||
"../../base/task/task_features.cc",
|
||||
"$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
|
||||
"$(location base/android/base_features.cc) " +
|
||||
"$(location base/features.cc) " +
|
||||
"$(location base/task/task_features.cc)",
|
||||
out: [
|
||||
"base/java_features_srcjar.srcjar",
|
||||
],
|
||||
|
||||
@@ -902,7 +902,10 @@ class MakeDafsaSanitizer(BaseActionSanitizer):
|
||||
return True
|
||||
|
||||
class JavaCppFeatureSanitizer(BaseActionSanitizer):
|
||||
pass
|
||||
def _sanitize_args(self):
|
||||
self._update_all_args(self._sanitize_filepath_with_location_tag)
|
||||
self._set_value_arg('--srcjar', '$(out)')
|
||||
super()._sanitize_args()
|
||||
|
||||
def get_action_sanitizer(target, type):
|
||||
if target.script == "//build/write_buildflag_header.py":
|
||||
|
||||
Reference in New Issue
Block a user