1 todo use generate_shim_headers script
3 --- chromium-browser-24.0.1312.45/src/third_party/libXNVCtrl/libXNVCtrl.gyp 2013-01-04 00:45:35.620067292 +0200
4 +++ chromium-browser-25.0.1364.29/src/third_party/libXNVCtrl/libXNVCtrl.gyp 2013-01-12 16:17:25.440747088 +0200
9 - 'target_name': 'libXNVCtrl',
10 - 'type': 'static_library',
17 + 'use_system_libxnvctrl%': 0,
20 + ['use_system_libxnvctrl==0', {
23 + 'target_name': 'libXNVCtrl',
24 + 'type': 'static_library',
35 + }, { # use_system_libxnvctrl==1
39 + 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
43 + 'pkg-config': 'pkg-config'
49 + 'target_name': 'libXNVCtrl',
51 + 'direct_dependent_settings': {
53 + '<!@(<(pkg-config) --cflags libXNVCtrl)',
56 + 'USE_SYSTEM_LIBXNVCTRL',
61 + '<!@(<(pkg-config) --libs-only-L --libs-only-other libXNVCtrl)',
64 + '<!@(<(pkg-config) --libs-only-l libXNVCtrl)',
72 --- chromium-browser-25.0.1364.29/src/content/gpu/gpu_info_collector_linux.cc 2013-01-12 16:11:48.998635662 +0200
73 +++ chromium-browser-25.0.1364.29/src/content/gpu/gpu_info_collector_linux.cc 2013-01-12 16:29:12.273316708 +0200
75 #include "base/string_tokenizer.h"
76 #include "base/string_util.h"
77 #include "library_loaders/libpci.h"
78 -#include "third_party/libXNVCtrl/NVCtrl.h"
79 -#include "third_party/libXNVCtrl/NVCtrlLib.h"
80 +#include "third_party/libXNVCtrl/libXNVCtrl.h"
81 #include "ui/gl/gl_bindings.h"
82 #include "ui/gl/gl_context.h"
83 #include "ui/gl/gl_implementation.h"
84 --- /dev/null 2007-02-13 18:29:53.000000000 +0200
85 +++ hromium-browser-25.0.1364.29/src/third_party/libXNVCtrl/libXNVCtrl.h 2013-01-12 16:27:55.676465329 +0200
87 +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
88 +// Use of this source code is governed by a BSD-style license that can be
89 +// found in the LICENSE file.
91 +// This is a shim header to include the right opus header.
92 +// Use this instead of referencing the opus header directly.
94 +#if !defined(THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H)
95 +#define THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H
96 +#if defined(USE_SYSTEM_LIBXNVCTRL)
98 +#include <NVCtrlLib.h>
100 +#include "third_party/libXNVCtrl/NVCtrl.h"
101 +#include "third_party/libXNVCtrl/NVCtrlLib.h"