line / line/stellite

android build fail

Open
#58 1 comment 1 reaction 1 assignee View on GitHub

@haru398801 is already working on this.

Since Jun 19, 2018.

enhancement
Dominant language
C++
Stars
475
Forks
78
PR merge metrics
No merged PRs in 30d

Description

The chromium build succeeds, but the Android build fails.
It seems like there are no related files for google_play_services.
The detailed build logs are shown below.
Environment: Ubuntu 14.04.5 LTS

```
hhd2002@hhdubuntu:~/stellite$ ./tools/build.py --target-platform=android --target stellite_http_client build
chromium is already exists: /home/hhd2002/stellite/third_party/chromium_android
check chromium ...
check chromium tag ...
copy .gclient ...
copy modified_files ...
copy chromium/src/.gn ...
copy node_binder files ...
Running: ln -s /home/hhd2002/stellite/node_binder
copy stellite files...
Running: ln -s /home/hhd2002/stellite/stellite
copya stellite build fakefiles ...
Running: ln -s /home/hhd2002/stellite/build_android/src/tools/vim/chromium.ycm_extra_conf.py /home/hhd2002/stellite/.ycm_extra_conf.py
generate ninja script ...
Running: /home/hhd2002/stellite/third_party/depot_tools/gn gen /home/hhd2002/stellite/build_android/src/out_android_armv6/obj
/home/hhd2002/stellite/build_android/.gclient_entries missing, .gclient file in parent directory /home/hhd2002/stellite/build_android might not be the file you want to use.
ERROR at //build/config/android/internal_rules.gni:2483:15: Script returned non-zero exit code.
exec_script("//build/android/gyp/find.py",
^----------
Current dir: /home/hhd2002/stellite/build_android/src/out_android_armv6/obj/
Command: python -- /home/hhd2002/stellite/build_android/src/build/android/gyp/find.py ../../third_party/android_tools/sdk/extras/google/google_play_services/libproject/google-play-services_lib/res
Returned 1.
stderr:

../../third_party/android_tools/sdk/extras/google/google_play_services/libproject/google-play-services_lib/res does not exist

See //build/config/android/rules.gni:704:5: whence it was called.
process_resources(process_resources_target_name) {
^-------------------------------------------------
See //third_party/android_tools/BUILD.gn:112:1: whence it was called.
android_resources("google_play_services_default_resources") {
^------------------------------------------------------------
See //base/BUILD.gn:1092:7: which caused the file to be included.
"//third_party/android_tools:cpu_features",
^-----------------------------------------
Traceback (most recent call last):
File "./tools/build.py", line 2037, in
sys.exit(main(sys.argv[1:]))
File "./tools/build.py", line 2026, in main
build.build()
File "./tools/build.py", line 1382, in build
build.generate_ninja_script(gn_args=gn_context)
File "./tools/build.py", line 829, in generate_ninja_script
self.execute(command, cwd=self.buildspace_src_path)
File "./tools/build.py", line 723, in execute
raise Exception('command execution are failed')
Exception: command execution are failed

```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.