OLD | NEW |
1 # Copyright (c) 2013 Google Inc. All rights reserved. | 1 # Copyright (c) 2013 Google Inc. 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': 'shard', | 8 'target_name': 'shard', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'msvs_shard': 4, | 10 'msvs_shard': 4, |
11 'sources': [ | 11 'sources': [ |
12 'hello1.cc', | 12 'hello1.cc', |
13 'hello2.cc', | 13 'hello2.cc', |
14 'hello3.cc', | 14 'hello3.cc', |
15 'hello4.cc', | 15 'hello4.cc', |
16 ], | 16 ], |
17 'product_dir': '<(PRODUCT_DIR)', | 17 'product_dir': '<(PRODUCT_DIR)', |
18 }, | 18 }, |
| 19 { |
| 20 'target_name': 'refs_to_shard', |
| 21 'type': 'executable', |
| 22 'dependencies': [ |
| 23 # Make sure references are correctly updated. |
| 24 'shard', |
| 25 ], |
| 26 'sources': [ |
| 27 'hello.cc', |
| 28 ], |
| 29 }, |
19 ] | 30 ] |
20 } | 31 } |
OLD | NEW |