Closed GoogleCodeExporter closed 8 years ago
What if you do
1: wipe the local copy with:
rm -rf
/usr/local/google/home/fbarchard/src/build/libyuva/libyuv/third_party/android_to
ols/sdk//extras/google/google_play_services/
2: make sure you get a new sync run for the Chromium copy:
rm chromium/.last_sync_chromium
3. Sync again:
gclient sync
Original comment by kjellan...@google.com
on 20 Jan 2016 at 6:35
I created a new client
solutions = [
{ "name" : "libyuv",
"url" : "https://chromium.googlesource.com/libyuv/libyuv",
"deps_file" : "DEPS",
"managed" : True,
"custom_deps" : {
},
"safesync_url": "",
},
]
target_os = ["android", "unix"]
and ran gclient sync
after license...
Do you accept the license? [y/n]:
Your version of the Google Play services library is not up to date. You might
run into issues building or running the app. Please run
`src/build/android/play_services/update.py dow
nload` to retry downloading it.
> Hook '/usr/bin/python src/build/android/play_services/update.py download'
took 829.46 secs
________ running '/usr/bin/python
src/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' in
'/usr/local/google/home/fbarchard/src/build/libyuva/libyuv/chromium'
...
find:
`/usr/local/google/home/fbarchard/src/build/libyuva/libyuv/third_party/android_t
ools/sdk//extras/google/google_play_services/libproject/google-play-services_lib
/res': No such
file or directory
gyp: Call to 'find
/usr/local/google/home/fbarchard/src/build/libyuva/libyuv/third_party/android_to
ols/sdk//extras/google/google_play_services/libproject/google-play-services_lib/
r
es -type f' returned exit status 1 while in
chromium/src/third_party/android_tools/android_tools.gyp.
Error: Command '/usr/bin/python libyuv/gyp_libyuv' returned non-zero exit
status 1 in /usr/local/google/home/fbarchard/src/build/libyuva
fbarchard@fbarchard-linux:~/src/build/libyuva/libyuv$
./build/android/play_services/update.py download
Traceback (most recent call last):
File "./build/android/play_services/update.py", line 21, in <module>
import devil_chromium
File "./build/android/play_services/../devil_chromium.py", line 15, in <module>
from devil import devil_env
File "./build/android/play_services/../devil/devil_env.py", line 31, in <module>
from catapult_base import dependency_manager # pylint: disable=import-error
ImportError: No module named catapult_base
Original comment by fbarch...@google.com
on 21 Jan 2016 at 7:18
The script doesn't know it can be used in a non-Chromium manner.
Do like this:
cd chromium/src
./build/android/play_services/update.py download
cd ../..
Original comment by kjellan...@google.com
on 22 Jan 2016 at 8:36
updated documentation to show work around
Original comment by fbarch...@google.com
on 18 Feb 2016 at 5:42
Original issue reported on code.google.com by
fbarch...@google.com
on 20 Jan 2016 at 2:28