1 # Copyright (c) 2012 Google Inc. 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': 'test_libdirs_none', 9 'type': 'executable', 10 'msvs_settings': { 11 'VCLinkerTool': { 12 'AdditionalDependencies': [ 13 'test_lib.lib', 14 ], 15 }, 16 }, 17 'sources': ['library-directories-reference.cc'], 18 }, 19 { 20 'target_name': 'test_libdirs_with', 21 'type': 'executable', 22 'msvs_settings': { 23 'VCLinkerTool': { 24 # NOTE: Don't use this for general dependencies between gyp 25 # libraries (use 'dependencies' instead). This is done here only for 26 # testing. 27 # 28 # This setting should only be used to depend on third party prebuilt 29 # libraries that are stored as binaries at a known location. 30 'AdditionalLibraryDirectories': [ 31 '<(DEPTH)/out/Default/obj/subdir', # ninja style 32 '<(DEPTH)/subdir/Default/lib', # msvs style 33 ], 34 'AdditionalDependencies': [ 35 'test_lib.lib', 36 ], 37 }, 38 }, 39 'sources': ['library-directories-reference.cc'], 40 }, 41 ] 42 } 43