| 612 | |
| 613 | |
| 614 | def get_build_directory_name(is_debug): |
| 615 | build_dir = ('Debug' if is_debug else 'Release') + '_' |
| 616 | if use_gn: |
| 617 | # CEF uses a consistent directory naming scheme for GN via |
| 618 | # GetAllPlatformConfigs in tools/gn_args.py. |
| 619 | if options.x64build: |
| 620 | build_dir += 'GN_x64' |
| 621 | elif options.armbuild: |
| 622 | build_dir += 'GN_arm' |
| 623 | else: |
| 624 | build_dir += 'GN_x86' |
| 625 | else: |
| 626 | # GYP outputs both x86 and x64 builds to the same directory on Linux and |
| 627 | # Mac OS X. On Windows it suffixes the directory name for x64 builds. |
| 628 | if platform == 'windows' and options.x64build: |
| 629 | build_dir += 'x64' |
| 630 | return build_dir |
| 631 | |
| 632 | |
| 633 | def read_update_file(): |