build cronet error

114 views
Skip to first unread message

sunny ruan

unread,
Apr 13, 2019, 10:25:44 AM4/13/19
to Chromium-dev
 I build cronet android on ubuntu platform, 
run
 ninja -C out/Cronet cronet_package


get error 
[616/6639] ACTION //components/cronet/android:generate_licenses(//build/toolchain/android:android_clang_x86)
FAILED: cronet/LICENSE 
python ../../tools/licenses.py license_file cronet/LICENSE --gn-target //components/cronet/android:cronet --gn-out-dir .
Traceback (most recent call last):
  File "../../tools/licenses.py", line 774, in <module>
    sys.exit(main())
  File "../../tools/licenses.py", line 766, in main
    args.output_file, args.gn_out_dir, args.gn_target):
  File "../../tools/licenses.py", line 711, in GenerateLicenseFile
    third_party_dirs = FindThirdPartyDeps(gn_out_dir, gn_target)
  File "../../tools/licenses.py", line 546, in FindThirdPartyDeps
    subprocess.check_output([_GnBinary(), "gen", tmp_dir])
  File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['xxx/chromium/src/buildtools/linux64/gn', 'gen', './tmpIhuU4M']' returned non-zero exit status 1
[621/6639] CXX obj/components/version_info/version_info/version_info.o
ninja: build stopped: subcommand failed.


Takuto Ikuta

unread,
Apr 13, 2019, 11:03:31 AM4/13/19
to sunny...@gmail.com, Chromium-dev
Did you run `gclient sync`?
And what is written in your out/Cronet/args.gn?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/df6c4bee-1b75-4cfa-a8e7-45b02909a199%40chromium.org.
Reply all
Reply to author
Forward
0 new messages