Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 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': 'mylib', |
| 9 | 'type': 'static_library', |
| 10 | 'sources': [ 'foo.c' ], |
| 11 | }, |
| 12 | { |
| 13 | 'target_name': 'mysolib', |
| 14 | 'type': 'shared_library', |
| 15 | 'dependencies': [ 'mylib' ], |
| 16 | 'copies': [ |
| 17 | { |
| 18 | 'destination': '<(PRODUCT_DIR)/copies-out', |
| 19 | 'files': [ 'file1' ], |
| 20 | }, |
| 21 | ], |
| 22 | # link.exe gets confused by sourceless shared libraries and needs this |
| 23 | # to become unconfused. |
| 24 | 'msvs_settings': { 'VCLinkerTool': { 'TargetMachine': '1', }, }, |
| 25 | }, |
| 26 | ], |
| 27 | } |