Skip to content

Commit

Permalink
add system libXNVCtrl library support in linux unbundle
Browse files Browse the repository at this point in the history
originally developed here:
https://github.com/pld-linux/chromium-browser/commits/ea209591465e59e433cbb231270088a3d45658a2/system-libxnvctrl.patch

reviewed by phajdan.jr in private mail exchange

R=phajdan.jr@chromium.org
BUG=

Review URL: https://codereview.chromium.org/120533002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250495 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
elan.ruusamae@gmail.com committed Feb 11, 2014
1 parent 6682a85 commit 94a14b1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Dongwoo Joshua Im <dw.im@samsung.com>
Douglas F. Turner <doug.turner@gmail.com>
Edward Crossman <tedoc2000@gmail.com>
Ehsan Akhgari <ehsan.akhgari@gmail.com>
Elan Ruusamäe <elan.ruusamae@gmail.com>
Eric Rescorla <ekr@rtfm.com>
Erik Hill <erikghill@gmail.com>
Erik Sjölund <erik.sjolund@gmail.com>
Expand Down
35 changes: 35 additions & 0 deletions build/linux/unbundle/libXNVCtrl.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
'targets': [
{
'target_name': 'libXNVCtrl',
'type': 'none',
'variables': {
'headers_root_path': '.',
'header_filenames': [
'NVCtrlLib.h',
'NVCtrl.h',
],
},
'includes': [
'../../build/shim_headers.gypi',
],
'direct_dependent_settings': {
'cflags': [
'<!@(pkg-config --cflags libXNVCtrl)',
],
},
'link_settings': {
'ldflags': [
'<!@(pkg-config --libs-only-L --libs-only-other libXNVCtrl)',
],
'libraries': [
'<!@(pkg-config --libs-only-l libXNVCtrl)',
],
},
}
],
}
1 change: 1 addition & 0 deletions build/linux/unbundle/replace_gyp_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'use_system_libvpx': 'third_party/libvpx/libvpx.gyp',
'use_system_libwebp': 'third_party/libwebp/libwebp.gyp',
'use_system_libxml': 'third_party/libxml/libxml.gyp',
'use_system_libxnvctrl' : 'third_party/libXNVCtrl/libXNVCtrl.gyp',
'use_system_libxslt': 'third_party/libxslt/libxslt.gyp',
'use_system_openssl': 'third_party/openssl/openssl.gyp',
'use_system_opus': 'third_party/opus/opus.gyp',
Expand Down

0 comments on commit 94a14b1

Please sign in to comment.