Detect cef binary directory created by automate.py eg. build/cef55_3.2883.1553.g80bd606_win32/ and set CEF_BINARIES_LIBRARIES to it, otherwise it will point to eg. build/cef_win32/ .
()
| 338 | |
| 339 | |
| 340 | def _detect_cef_binaries_libraries_dir(): |
| 341 | """Detect cef binary directory created by automate.py |
| 342 | eg. build/cef55_3.2883.1553.g80bd606_win32/ |
| 343 | and set CEF_BINARIES_LIBRARIES to it, otherwise it will |
| 344 | point to eg. build/cef_win32/ .""" |
| 345 | global CEF_BINARIES_LIBRARIES |
| 346 | if not os.path.exists(CEF_BINARIES_LIBRARIES): |
| 347 | dirs = glob.glob(os.path.join( |
| 348 | BUILD_DIR, |
| 349 | get_cef_binaries_libraries_basename(OS_POSTFIX2))) |
| 350 | if len(dirs) == 1: |
| 351 | CEF_BINARIES_LIBRARIES = os.path.normpath(dirs[0]) |
| 352 | |
| 353 | |
| 354 | def get_cef_binaries_libraries_basename(postfix2): |
no test coverage detected