Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 1 | { |
| 2 | 'conditions': [ |
| 3 | # Handle build types. |
| 4 | ['buildtype=="Dev"', { |
| 5 | 'includes': ['internal/release_impl.gypi'], |
| 6 | }], |
| 7 | ['buildtype=="Dev" and incremental_chrome_dll==1', { |
| 8 | 'msvs_settings': { |
| 9 | 'VCLinkerTool': { |
| 10 | # Enable incremental linking and disable conflicting link options: |
| 11 | # http://msdn.microsoft.com/en-us/library/4khtbfyf.aspx |
| 12 | 'LinkIncremental': '2', |
| 13 | 'OptimizeReferences': '1', |
| 14 | 'EnableCOMDATFolding': '1', |
| 15 | 'Profile': 'false', |
| 16 | }, |
| 17 | }, |
| 18 | }], |
| 19 | ['buildtype=="Official"', { |
| 20 | 'includes': ['internal/release_impl_official.gypi'], |
| 21 | }], |
| 22 | # TODO(bradnelson): may also need: |
| 23 | # checksenabled |
| 24 | # coverage |
| 25 | # dom_stats |
| 26 | # pgo_instrument |
| 27 | # pgo_optimize |
| 28 | ], |
| 29 | } |