1 # Copyright (c) 2015 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': 'an_exe', 9 'type': 'executable', 10 'sources': ['exe.cc'], 11 'dependencies': [ 12 'a_dll', 13 ], 14 }, 15 { 16 'target_name': 'a_dll', 17 'type': 'shared_library', 18 'sources': ['dll.cc'], 19 'dependencies': [ 20 'a_lib', 21 ], 22 'msvs_settings': { 23 'VCLinkerTool': { 24 'UseLibraryDependencyInputs': 'true' 25 }, 26 }, 27 }, 28 { 29 'target_name': 'a_lib', 30 'type': 'static_library', 31 'dependencies': [ 32 'a_module', 33 ], 34 'sources': ['a.cc'], 35 }, 36 { 37 'target_name': 'a_module', 38 'type': 'loadable_module', 39 'sources': ['a.cc'], 40 }, 41 ] 42 } 43