1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 { 6 'targets': [ 7 { 8 'target_name': 'libXNVCtrl', 9 'type': 'none', 10 'variables': { 11 'headers_root_path': '.', 12 'header_filenames': [ 13 'NVCtrlLib.h', 14 'NVCtrl.h', 15 ], 16 }, 17 'includes': [ 18 '../../build/shim_headers.gypi', 19 ], 20 'direct_dependent_settings': { 21 'cflags': [ 22 '<!@(pkg-config --cflags libXNVCtrl)', 23 ], 24 }, 25 'link_settings': { 26 'ldflags': [ 27 '<!@(pkg-config --libs-only-L --libs-only-other libXNVCtrl)', 28 ], 29 'libraries': [ 30 '<!@(pkg-config --libs-only-l libXNVCtrl)', 31 ], 32 }, 33 } 34 ], 35 } 36