Skip to content

Commit

Permalink
source_is_generated -> enable_input_discovery_for_gn_analyze.
Browse files Browse the repository at this point in the history
Chromium change:

https://chromium.googlesource.com/chromium/src/+/6ade5dc4cb183b0f58cf9c1795fdfc6cba5e14bf

commit 6ade5dc4cb183b0f58cf9c1795fdfc6cba5e14bf
Author: Andrew Grieve <[email protected]>
Date:   Tue Mar 17 20:52:02 2020 +0000

    Rename source_is_generated -> enable_input_discovery_for_gn_analyze

    And update docs for the setting.

    Bug: 1054892
  • Loading branch information
mkarolin committed Apr 3, 2020
1 parent d784420 commit 3de9217
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion browser/resources/extensions/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ grit("resources") {
source = "extensions_resources.grd"

# The .grd contains references to generated files.
source_is_generated = true
enable_input_discovery_for_gn_analyze = true
grit_flags = [
"-E",
"root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
Expand Down
2 changes: 1 addition & 1 deletion browser/resources/settings/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ grit("resources") {
"enable_brave_wayback_machine=$enable_brave_wayback_machine",
]

source_is_generated = optimize_webui
enable_input_discovery_for_gn_analyze = optimize_webui

outputs = [
"grit/brave_settings_resources.h",
Expand Down
2 changes: 1 addition & 1 deletion components/common/typescript.gni
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ template("pack_web_resources") {
generated_dir = "$root_gen_dir/brave/web-ui-$resource_name"
}
source = "$generated_dir/$resource_name.grd"
source_is_generated = true
enable_input_discovery_for_gn_analyze = true

outputs = [
"grit/$resource_name" + "_generated.h",
Expand Down
2 changes: 1 addition & 1 deletion ui/webui/resources/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ grit("resources") {
deps = [ ":modulize" ]

# The .grd contains references to generated files.
source_is_generated = true
enable_input_discovery_for_gn_analyze = true

outputs = [
"grit/brave_webui_resources.h",
Expand Down

0 comments on commit 3de9217

Please sign in to comment.