This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to create Google Play Services's directory structure.
This script was originally in the Crosswalk repository, but keeping it there means our Content Shell bots cannot access it and consequently break with M43. From the original Crosswalk commit (f4f6b75): Ever since M42, building Chromium (and consequently Crosswalk) for Android has required installing the Google Play Services library via the `android` tool first. However, doing so involves manually accepting an End User License Agreement (EULA), which makes things very difficult to automate and also breaks our checkout and configuration process for users who are building Crosswalk for the first time. Since that library is actually needed only by Chromium but not Crosswalk, we have been working around this requirement. When Crosswalk started tracking Chromium M42, we added a few changes to chormium-crosswalk. One of them was making gyp not fail if some directories created by the Google Play Services library were not present. This solution needs to be rethought for the upcoming M43, as there is now a build system check in the android_tools repository to fail if a certain file installed by that library is not found. The script being added by this change is the answer to this, and is being landed before M43 itself because it also works independently of it. If the android_tools repository is checked out, it tries to create the Google Play Services directories gyp looks for as well as an empty file with the name that the android_tools build system checks. This way, we get rid of the corresponding change in chromium-crosswalk and prepare for the upcoming change in android_tools. BUG=XWALK-3955
- Loading branch information