Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1180)

Unified Diff: chrome_frame/chrome_frame_launcher.gyp

Issue 7065024: Add a self-destruct mechanism to user-level Chrome Frame when it detects that system-level Chrome... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/chrome_frame_launcher.gyp
===================================================================
--- chrome_frame/chrome_frame_launcher.gyp (revision 85906)
+++ chrome_frame/chrome_frame_launcher.gyp (working copy)
@@ -102,6 +102,7 @@
'../chrome/chrome.gyp:chrome_version_header',
'chrome_frame.gyp:chrome_frame_utils',
'chrome_frame_helper_dll',
+ 'chrome_frame_helper_lib',
],
'resource_include_dirs': [
'<(INTERMEDIATE_DIR)',
@@ -131,6 +132,7 @@
'msvs_guid': '5E80032F-7033-4661-9016-D98268244783',
'dependencies': [
'../chrome/chrome.gyp:chrome_version_header',
+ 'chrome_frame_helper_lib',
],
'resource_include_dirs': [
'<(INTERMEDIATE_DIR)',
@@ -146,8 +148,6 @@
'bho_loader.h',
'chrome_frame_helper_dll.cc',
'chrome_frame_helper_dll.def',
- 'chrome_frame_helper_util.cc',
- 'chrome_frame_helper_util.h',
'chrome_frame_helper_version.rc',
'<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h',
'chrome_tab.idl',
@@ -167,5 +167,40 @@
},
},
},
+ {
+ 'target_name': 'chrome_frame_helper_lib',
+ 'type': 'static_library',
+ 'msvs_guid': '9984D820-1D28-48A7-957C-2AFA41B416C9',
+ 'dependencies': [
+ '../chrome/chrome.gyp:chrome_version_header',
+ ],
+ 'resource_include_dirs': [
+ '<(INTERMEDIATE_DIR)',
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'include_dirs': [
+ # To allow including "chrome_tab.h"
+ '<(INTERMEDIATE_DIR)',
+ '<(INTERMEDIATE_DIR)/../chrome_frame',
+ ],
+ 'sources': [
+ 'chrome_frame_helper_util.cc',
+ 'chrome_frame_helper_util.h',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h',
+ 'chrome_tab.idl',
+ 'iids.cc',
+ ],
+ 'msvs_settings': {
grt (UTC plus 2) 2011/05/25 16:10:07 This looks like copy-n-paste that doesn't belong.
robertshield 2011/05/26 15:14:28 Oops, removed those. Still need the shlwapi dep th
+ 'VCLinkerTool': {
+ 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll',
+ 'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb',
+ # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
+ 'SubSystem': '2',
+ 'AdditionalDependencies': [
+ 'shlwapi.lib',
+ ],
+ },
+ },
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698