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

Side by Side Diff: content/content_gpu.gypi

Issue 11415138: Linux: create a library loader code generator for dlopen and use it for libpci. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/linux/system.gyp ('k') | content/gpu/gpu_info_collector_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': {
7 'linux_link_libpci%': 0,
8 },
9 'dependencies': [ 6 'dependencies': [
10 '../base/base.gyp:base', 7 '../base/base.gyp:base',
11 '../skia/skia.gyp:skia', 8 '../skia/skia.gyp:skia',
12 '../ui/gl/gl.gyp:gl', 9 '../ui/gl/gl.gyp:gl',
13 ], 10 ],
14 'sources': [ 11 'sources': [
15 'gpu/gpu_dx_diagnostics_win.cc', 12 'gpu/gpu_dx_diagnostics_win.cc',
16 'gpu/gpu_info_collector_android.cc', 13 'gpu/gpu_info_collector_android.cc',
17 'gpu/gpu_info_collector_linux.cc', 14 'gpu/gpu_info_collector_linux.cc',
18 'gpu/gpu_info_collector_mac.mm', 15 'gpu/gpu_info_collector_mac.mm',
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ], 90 ],
94 }], 91 }],
95 ['OS=="win" and branding=="Chrome"', { 92 ['OS=="win" and branding=="Chrome"', {
96 'sources': [ 93 'sources': [
97 '../third_party/amd/AmdCfxPxExt.h', 94 '../third_party/amd/AmdCfxPxExt.h',
98 '../third_party/amd/amd_videocard_info_win.cc', 95 '../third_party/amd/amd_videocard_info_win.cc',
99 ], 96 ],
100 }], 97 }],
101 ['OS=="linux"', { 98 ['OS=="linux"', {
102 'dependencies': [ 99 'dependencies': [
100 '../build/linux/system.gyp:libpci',
103 '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', 101 '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
104 ], 102 ],
105 }], 103 }],
106 ['target_arch=="arm" and chromeos == 1', { 104 ['target_arch=="arm" and chromeos == 1', {
107 'include_dirs': [ 105 'include_dirs': [
108 '<(DEPTH)/third_party/openmax/il', 106 '<(DEPTH)/third_party/openmax/il',
109 ], 107 ],
110 }], 108 }],
111 ['target_arch!="arm" and chromeos == 1', { 109 ['target_arch!="arm" and chromeos == 1', {
112 'include_dirs': [ 110 'include_dirs': [
113 '<(DEPTH)/third_party/libva', 111 '<(DEPTH)/third_party/libva',
114 ], 112 ],
115 }], 113 }],
116 ['linux_link_libpci==0', {
117 'defines': [
118 'DLOPEN_LIBPCI',
119 ],
120 }, { # linux_link_libpci==1
121 'cflags': [
122 '<!@(pkg-config --cflags libpci)',
123 ],
124 'link_settings': {
125 'ldflags': [
126 '<!@(pkg-config --libs-only-L --libs-only-other libpci)',
127 ],
128 'libraries': [
129 '<!@(pkg-config --libs-only-l libpci)',
130 ],
131 }
132 }],
133 ], 114 ],
134 } 115 }
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | content/gpu/gpu_info_collector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698