Whether components_unittests can be built for Linux platform

瀏覽次數:36 次
跳到第一則未讀訊息

Berte Colin

未讀,
2021年9月15日 清晨7:15:042021/9/15
收件者:Chromium-dev
Hi, 

I wanna build component_unittests for Linux platform to run unit tests of components/,

but built failed cause lack of some files like third_party/cros_system_api,

so I tried execute build/install-build-deps.sh and build/install-build-deps-android.sh, still failed.

So I wonder if I can build component_unittests for Linux platform.

Joe Mason

未讀,
2021年9月15日 上午11:10:532021/9/15
收件者:zhangzh...@gmail.com、Chromium-dev
Yes, component_unittests should build fine on Linux. cros_system_api is a ChromeOS file so it shouldn't be involved.

There must be something wrong with your gclient args or GN args that makes GN think you're building for ChromeOS. Double-check the build instructions at https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/build_instructions.md to make sure you're set up correctly.

I assume you're trying to build the Chromium browser on Linux. If you actually ARE trying to build ChromeOS on a Linux development machine, you should ask this question on chromium-os-dev (https://groups.google.com/a/chromium.org/g/chromium-os-dev). chromium-dev is for the browser only.

--
--
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/1a1e85ca-efc0-4627-b6b4-2bedb5007c06n%40chromium.org.
回覆所有人
回覆作者
轉寄
0 則新訊息