OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'test_ltcg_default', |
| 9 'type': 'executable', |
| 10 'variables': { |
| 11 'LinkTimeCodeGenerationOptionDefault': '0', |
| 12 }, |
| 13 'msvs_settings': { |
| 14 'VCLinkerTool': { |
| 15 'LinkTimeCodeGeneration': '<(LinkTimeCodeGenerationOptionDefault)', |
| 16 }, |
| 17 }, |
| 18 'sources': ['hello.cc'], |
| 19 }, |
| 20 { |
| 21 'target_name': 'test_ltcg_use', |
| 22 'type': 'executable', |
| 23 'variables': { |
| 24 'LinkTimeCodeGenerationOptionUse': '1', |
| 25 }, |
| 26 'msvs_settings': { |
| 27 'VCLinkerTool': { |
| 28 'LinkTimeCodeGeneration': '<(LinkTimeCodeGenerationOptionUse)', |
| 29 }, |
| 30 }, |
| 31 'sources': ['hello.cc'], |
| 32 }, |
| 33 { |
| 34 'target_name': 'test_ltcg_instrument', |
| 35 'type': 'executable', |
| 36 'variables': { |
| 37 'LinkTimeCodeGenerationOptionInstrument': '2', |
| 38 }, |
| 39 'msvs_settings': { |
| 40 'VCLinkerTool': { |
| 41 'LinkTimeCodeGeneration': '<(LinkTimeCodeGenerationOptionInstrument)', |
| 42 }, |
| 43 }, |
| 44 'sources': ['hello.cc'], |
| 45 }, |
| 46 { |
| 47 'target_name': 'test_ltcg_optimize', |
| 48 'type': 'executable', |
| 49 'variables': { |
| 50 'LinkTimeCodeGenerationOptionOptimize': '3', |
| 51 }, |
| 52 'msvs_settings': { |
| 53 'VCLinkerTool': { |
| 54 'LinkTimeCodeGeneration': '<(LinkTimeCodeGenerationOptionOptimize)', |
| 55 }, |
| 56 }, |
| 57 'sources': ['hello.cc'], |
| 58 }, |
| 59 { |
| 60 'target_name': 'test_ltcg_update', |
| 61 'type': 'executable', |
| 62 'variables': { |
| 63 'LinkTimeCodeGenerationOptionUpdate': '4', |
| 64 }, |
| 65 'msvs_settings': { |
| 66 'VCLinkerTool': { |
| 67 'LinkTimeCodeGeneration': '<(LinkTimeCodeGenerationOptionUpdate)', |
| 68 }, |
| 69 }, |
| 70 'sources': ['hello.cc'], |
| 71 }, |
| 72 ] |
| 73 } |
OLD | NEW |