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

Side by Side Diff: chrome/install_static/BUILD.gn

Issue 2635953002: Use loader-based binding of GetInstallDetailsPayload for install_static. (Closed)
Patch Set: better 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.
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.
68 source_set("secondary_module") {
69 sources = [
70 "initialize_from_primary_module.cc",
71 "initialize_from_primary_module.h",
72 ]
73 }
74
57 test("install_static_unittests") { 75 test("install_static_unittests") {
58 output_name = "install_static_unittests" 76 output_name = "install_static_unittests"
59 sources = [ 77 sources = [
60 "install_details_unittest.cc", 78 "install_details_unittest.cc",
61 "install_modes_unittest.cc", 79 "install_modes_unittest.cc",
62 "install_util_unittest.cc", 80 "install_util_unittest.cc",
63 "product_install_details_unittest.cc", 81 "product_install_details_unittest.cc",
64 "user_data_dir_win_unittest.cc", 82 "user_data_dir_win_unittest.cc",
65 ] 83 ]
66 include_dirs = [ "$target_gen_dir" ] 84 include_dirs = [ "$target_gen_dir" ]
67 deps = [ 85 deps = [
68 "//base", 86 "//base",
69 "//base/test:run_all_unittests", 87 "//base/test:run_all_unittests",
70 "//base/test:test_support", 88 "//base/test:test_support",
71 "//chrome/install_static:install_static_util", 89 "//chrome/install_static:install_static_util",
72 "//testing/gmock", 90 "//testing/gmock",
73 "//testing/gtest", 91 "//testing/gtest",
74 ] 92 ]
75 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698