Index: chrome/install_static/BUILD.gn |
diff --git a/chrome/install_static/BUILD.gn b/chrome/install_static/BUILD.gn |
index 3fff4aa255ae5b3b508be0ebaf8e0bb39dd0315e..36879018105577504cead736811b528cba00ad53 100644 |
--- a/chrome/install_static/BUILD.gn |
+++ b/chrome/install_static/BUILD.gn |
@@ -54,6 +54,28 @@ static_library("install_static_util") { |
] |
} |
+# A source set for use by the module in a process that creates the process-wide |
+# InstallDetails instance (i.e., chrome_elf.dll). |
+source_set("primary_module") { |
+ sources = [ |
+ "get_install_details_payload.cc", |
+ ] |
+} |
+ |
+# A source set for use by modules in a process that fetch the process-wide |
+# InstallDetails instance from the primary module by way of |
+# GetInstallDetailsPayload (i.e., chrome.exe, chrome.dll, chrome_child.dll, and |
+# chrome_watcher.dll). |
+source_set("secondary_module") { |
+ sources = [ |
+ "initialize_from_primary_module.cc", |
+ "initialize_from_primary_module.h", |
+ ] |
+ deps = [ |
+ ":install_static_util", |
+ ] |
+} |
+ |
test("install_static_unittests") { |
output_name = "install_static_unittests" |
sources = [ |