chromeos: dbus: add Bluetooth properties support
[chromium-blink-merge.git] / chrome_frame / chrome_frame_launcher.gyp
blob98974eaaa8123cf04c25efcd51a755bea1fcad99
1 # Copyright (c) 2011 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.
6   'variables': {
7     'chromium_code': 1,
9     # Keep the archive builder happy.
10     'chrome_personalization%': 1,
11     'use_syncapi_stub%': 0,
13     'variables': {
14       'version_py_path': '../tools/build/version.py',
15       'version_path': 'VERSION',
16     },
17     'version_py_path': '<(version_py_path) -f',
18     'version_path': '<(version_path)',
20     'conditions': [
21       ['OS=="win"', {
22         'python': [
23           '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python'
24         ],
25       }, { # OS != win
26         'python': [
27           'python'
28         ],
29       }],
30     ],
31   },
32   'target_defaults': {
33     'include_dirs': [
34       # all our own includes are relative to src/
35       '..',
36     ],
37     'configurations': {
38       'Release_Base': {
39         # Set flags to unconditionally optimize chrome_frame_launcher.exe
40         # for release builds.
41         'msvs_settings': {
42           'VCLinkerTool': {
43             'LinkTimeCodeGeneration': '1',
44           },
45           'VCCLCompilerTool': {
46             'Optimization': '3',
47             'InlineFunctionExpansion': '2',
48             'EnableIntrinsicFunctions': 'true',
49             'FavorSizeOrSpeed': '2',
50             'OmitFramePointers': 'true',
51             'EnableFiberSafeOptimizations': 'true',
52             'WholeProgramOptimization': 'true',
53           },
54           'VCLibrarianTool': {
55             'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'],
56           },
57         },
58       },
59     },
60   },
61   'targets': [
62     {
63       'target_name': 'chrome_launcher',
64       'type': 'executable',
65       'dependencies': [
66         '../breakpad/breakpad.gyp:breakpad_handler',
67         '../chrome/chrome.gyp:chrome_version_header',
68         '../google_update/google_update.gyp:google_update',
69         'chrome_frame.gyp:chrome_frame_utils',
70       ],
71       'sources': [
72         'chrome_launcher_main.cc',
73         'chrome_launcher_version.rc',
74         'chrome_launcher.cc',
75         'chrome_launcher.h',
76         'update_launcher.cc',
77         'update_launcher.h'
78       ],
79       'msvs_settings': {
80         'VCLinkerTool': {
81           # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
82           'SubSystem': '2',
83           'AdditionalDependencies': [
84             'shlwapi.lib',
85           ],
86         },
87       },
88     },
89     {
90       'target_name': 'chrome_frame_helper',
91       'type': 'executable',
92       'dependencies': [
93         '../breakpad/breakpad.gyp:breakpad_handler',
94         '../chrome/chrome.gyp:chrome_version_header',
95         'chrome_frame.gyp:chrome_frame_utils',
96         'chrome_frame_helper_dll',
97         'chrome_frame_helper_lib',
98       ],
99       'sources': [
100         'chrome_frame_helper_main.cc',
101         'chrome_frame_helper_version.rc',
102       ],
103       'msvs_settings': {
104         'VCLinkerTool': {
105           'OutputFile':
106               '$(OutDir)\\$(ProjectName).exe',
107           # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
108           'SubSystem': '2',
109         },
110       },
111     },
112     {
113       'target_name': 'chrome_frame_helper_dll',
114       'type': 'shared_library',
115       'dependencies': [
116         '../chrome/chrome.gyp:chrome_version_header',
117         'chrome_frame.gyp:chrome_tab_idl',
118         'chrome_frame_helper_lib',
119       ],
120       'sources': [
121         'bho_loader.cc',
122         'bho_loader.h',
123         'chrome_frame_helper_dll.cc',
124         'chrome_frame_helper_dll.def',
125         'chrome_frame_helper_version.rc',
126         '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
127         'event_hooker.cc',
128         'event_hooker.h',
129         'iids.cc',
130       ],
131       'msvs_settings': {
132         'VCLinkerTool': {
133           'OutputFile': '$(OutDir)\\chrome_frame_helper.dll',
134           'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb',
135           # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
136           'SubSystem': '2',
137         },
138       },
139     },
140     {
141       'target_name': 'chrome_frame_helper_lib',
142       'type': 'static_library',
143       'dependencies': [
144         '../chrome/chrome.gyp:chrome_version_header',
145         'chrome_frame.gyp:chrome_tab_idl',
146       ],
147       'sources': [
148         'chrome_frame_helper_util.cc',
149         'chrome_frame_helper_util.h',
150         'registry_watcher.cc',
151         'registry_watcher.h',
152         '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
153         'iids.cc',
154       ],
155       'msvs_settings': {
156         'VCLinkerTool': {
157           'AdditionalDependencies': [
158             'shlwapi.lib',
159           ],
160         },
161       },
162     },
163   ],