Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/installer.gyp

Issue 22887001: Custom action library, initial version (Closed)
Patch Set: Created Oct. 28, 2013, 9:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/installer.gyp
===================================================================
new file mode 100644
--- /dev/null
+++ b/installer/installer.gyp
@@ -0,0 +1,65 @@
+{
+ 'includes': [ '../defaults.gypi' ],
+
+ 'variables':
+ {
+ # The 'component' variable is required to use 'defaults.gypi'.
+ # It's value 'shared_library' is duplicated by the 'type' property of a target.
+ # We may want to migrate compiler settings for the CA library at some point and stop using 'defaults.gypi' here
+ 'component%': '',
+ },
+
+ 'target_defaults':
+ {
+ 'msvs_cygwin_shell': 0,
Wladimir Palant 2013/10/29 08:49:26 This should be added to defaults.gypi if we need i
Eric 2013/10/29 14:00:58 This declaration is in /libadblockplus/common.gypi
+ },
+
+ 'targets':
+ [
+ #############
+ # Custom Action library for the installer
+ #############
+ {
+ 'target_name': 'installer-ca',
+ 'type': 'shared_library',
+ 'component': 'shared_library',
+ 'sources':
+ [
+ #
+ # Custom Action
+ #
+ 'src/custom-action/abp_ca.cpp',
+ 'src/custom-action/abp_ca.def',
+ 'src/custom-action/abp_ca.rc',
+ 'src/custom-action/close_application.cpp',
+ #
+ # Windows Installer library
+ #
+ 'src/installer-lib/database.cpp',
+ 'src/installer-lib/database.h',
+ 'src/installer-lib/DLL.cpp',
+ 'src/installer-lib/DLL.h',
+ 'src/installer-lib/interaction.cpp',
+ 'src/installer-lib/interaction.h',
+ 'src/installer-lib/property.cpp',
+ 'src/installer-lib/property.h',
+ 'src/installer-lib/record.cpp',
+ 'src/installer-lib/record.h',
+ 'src/installer-lib/session.cpp',
+ 'src/installer-lib/session.h',
+ ],
+ 'include_dirs':
+ [
+ 'src/installer-lib',
+ ],
+ 'link_settings':
+ {
+ 'libraries': [ 'user32.lib', 'Shell32.lib', 'advapi32.lib', 'msi.lib', 'Version.lib' ]
+ },
+ 'msvs_settings':
+ {
+ 'VCLinkerTool': {}
+ }
+ },
+ ]
+}

Powered by Google App Engine
This is Rietveld