New issue
Advanced search Search tips

Issue 831668 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

android_deps build issue

Project Member Reported by xingliu@chromium.org, Apr 11 2018

Issue description

Chrome Version: Trunk

Encountered build issue on Android. It seems the build system tries to 
read android_arch_lifecycle_runtime.info but it doesn't exist.

ERROR at //build/config/android/rules.gni:3131:32: Could not read file.
    _scanned_files = read_file(_info_path, "scope")
                               ^---------
I resolved this to "/usr/local/google/code/clankium/src/third_party/android_deps/repository/android_arch_lifecycle_runtime/android_arch_lifecycle_runtime.info".
See //third_party/android_deps/BUILD.gn:149:1: whence it was called.
android_aar_prebuilt("android_arch_lifecycle_runtime_java") {
^------------------------------------------------------------
See //build/config/android/internal_rules.gni:117:23: which caused the file to be included.
            deps += [ "${_target_label}__build_config" ]

 
Status: WontFix (was: Untriaged)
Found an email thread talking about this.
FYI the steps that worked: echo "target_os = [ 'android' ]" >> .gclient gclient sync --nohooks sudo -E env "PATH=$PATH" gn gen --args='target_os="android" update_android_aar_prebuilts=true' out/tmp (unclear which did what)
I followed those steps too. I also removed 'update_android_aar_prebuilts = true' from my args.


Add the solution here in case people encounters the same issue.

Sign in to add a comment