[chromium-dev] CUPS on Chromium Linux, but not in ChromiumOS

46 views
Skip to first unread message

Gene Gutnik

unread,
May 19, 2010, 4:58:40 PM5/19/10
to chromi...@chromium.org
Hi Chromium-dev,
I have code for Chromium desktop only that uses CUPS and modified install-build-deps.sh to install CUPS. However, I want my code (and CUPS) to compile and run on desktop Chromium for Linux only, and not for ChromiumOS. And update only Linux build-bots, and not Arm ones.
What is the best way to archive this?

BTW, I saw in chrome.gyp string like 'OS=="linux" and target_arch!="arm"'. I assume it is not quite what I want, since ChromiumOS may be build on intel as well, right?

Thanks,
Gene

--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Tony Chang

unread,
May 19, 2010, 10:07:36 PM5/19/10
to ge...@chromium.org, chromi...@chromium.org
Within gyp files, you can use the chromeos variable to include/exclude files or dependencies.  When chromeos is 1, this also sets adds -DOS_CHROMEOS to the build so you can use that in a cc file.  I think it's ok for install-build-deps.sh to install the packages for chromeos, it should be harmless.  Does that answer your question?

tony
Reply all
Reply to author
Forward
0 new messages