| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'libpng', | 8 'target_name': 'libXNVCtrl', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'dependencies': [ | |
| 11 '../zlib/zlib.gyp:zlib', | |
| 12 ], | |
| 13 'direct_dependent_settings': { | |
| 14 'cflags': [ | |
| 15 '<!@(pkg-config --cflags libpng)', | |
| 16 ], | |
| 17 }, | |
| 18 'link_settings': { | |
| 19 'ldflags': [ | |
| 20 '<!@(pkg-config --libs-only-L --libs-only-other libpng)', | |
| 21 ], | |
| 22 'libraries': [ | |
| 23 '<!@(pkg-config --libs-only-l libpng)', | |
| 24 ], | |
| 25 }, | |
| 26 'variables': { | 10 'variables': { |
| 27 'headers_root_path': '.', | 11 'headers_root_path': '.', |
| 28 'header_filenames': [ | 12 'header_filenames': [ |
| 29 'png.h', | 13 'NVCtrlLib.h', |
| 30 'pngconf.h', | 14 'NVCtrl.h', |
| 31 ], | 15 ], |
| 32 }, | 16 }, |
| 33 'includes': [ | 17 'includes': [ |
| 34 '../../build/shim_headers.gypi', | 18 '../../build/shim_headers.gypi', |
| 35 ], | 19 ], |
| 36 }, | 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 } |
| 37 ], | 34 ], |
| 38 } | 35 } |
| OLD | NEW |