Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Issue 692543002: Provide a way to disable libpci dependency. (Closed)

Created:
6 years, 1 month ago by bedupontcisco
Modified:
5 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
git://nuxepg2.fr.nds.com/CHROM/chromium-src.git@master
Project:
chromium
Visibility:
Public.

Description

Provide a way to disable libpci dependency. Add a new gyp variable: use_libpci (default value is 1). Add a new define when use_libpci==1: USE_LIBPCI. Don't call specific PCI code in gpu_info_collector_linux.cc if USE_LIBPCI isn't defined. BUG=427401 R=dnicoara@chromium.org

Patch Set 1 #

Total comments: 1

Patch Set 2 : Change include order #

Total comments: 2

Patch Set 3 : Add use_libpci definition into ui.gni (included in gpu/config/BUILD.gn) #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -67 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M build/common.gypi View 5 chunks +9 lines, -0 lines 0 comments Download
M build/config/ui.gni View 1 2 1 chunk +3 lines, -0 lines 1 comment Download
M build/linux/system.gyp View 2 chunks +68 lines, -64 lines 0 comments Download
M gpu/config/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 1 comment Download
M gpu/config/gpu_info_collector_linux.cc View 1 3 chunks +9 lines, -1 line 0 comments Download
M gpu/gpu_config.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (2 generated)
bedupontcisco_gmail.com
6 years, 1 month ago (2014-10-29 14:41:10 UTC) #1
dnicoara
You should remove the NOTRY=true so that the bots can verify the change. https://codereview.chromium.org/692543002/diff/1/gpu/config/gpu_info_collector_linux.cc File ...
6 years, 1 month ago (2014-10-29 15:34:01 UTC) #3
piman
https://codereview.chromium.org/692543002/diff/20001/AUTHORS File AUTHORS (right): https://codereview.chromium.org/692543002/diff/20001/AUTHORS#newcode65 AUTHORS:65: Benjamin Dupont <bedupont@cisco.com> For contributions, we need a Contributor ...
6 years, 1 month ago (2014-10-29 17:17:04 UTC) #4
bedupontcisco_gmail.com
On 2014/10/29 17:17:04, piman (Very slow to review) wrote: > https://codereview.chromium.org/692543002/diff/20001/AUTHORS > File AUTHORS (right): ...
6 years, 1 month ago (2014-10-29 20:25:35 UTC) #5
piman
On 2014/10/29 20:25:35, Benjamin Dupont wrote: > On 2014/10/29 17:17:04, piman (Very slow to review) ...
6 years, 1 month ago (2014-10-29 20:55:04 UTC) #6
piman
On 2014/10/29 20:55:04, piman (Very slow to review) wrote: > On 2014/10/29 20:25:35, Benjamin Dupont ...
6 years, 1 month ago (2014-10-29 20:56:06 UTC) #7
piman
https://codereview.chromium.org/692543002/diff/20001/gpu/config/BUILD.gn File gpu/config/BUILD.gn (right): https://codereview.chromium.org/692543002/diff/20001/gpu/config/BUILD.gn#newcode65 gpu/config/BUILD.gn:65: if (is_linux && use_libpci && (use_x11 || use_ozone)) { ...
6 years, 1 month ago (2014-10-29 21:01:52 UTC) #8
bedupontcisco_gmail.com
On 2014/10/29 20:56:06, piman (Very slow to review) wrote: > On 2014/10/29 20:55:04, piman (Very ...
6 years, 1 month ago (2014-10-29 21:19:47 UTC) #9
piman
On 2014/10/29 21:19:47, Benjamin Dupont wrote: > On 2014/10/29 20:56:06, piman (Very slow to review) ...
6 years, 1 month ago (2014-10-29 21:21:41 UTC) #10
bedupontcisco_gmail.com
On 2014/10/29 21:01:52, piman (Very slow to review) wrote: > https://codereview.chromium.org/692543002/diff/20001/gpu/config/BUILD.gn > File gpu/config/BUILD.gn (right): ...
6 years, 1 month ago (2014-10-29 21:24:58 UTC) #11
bedupontcisco_gmail.com
> > NP, I think I uploaded this CL with my cisco address (I had ...
6 years, 1 month ago (2014-10-29 21:46:42 UTC) #12
piman
On Wed, Oct 29, 2014 at 2:46 PM, <bedupontcisco@gmail.com> wrote: > > NP, I think ...
6 years, 1 month ago (2014-10-29 22:51:29 UTC) #13
bedupontcisco_gmail.com
On 2014/10/29 22:51:29, piman (Very slow to review) wrote: > On Wed, Oct 29, 2014 ...
6 years, 1 month ago (2014-10-30 09:29:56 UTC) #15
brettw
https://codereview.chromium.org/692543002/diff/40001/build/config/ui.gni File build/config/ui.gni (right): https://codereview.chromium.org/692543002/diff/40001/build/config/ui.gni#newcode23 build/config/ui.gni:23: # Use the PCI lib to collect GPU information. ...
6 years, 1 month ago (2014-10-30 17:00:50 UTC) #16
Benjamin Dupont
6 years, 1 month ago (2014-10-31 10:19:13 UTC) #17
On 2014/10/30 17:00:50, brettw wrote:
> https://codereview.chromium.org/692543002/diff/40001/build/config/ui.gni
> File build/config/ui.gni (right):
> 
>
https://codereview.chromium.org/692543002/diff/40001/build/config/ui.gni#newc...
> build/config/ui.gni:23: # Use the PCI lib to collect GPU information.
> Can this comment include whether this is Linux only? (I assume it is).
> 
> Is it possible to move this to the BUILD.gn file in GPU? In the GN build we
> avoid globals, and basically all of the stuff in ui.gni and features.gni
should
> be moved out.
> 
> https://codereview.chromium.org/692543002/diff/40001/gpu/config/BUILD.gn
> File gpu/config/BUILD.gn (right):
> 
>
https://codereview.chromium.org/692543002/diff/40001/gpu/config/BUILD.gn#newc...
> gpu/config/BUILD.gn:65: if(use_libpci) {
> space before (
Done, I create a new CL with my Cisco account:
https://codereview.chromium.org/692893004

Powered by Google App Engine
This is Rietveld 408576698