1 # Copyright (c) 2012 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.
9 # Keep the archive builder happy.
10 'chrome_personalization%': 1,
11 'use_syncapi_stub%': 0,
14 'version_py_path': '../tools/build/version.py',
15 'version_path': 'VERSION',
17 'version_py_path': '<(version_py_path) -f',
18 'version_path': '<(version_path)',
23 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python'
33 '../chrome/version.gypi',
37 # all our own includes are relative to src/
42 # Set flags to unconditionally optimize chrome_frame_launcher.exe
46 'LinkTimeCodeGeneration': '1',
50 'InlineFunctionExpansion': '2',
51 'EnableIntrinsicFunctions': 'true',
52 'FavorSizeOrSpeed': '2',
53 'OmitFramePointers': 'true',
54 'EnableFiberSafeOptimizations': 'true',
55 'WholeProgramOptimization': 'true',
58 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'],
66 'target_name': 'chrome_frame_launcher_version_resources',
69 ['branding == "Chrome"', {
71 'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
73 }, { # else branding!="Chrome"
75 'branding_path': '../chrome/app/theme/chromium/BRANDING',
80 'output_dir': 'chrome_frame',
81 'template_input_path': 'chrome_frame_version.rc.version',
82 'extra_variable_files_arguments': [ '-f', 'BRANDING' ],
83 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above
85 'direct_dependent_settings': {
87 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
91 'chrome_frame_helper_dll.ver',
92 'chrome_frame_helper_exe.ver',
93 'chrome_launcher_exe.ver',
96 '../chrome/version_resource_rules.gypi',
100 'target_name': 'chrome_launcher',
101 'type': 'executable',
103 '../breakpad/breakpad.gyp:breakpad_handler',
104 '../chrome/app/policy/cloud_policy_codegen.gyp:policy',
105 '../google_update/google_update.gyp:google_update',
106 'chrome_frame.gyp:chrome_frame_utils',
107 'chrome_frame_launcher_version_resources',
110 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc',
111 'chrome_launcher_main.cc',
112 'chrome_launcher.cc',
114 'update_launcher.cc',
119 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
121 'AdditionalDependencies': [
128 'target_name': 'chrome_frame_helper',
129 'type': 'executable',
131 '../breakpad/breakpad.gyp:breakpad_handler',
132 'chrome_frame.gyp:chrome_frame_utils',
133 'chrome_frame_helper_dll',
134 'chrome_frame_helper_lib',
135 'chrome_frame_launcher_version_resources',
138 'chrome_frame_helper_main.cc',
139 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_helper_exe_version.rc',
144 '$(OutDir)\\$(ProjectName).exe',
145 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
151 'target_name': 'chrome_frame_helper_dll',
152 'type': 'shared_library',
154 'chrome_frame.gyp:chrome_tab_idl',
155 'chrome_frame_helper_lib',
156 'chrome_frame_launcher_version_resources',
161 'chrome_frame_helper_dll.cc',
162 'chrome_frame_helper_dll.def',
163 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_helper_dll_version.rc',
164 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
171 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll',
172 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
178 'target_name': 'chrome_frame_helper_lib',
179 'type': 'static_library',
181 'chrome_frame.gyp:chrome_tab_idl',
184 'chrome_frame_helper_util.cc',
185 'chrome_frame_helper_util.h',
186 'registry_watcher.cc',
187 'registry_watcher.h',
188 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
193 'AdditionalDependencies': [