summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 17:33:26 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-06 23:07:21 +0000
commit3518c52e894b5eecad928c3dac433c2d423cde93 (patch)
treead14ae97df5e7d19df9f11181c4d34d571ce330d
parent2fc8fe4b2cac0e9b5d5a12fb3c6ed9cbba075ad7 (diff)
downloadchrome-ec-3518c52e894b5eecad928c3dac433c2d423cde93.tar.gz
coil: config_option_check master->main
BUG=b:175244613 TEST=make buildall -j Change-Id: I8a5273dca838d922627d084ee6330f5be3dfa0b7 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613454 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rwxr-xr-xutil/config_option_check.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/config_option_check.py b/util/config_option_check.py
index 179d9d2299..eb068eef30 100755
--- a/util/config_option_check.py
+++ b/util/config_option_check.py
@@ -44,7 +44,7 @@ class Hunk(object):
self.lines = lines
-# Master file which is supposed to include all CONFIG_xxxx descriptions.
+# Main file which is supposed to include all CONFIG_xxxx descriptions.
CONFIG_FILE = 'include/config.h'
# Specific files which the checker should ignore.
@@ -53,11 +53,11 @@ ALLOWLIST = [CONFIG_FILE, 'util/config_option_check.py']
def obtain_current_config_options():
"""Obtains current config options from include/config.h.
- Scans through the master config file defined in CONFIG_FILE for all CONFIG_*
- options.
+ Scans through the main config file defined in CONFIG_FILE for all
+ CONFIG_* options.
Returns:
- config_options: A list of all the config options in the master CONFIG_FILE.
+ config_options: A list of all the config options in the main CONFIG_FILE.
"""
config_options = []
@@ -135,11 +135,11 @@ def print_missing_config_options(hunks, config_options):
Args:
hunks: A list of Hunk objects which represent the hunks from the git
diff output.
- config_options: A list of all the config options in the master CONFIG_FILE.
+ config_options: A list of all the config options in the main CONFIG_FILE.
Returns:
missing_config_option: A boolean indicating if any CONFIG_* options
- are missing from the master CONFIG_FILE in this commit or if any CONFIG_*
+ are missing from the main CONFIG_FILE in this commit or if any CONFIG_*
options removed are no longer being used in the repo.
"""
missing_config_option = False