OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2010 The Chromium Authors. 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 'variables': { |
| 7 'chromium_code': 1, |
| 8 |
| 9 # Keep the archive builder happy. |
| 10 'chrome_personalization%': 1, |
| 11 'use_syncapi_stub%': 0, |
| 12 |
| 13 'conditions': [ |
| 14 ['OS=="win"', { |
| 15 'python': [ |
| 16 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python' |
| 17 ], |
| 18 }, { # OS != win |
| 19 'python': [ |
| 20 'python' |
| 21 ], |
| 22 }], |
| 23 ], |
| 24 }, |
| 25 'includes': [ |
| 26 '../build/common.gypi', |
| 27 ], |
| 28 'target_defaults': { |
| 29 'include_dirs': [ |
| 30 # all our own includes are relative to src/ |
| 31 '..', |
| 32 ], |
| 33 }, |
| 34 'targets': [ |
| 35 { |
| 36 'target_name': 'chrome_launcher', |
| 37 'type': 'executable', |
| 38 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16', |
| 39 'dependencies': [ |
| 40 '../breakpad/breakpad.gyp:breakpad_handler', |
| 41 ], |
| 42 'sources': [ |
| 43 'chrome_launcher_main.cc', |
| 44 'chrome_launcher.cc', |
| 45 'chrome_launcher.h', |
| 46 ], |
| 47 'msvs_settings': { |
| 48 'VCLinkerTool': { |
| 49 'OutputFile': |
| 50 '$(OutDir)\\servers\\$(ProjectName).exe', |
| 51 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 52 'SubSystem': '2', |
| 53 'AdditionalDependencies': [ |
| 54 'shlwapi.lib', |
| 55 ], |
| 56 |
| 57 }, |
| 58 }, |
| 59 'configurations': { |
| 60 'Release_Base': { |
| 61 # Set flags to unconditionally optimize chrome_frame_launcher.exe |
| 62 # for release builds. |
| 63 'msvs_settings': { |
| 64 'VCLinkerTool': { |
| 65 'LinkTimeCodeGeneration': '1', |
| 66 }, |
| 67 'VCCLCompilerTool': { |
| 68 'Optimization': '3', |
| 69 'InlineFunctionExpansion': '2', |
| 70 'EnableIntrinsicFunctions': 'true', |
| 71 'FavorSizeOrSpeed': '2', |
| 72 'OmitFramePointers': 'true', |
| 73 'EnableFiberSafeOptimizations': 'true', |
| 74 'WholeProgramOptimization': 'true', |
| 75 }, |
| 76 'VCLibrarianTool': { |
| 77 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], |
| 78 }, |
| 79 }, |
| 80 }, |
| 81 }, |
| 82 }, |
| 83 ], |
| 84 } |
OLD | NEW |