Mike Frysinger | f1ba7ad | 2022-09-12 05:42:57 -0400 | [diff] [blame^] | 1 | # Copyright 2012 The ChromiumOS Authors |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Cindy Lin | 8109309 | 2021-12-09 20:40:57 +0000 | [diff] [blame] | 5 | """Print the environment allowlist.""" |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 6 | |
Mike Frysinger | 93a3ee9 | 2021-12-17 00:23:52 -0500 | [diff] [blame] | 7 | import sys |
| 8 | |
Aviv Keshet | b7519e1 | 2016-10-04 00:50:00 -0700 | [diff] [blame] | 9 | from chromite.lib import constants |
David James | 56e6c2c | 2012-10-24 23:54:41 -0700 | [diff] [blame] | 10 | |
| 11 | |
Mike Frysinger | 93a3ee9 | 2021-12-17 00:23:52 -0500 | [diff] [blame] | 12 | def main(argv): |
Alex Klein | 1699fab | 2022-09-08 08:46:06 -0600 | [diff] [blame] | 13 | if argv: |
| 14 | sys.exit(f"{sys.argv[0]}: {__doc__}") |
| 15 | print(" ".join(constants.CHROOT_ENVIRONMENT_ALLOWLIST)) |