Index: chrome/install_static/BUILD.gn |
diff --git a/chrome/install_static/BUILD.gn b/chrome/install_static/BUILD.gn |
index 3fff4aa255ae5b3b508be0ebaf8e0bb39dd0315e..74c2857a05f0cd46b53b2e170abaf00f6b2adb33 100644 |
--- a/chrome/install_static/BUILD.gn |
+++ b/chrome/install_static/BUILD.gn |
@@ -54,6 +54,27 @@ static_library("install_static_util") { |
] |
} |
+# A source set for use by the module in a process that creates the process-wide |
+# InstallDetails instance. |
scottmg
2017/01/16 21:01:15
It would help me (a future naïve reader) to say th
grt (UTC plus 2)
2017/01/16 21:06:47
Great suggestion. Comments added. Future me will a
|
+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. |
+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 = [ |