101-build-drop-useless-deps-simd_asm.patch 957 B

123456789101112131415161718192021222324252627
  1. From dd07b78f561914ccc6cbe076ae66c380304bf92c Mon Sep 17 00:00:00 2001
  2. From: CN_SZTL <[email protected]>
  3. Date: Wed, 19 Aug 2020 12:42:45 +0000
  4. Subject: [PATCH] build: drop useless deps simd_asm
  5. libjpeg_turbo itself has alreadly set the dependency "simd_asm",
  6. and this will cause cross-compile failed:
  7. ```
  8. ERROR Unresolved dependencies.
  9. //:gn_all(//build/toolchain/linux:clang_arm64_openwrt)
  10. needs //third_party/libjpeg_turbo:simd_asm(//build/toolchain/linux:clang_arm64_openwrt)
  11. ```
  12. So, let's drop it in global build file.
  13. ---
  14. src/BUILD.gn | 1 -
  15. 1 file changed, 1 deletion(-)
  16. --- a/src/BUILD.gn
  17. +++ b/src/BUILD.gn
  18. @@ -749,7 +749,6 @@ group("gn_all") {
  19. if (enable_nacl) {
  20. deps += [ "//native_client/src/trusted/platform_qualify:vcpuid" ]
  21. }
  22. - deps += [ "//third_party/libjpeg_turbo:simd_asm" ]
  23. }
  24. if ((is_linux || is_chromeos) && current_toolchain == host_toolchain) {
  25. deps += [ "//v8:v8_shell" ]