Name Description Size
android_chrome_version.py Different build variants of Chrome for Android have different version codes. For targets that have the same package name (e.g. Chrome, Chrome Modern, Monochrome, Trichrome), Play Store considers them the same app and will push the supported app with the highest version code to devices. Note that Play Store does not support hosting two different apps with same version code and package name. Each version code generated by this script will be used by one or more APKs. Webview channels must have unique version codes for a couple reasons: a) Play Store does not support having the same version code for different versions of a package. Without unique codes, promoting a beta apk to stable would require first removing the beta version. b) Firebase project support (used by official builders) requires unique [version code + package name]. We cannot add new webview package names for new channels because webview packages are allowlisted by Android as webview providers. WEBVIEW_STABLE, WEBVIEW_BETA, WEBVIEW_DEV are all used for standalone webview, whereas the others are used for various chrome APKs. TRICHROME_BETA is used for TrichromeChrome, TrichromeWebView, and TrichromeLibrary when these are compiled to use the stable package name. Similar to how WEBVIEW_STABLE/WEBVIEW_BETA work, this allows users to opt into the open Beta Track for the stable package. When Trichrome is configured to use a distinct package name for the Beta package, the version code will use TRICHROME instead of TRICHROME_BETA. Note that a package digit of '3' for Webview is reserved for Trichrome Webview. The same versionCode is used for both Trichrome Chrome and Trichrome Webview. Version code values are constructed like this: {full BUILD number}{3 digits: PATCH}{1 digit: package}{1 digit: ABIs}. For example: Build 3721, patch 0, ChromeModern (1), on ARM64 (5): 372100015 Build 3721, patch 9, Monochrome (2), on ARM (0): 372100920 15037
android_chrome_version_test.py Unittests for the android_chrome_version module. 46035
branding.gni 1771
BUILD.gn 1143
chromium_git_revision.h.in 285
generate_wrapper.gni 3254
generate_wrapper.py Wraps an executable and any provided arguments into an executable script. 8373
ide_query 5581
java_action.gni 3176
java_action.py Wrapper script to run java command as action with gn. 2065
LASTCHANGE.committime 10
LASTCHANGE.dummy 93
lastchange.gni 458
lastchange.py lastchange.py -- Chromium revision fetching utility. 14623
lib
PRESUBMIT.py Presubmit for build/util 1711
process_version.gni 4228
version.py version.py -- Chromium version string substitution utility. 8556
version_test.py Unittests for the version module. 8984