OLD | NEW |
1 { | 1 { |
2 'includes': ['defaults.gypi'], | 2 'includes': ['defaults.gypi'], |
3 | 3 |
4 'variables': { | 4 'variables': { |
5 'build_type%': 'devbuild', | 5 'build_type%': 'devbuild', |
6 'build_version%': '', | 6 'build_version%': '', |
7 'shared_files': [ | 7 'shared_files': [ |
8 'src/shared/AutoHandle.cpp', | 8 'src/shared/AutoHandle.cpp', |
9 'src/shared/Communication.cpp', | 9 'src/shared/Communication.cpp', |
10 'src/shared/Dictionary.cpp', | 10 'src/shared/Dictionary.cpp', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 }, | 65 }, |
66 }, | 66 }, |
67 | 67 |
68 { | 68 { |
69 'target_name': 'AdblockPlus', | 69 'target_name': 'AdblockPlus', |
70 'type': 'shared_library', | 70 'type': 'shared_library', |
71 'sources': [ | 71 'sources': [ |
72 'src/plugin/AdblockPlusClient.cpp', | 72 'src/plugin/AdblockPlusClient.cpp', |
73 'src/plugin/AdblockPlusDomTraverser.cpp', | 73 'src/plugin/AdblockPlusDomTraverser.cpp', |
74 'src/plugin/AdblockPlusTab.cpp', | 74 'src/plugin/AdblockPlusTab.cpp', |
| 75 'src/plugin/NotificationMessage.cpp', |
75 'src/plugin/Plugin.cpp', | 76 'src/plugin/Plugin.cpp', |
76 'src/plugin/PluginClass.cpp', | 77 'src/plugin/PluginClass.cpp', |
77 'src/plugin/PluginClientBase.cpp', | 78 'src/plugin/PluginClientBase.cpp', |
78 'src/plugin/PluginClientFactory.cpp', | 79 'src/plugin/PluginClientFactory.cpp', |
79 'src/plugin/PluginDebug.cpp', | 80 'src/plugin/PluginDebug.cpp', |
80 'src/plugin/PluginFilter.cpp', | 81 'src/plugin/PluginFilter.cpp', |
81 'src/plugin/PluginMimeFilterClient.cpp', | 82 'src/plugin/PluginMimeFilterClient.cpp', |
82 'src/plugin/PluginMutex.cpp', | 83 'src/plugin/PluginMutex.cpp', |
83 'src/plugin/PluginSettings.cpp', | 84 'src/plugin/PluginSettings.cpp', |
84 'src/plugin/PluginStdAfx.cpp', | 85 'src/plugin/PluginStdAfx.cpp', |
85 'src/plugin/PluginSystem.cpp', | 86 'src/plugin/PluginSystem.cpp', |
86 'src/plugin/PluginTabBase.cpp', | 87 'src/plugin/PluginTabBase.cpp', |
87 'src/plugin/PluginUserSettings.cpp', | 88 'src/plugin/PluginUserSettings.cpp', |
88 'src/plugin/PluginUtil.cpp', | 89 'src/plugin/PluginUtil.cpp', |
89 'src/plugin/PluginWbPassThrough.cpp', | 90 'src/plugin/PluginWbPassThrough.cpp', |
90 'src/plugin/AdblockPlus.def', | 91 'src/plugin/AdblockPlus.def', |
91 'src/plugin/AdblockPlus.idl', | 92 'src/plugin/AdblockPlus.idl', |
92 'src/plugin/AdblockPlus.rc', | 93 'src/plugin/AdblockPlus.rc', |
93 'src/plugin/AdblockPlus.rgs', | 94 'src/plugin/AdblockPlus.rgs', |
94 '<@(shared_files)', | 95 '<@(shared_files)', |
95 ], | 96 ], |
96 'include_dirs': [ | 97 'include_dirs': [ |
97 '$(WindowsSDK_IncludePath)', | 98 '$(WindowsSDK_IncludePath)', |
98 '$(VCInstallDir)atlmfc/include', | 99 '$(VCInstallDir)atlmfc/include', |
99 '$(WINDDKDIR)/inc/atl71', | 100 '$(WINDDKDIR)/inc/atl71', |
100 ], | 101 ], |
101 'defines': ['PRODUCT_ADBLOCKPLUS'], | 102 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or
a DLL |
| 103 # That Is Brought into a Process" on the link here: |
| 104 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85
%29.aspx#using_manifests |
| 105 'defines': ['PRODUCT_ADBLOCKPLUS', 'ISOLATION_AWARE_ENABLED'], |
102 'libraries': [ | 106 'libraries': [ |
103 '-latlthunk', | 107 '-latlthunk', |
104 '-lwinhttp', | 108 '-lwinhttp', |
105 '-lshell32', | 109 '-lshell32', |
| 110 '-lComctl32', |
106 ], | 111 ], |
107 'configurations': { | 112 'configurations': { |
108 # 'libraries' is not allowed under 'configurations' :-( | 113 # 'libraries' is not allowed under 'configurations' :-( |
109 'Debug': { | 114 'Debug': { |
110 'msvs_settings': { | 115 'msvs_settings': { |
111 'VCLinkerTool': { | 116 'VCLinkerTool': { |
112 'AdditionalDependencies': ['atlsd.lib'], | 117 'AdditionalDependencies': ['atlsd.lib'], |
113 }, | 118 }, |
114 }, | 119 }, |
115 }, | 120 }, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], | 165 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], |
161 }, | 166 }, |
162 'msvs_settings': { | 167 'msvs_settings': { |
163 'VCLinkerTool': { | 168 'VCLinkerTool': { |
164 'SubSystem': '1', # Console | 169 'SubSystem': '1', # Console |
165 'EntryPointSymbol': 'mainCRTStartup', | 170 'EntryPointSymbol': 'mainCRTStartup', |
166 }, | 171 }, |
167 }, | 172 }, |
168 }] | 173 }] |
169 } | 174 } |
OLD | NEW |