Commit 52ee042b authored by Samuel Huang's avatar Samuel Huang Committed by Commit Bot

[Build] Rename GN template "android_resource_size_config" to "android_size_bot_config".

Bug: 1040645
Change-Id: I5b53f8145f1d1d5c363995cef7653f882e7c351c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521052Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Auto-Submit: Samuel Huang <huangs@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824691}
parent f3c5ca6d
...@@ -70,8 +70,8 @@ template("android_resource_sizes_test") { ...@@ -70,8 +70,8 @@ template("android_resource_sizes_test") {
} }
} }
# Generates "size config JSON file" to specify data to be passed from bots via # Generates a "size config JSON file" to specify data to be passed from recipes
# recipe to Python scripts for binary size measurement. All filenames are # to Python scripts for binary size measurement on bots. All filenames are
# relative to $root_build_dir. The resulting JSON file is written to # relative to $root_build_dir. The resulting JSON file is written to
# "$root_build_dir/config/${invoker.name}_size_config.json". # "$root_build_dir/config/${invoker.name}_size_config.json".
# #
...@@ -83,7 +83,7 @@ template("android_resource_sizes_test") { ...@@ -83,7 +83,7 @@ template("android_resource_sizes_test") {
# supersize_input_file: Main input for SuperSize. # supersize_input_file: Main input for SuperSize.
# version: Version number, uses to notify build bots that significant changes # version: Version number, uses to notify build bots that significant changes
# has occurred, so that gs:// should be ignored. # has occurred, so that gs:// should be ignored.
template("android_resource_size_config") { template("android_size_bot_config") {
_full_target_name = get_label_info(target_name, "label_no_toolchain") _full_target_name = get_label_info(target_name, "label_no_toolchain")
_out_json = { _out_json = {
_HEADER = "Written by build target '${_full_target_name}'" _HEADER = "Written by build target '${_full_target_name}'"
......
...@@ -3022,7 +3022,7 @@ if (is_official_build) { ...@@ -3022,7 +3022,7 @@ if (is_official_build) {
data_deps = [ ":monochrome_public_minimal_apks" ] data_deps = [ ":monochrome_public_minimal_apks" ]
} }
android_resource_size_config( android_size_bot_config(
"resource_size_config_monochrome_public_minimal_apks") { "resource_size_config_monochrome_public_minimal_apks") {
name = "MonochromePublic" name = "MonochromePublic"
mapping_files = [ "apks/MonochromePublic.aab.mapping" ] mapping_files = [ "apks/MonochromePublic.aab.mapping" ]
...@@ -3102,7 +3102,7 @@ if (is_official_build) { ...@@ -3102,7 +3102,7 @@ if (is_official_build) {
data_deps = [ ":trichrome_minimal_apks" ] data_deps = [ ":trichrome_minimal_apks" ]
} }
android_resource_size_config("resource_size_config_trichrome") { android_size_bot_config("resource_size_config_trichrome") {
name = "Trichrome" name = "Trichrome"
mapping_files = [ mapping_files = [
"apks/TrichromeLibrary.apk.mapping", "apks/TrichromeLibrary.apk.mapping",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment