Index: content/content.gyp |
diff --git a/content/content.gyp b/content/content.gyp |
index 762379da465561610b4d93f29b68811bbb9b1387..21865c2f0cfae8600e78ce2ec02f6c4704568693 100644 |
--- a/content/content.gyp |
+++ b/content/content.gyp |
@@ -30,7 +30,7 @@ |
}, |
}, |
}], |
- |
+ |
], |
}, |
'conditions': [ |
@@ -40,6 +40,43 @@ |
], |
}], |
['OS != "ios"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'content_user32_delay_imports', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'user32.delay.imports', |
+ ], |
+ 'actions': [ |
+ { |
+ 'inputs': [ |
+ '<(DEPTH)/build/win/importlibs/create_importlib_win.py', |
+ '<@(_sources)', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/lib/content.user32.delay.imports.lib' |
+ ], |
+ 'action_name': 'build_content_user32_imports', |
+ 'action': [ |
+ 'python', |
+ '<(DEPTH)/build/win/importlibs/create_importlib_win.py', |
+ '--verbose', |
+ '--output-dir', '<(PRODUCT_DIR)/lib', |
+ '<@(_sources)', |
+ ], |
+ }, |
+ ], |
+ 'link_settings': { |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'AdditionalDependencies': [ |
+ '<(PRODUCT_DIR)/lib/content.user32.delay.imports.lib' |
+ ], |
+ }, |
+ }, |
+ }, |
+ }, |
+ ], |
'includes': [ |
'../build/win_precompile.gypi', |
'content_shell.gypi', |