Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5972)

Unified Diff: chrome/install_static/BUILD.gn

Issue 2635953002: Use loader-based binding of GetInstallDetailsPayload for install_static. (Closed)
Patch Set: sync to position 444298 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | chrome/install_static/get_install_details_payload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | chrome/install_static/get_install_details_payload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698