Xixuan Wu | 3dd3748 | 2017-08-21 14:18:36 -0700 | [diff] [blame] | 1 | # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | """Module for current GAE project's configs.""" |
| 6 | |
| 7 | import os |
| 8 | from google.appengine.ext import vendor |
| 9 | |
| 10 | # Add any third-party libraries install in the "lib" folder. |
Xinan Lin | cd6d40b | 2019-08-09 15:53:43 -0700 | [diff] [blame] | 11 | third_party_libs =['lib', |
| 12 | 'infra_libs', |
| 13 | 'infra_libs/luci/appengine/components'] |
| 14 | for third_party_lib in third_party_libs: |
| 15 | third_party_lib_path = os.path.join( |
| 16 | os.path.dirname(os.path.realpath(__file__)), third_party_lib) |
| 17 | if os.path.exists(third_party_lib_path): |
| 18 | vendor.add(third_party_lib_path) |