Add a utility class to retrieve the components of an MSI product
This will be used to map dlls to a particular program.
BUG=717696
Review-Url: https://codereview.chromium.org/2854143005
Cr-Commit-Position: refs/heads/master@{#471193}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 3aab0f0..cdb9db1 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -45,6 +45,7 @@
"netapi32.lib",
"ndfapi.lib", # Used by browser/net/net_error_diagnostics_dialog_win.h
"pdh.lib", # Used by browser/private_working_set_snapshot.h
+ "msi.lib", # Used by browser/conflicts/msi_util_win.h
]
ldflags = [
"/DELAYLOAD:ndfapi.dll",
@@ -273,6 +274,8 @@
"conflicts/module_info_win.h",
"conflicts/module_inspector_win.cc",
"conflicts/module_inspector_win.h",
+ "conflicts/msi_util_win.cc",
+ "conflicts/msi_util_win.h",
"content_settings/chrome_content_settings_utils.cc",
"content_settings/chrome_content_settings_utils.h",
"content_settings/cookie_settings_factory.cc",