Bug 1529033 - Remove set_sources_assignment_filter calls in webrtc gn files. r=mjf

They were removed upstream in ddae81d0aa
and gn has rejected it since https://gn.googlesource.com/gn/+/55e535a6716e57320fdd3901f0347a5c30562199

Differential Revision: https://phabricator.services.mozilla.com/D148619
This commit is contained in:
Mike Hommey 2022-06-08 22:40:01 +00:00
parent 8425231f97
commit b3bfa90d99
4 changed files with 0 additions and 12 deletions

View File

@ -22,7 +22,6 @@
import("//build/config/python.gni")
template("copy_ex") {
set_sources_assignment_filter([])
action_with_pydeps(target_name) {
forward_variables_from(invoker,
[

View File

@ -1124,7 +1124,6 @@ if (enable_java_templates) {
}
template("proguard") {
set_sources_assignment_filter([])
forward_variables_from(invoker,
[
"data",
@ -2205,7 +2204,6 @@ if (enable_java_templates) {
#
template("prepare_resources") {
action_with_pydeps(target_name) {
set_sources_assignment_filter([])
forward_variables_from(invoker,
[
"deps",
@ -2397,7 +2395,6 @@ if (enable_java_templates) {
# proguard_file_main_dex: (optional)
#
template("compile_resources") {
set_sources_assignment_filter([])
forward_variables_from(invoker,
[
"testonly",
@ -3448,7 +3445,6 @@ if (enable_java_templates) {
# TODO(crbug.com/1042017): Remove.
not_needed(invoker, [ "no_build_hooks" ])
set_sources_assignment_filter([])
forward_variables_from(invoker, [ "testonly" ])
_is_prebuilt = defined(invoker.jar_path)
_is_annotation_processor = invoker.type == "java_annotation_processor"

View File

@ -126,7 +126,6 @@ if (enable_java_templates) {
# JNI target implementation. See generate_jni or generate_jar_jni for usage.
template("generate_jni_impl") {
set_sources_assignment_filter([])
_jni_output_dir = "${target_gen_dir}/${target_name}"
if (defined(invoker.jni_generator_include)) {
@ -423,7 +422,6 @@ if (enable_java_templates) {
# include_path = "android/java/templates"
# }
template("java_cpp_template") {
set_sources_assignment_filter([])
forward_variables_from(invoker, [ "testonly" ])
_include_path = "//"
@ -508,7 +506,6 @@ if (enable_java_templates) {
# ]
# }
template("java_cpp_enum") {
set_sources_assignment_filter([])
action_with_pydeps(target_name) {
forward_variables_from(invoker,
[
@ -578,7 +575,6 @@ if (enable_java_templates) {
# A FooSwitches.java file, defining a class named FooSwitches in the package
# my.java.package.
template("java_cpp_strings") {
set_sources_assignment_filter([])
action_with_pydeps(target_name) {
forward_variables_from(invoker,
[
@ -3968,7 +3964,6 @@ if (enable_java_templates) {
# }
template("android_aidl") {
action_with_pydeps(target_name) {
set_sources_assignment_filter([])
forward_variables_from(invoker, [ "testonly" ])
script = "//build/android/gyp/aidl.py"
@ -4045,7 +4040,6 @@ if (enable_java_templates) {
# sources = [ "$proto_path/foo.proto" ]
# }
template("proto_java_library") {
set_sources_assignment_filter([])
forward_variables_from(invoker, [ "testonly" ])
_template_name = target_name

View File

@ -165,7 +165,6 @@ template("repack_locales") {
bundle_output =
"{{bundle_resources_dir}}/${_output_locale}.lproj/locale.pak"
}
set_sources_assignment_filter([])
sources = []
foreach(_pattern, invoker.source_patterns) {
sources += [ "${_pattern}${_input_locale}.pak" ]