gn2bp: Add _sanitize_args to WriteNativeLibrariesJavaSanitizer
Test: ./update_results.sh Change-Id: I6658d5223b473bb4e29044458f97330628580e2b
This commit is contained in:
@@ -5726,7 +5726,7 @@ java_genrule {
|
|||||||
java_genrule {
|
java_genrule {
|
||||||
name: "cronet_aml_build_android_native_libraries_gen",
|
name: "cronet_aml_build_android_native_libraries_gen",
|
||||||
cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " +
|
cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " +
|
||||||
"gen/build/android/native_libraries_gen.srcjar " +
|
"$(out) " +
|
||||||
"--cpu-family " +
|
"--cpu-family " +
|
||||||
"CPU_FAMILY_ARM",
|
"CPU_FAMILY_ARM",
|
||||||
out: [
|
out: [
|
||||||
|
|||||||
@@ -914,7 +914,9 @@ class JavaCppStringSanitizer(BaseActionSanitizer):
|
|||||||
super()._sanitize_args()
|
super()._sanitize_args()
|
||||||
|
|
||||||
class WriteNativeLibrariesJavaSanitizer(BaseActionSanitizer):
|
class WriteNativeLibrariesJavaSanitizer(BaseActionSanitizer):
|
||||||
pass
|
def _sanitize_args(self):
|
||||||
|
self._set_value_arg('--output', '$(out)')
|
||||||
|
super()._sanitize_args()
|
||||||
|
|
||||||
def get_action_sanitizer(target, type):
|
def get_action_sanitizer(target, type):
|
||||||
if target.script == "//build/write_buildflag_header.py":
|
if target.script == "//build/write_buildflag_header.py":
|
||||||
|
|||||||
Reference in New Issue
Block a user