diff options
author | 2021-03-25 05:39:20 -0700 | |
---|---|---|
committer | 2021-04-07 04:53:04 +0000 | |
commit | 706ec3b0cbff292a3fe1742f0afcad4ffdcf2552 (patch) | |
tree | 6275769b69f57c657b31dcca454416693da489c3 /build.py | |
parent | 87d41f5567cf86285b3269aae3a9d4dca594b3fc (diff) |
Guard printing PKG_CONFIG_PATH in build.py
Bug: 176846220
Tag: #floss
Test: atest --host bluetooth_test_gd
Change-Id: Iba0c739a07bcfa7256ea624e2391d5cee016d2de
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -288,7 +288,8 @@ class HostBuild(): self._gn_default_output(), ] - print('DEBUG: PKG_CONFIG_PATH is', self.env['PKG_CONFIG_PATH']) + if 'PKG_CONFIG_PATH' in self.env: + print('DEBUG: PKG_CONFIG_PATH is', self.env['PKG_CONFIG_PATH']) self.run_command('configure', gn_args) |