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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 assert(is_win) 8 assert(is_win)
9 9
10 # This file only contains utility functions which must only depend on kernel32. 10 # This file only contains utility functions which must only depend on kernel32.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 libs = [ "kernel32.lib" ] 49 libs = [ "kernel32.lib" ]
50 50
51 configs += [ 51 configs += [
52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
53 "//build/config/compiler:no_size_t_to_int_warning", 53 "//build/config/compiler:no_size_t_to_int_warning",
54 ] 54 ]
55 } 55 }
56 56
57 # A source set for use by the module in a process that creates the process-wide
58 # InstallDetails instance (i.e., chrome_elf.dll).
59 source_set("primary_module") {
60 sources = [
61 "get_install_details_payload.cc",
62 ]
63 }
64
65 # A source set for use by modules in a process that fetch the process-wide
66 # InstallDetails instance from the primary module by way of
67 # GetInstallDetailsPayload (i.e., chrome.exe, chrome.dll, chrome_child.dll, and
68 # chrome_watcher.dll).
69 source_set("secondary_module") {
70 sources = [
71 "initialize_from_primary_module.cc",
72 "initialize_from_primary_module.h",
73 ]
74 deps = [
75 ":install_static_util",
76 ]
77 }
78
57 test("install_static_unittests") { 79 test("install_static_unittests") {
58 output_name = "install_static_unittests" 80 output_name = "install_static_unittests"
59 sources = [ 81 sources = [
60 "install_details_unittest.cc", 82 "install_details_unittest.cc",
61 "install_modes_unittest.cc", 83 "install_modes_unittest.cc",
62 "install_util_unittest.cc", 84 "install_util_unittest.cc",
63 "product_install_details_unittest.cc", 85 "product_install_details_unittest.cc",
64 "user_data_dir_win_unittest.cc", 86 "user_data_dir_win_unittest.cc",
65 ] 87 ]
66 include_dirs = [ "$target_gen_dir" ] 88 include_dirs = [ "$target_gen_dir" ]
67 deps = [ 89 deps = [
68 "//base", 90 "//base",
69 "//base/test:run_all_unittests", 91 "//base/test:run_all_unittests",
70 "//base/test:test_support", 92 "//base/test:test_support",
71 "//chrome/install_static:install_static_util", 93 "//chrome/install_static:install_static_util",
72 "//testing/gmock", 94 "//testing/gmock",
73 "//testing/gtest", 95 "//testing/gtest",
74 ] 96 ]
75 } 97 }
OLDNEW
« 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