OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/win/manifest.gni") | 5 import("//build/config/win/manifest.gni") |
6 import("//chrome/version.gni") | 6 import("//chrome/version.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 process_version("chrome_elf_resources") { | 9 process_version("chrome_elf_resources") { |
10 template_file = chrome_version_rc_template | 10 template_file = chrome_version_rc_template |
(...skipping 14 matching lines...) Expand all Loading... |
25 # We should move chrome_result_codes.h to another target which does not bring | 25 # We should move chrome_result_codes.h to another target which does not bring |
26 # in the world. | 26 # in the world. |
27 shared_library("chrome_elf") { | 27 shared_library("chrome_elf") { |
28 sources = [ | 28 sources = [ |
29 "//chrome/app/chrome_crash_reporter_client_win.cc", | 29 "//chrome/app/chrome_crash_reporter_client_win.cc", |
30 "//chrome/app/chrome_crash_reporter_client_win.h", | 30 "//chrome/app/chrome_crash_reporter_client_win.h", |
31 "//chrome/common/chrome_result_codes.h", | 31 "//chrome/common/chrome_result_codes.h", |
32 "chrome_elf.def", | 32 "chrome_elf.def", |
33 "chrome_elf_main.cc", | 33 "chrome_elf_main.cc", |
34 "chrome_elf_main.h", | 34 "chrome_elf_main.h", |
| 35 "crashpad_helper.cc", |
| 36 "crashpad_helper.h", |
35 ] | 37 ] |
36 deps = [ | 38 deps = [ |
37 ":blacklist", | 39 ":blacklist", |
38 ":breakpad", | |
39 ":chrome_elf_manifest", | 40 ":chrome_elf_manifest", |
40 ":chrome_elf_resources", | 41 ":chrome_elf_resources", |
41 ":common", | 42 ":common", |
42 "//base", | 43 "//base", |
43 "//build/config/sanitizers:deps", | 44 "//build/config/sanitizers:deps", |
44 "//chrome/install_static:install_static_util", | 45 "//chrome/install_static:install_static_util", |
45 "//components/crash/content/app", | 46 "//components/crash/content/app", |
46 "//components/crash/core/common", | 47 "//components/crash/core/common", |
47 "//content/public/common:result_codes", | 48 "//content/public/common:result_codes", |
48 ] | 49 ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 deps = [ | 81 deps = [ |
81 "//base", | 82 "//base", |
82 "//sandbox", | 83 "//sandbox", |
83 ] | 84 ] |
84 sources = [ | 85 sources = [ |
85 "thunk_getter.cc", | 86 "thunk_getter.cc", |
86 "thunk_getter.h", | 87 "thunk_getter.h", |
87 ] | 88 ] |
88 } | 89 } |
89 | 90 |
90 source_set("breakpad") { | |
91 include_dirs = [ "$target_gen_dir" ] | |
92 sources = [ | |
93 "breakpad.cc", | |
94 "breakpad.h", | |
95 ] | |
96 deps = [ | |
97 ":common", | |
98 "//base", | |
99 "//breakpad:breakpad_handler", | |
100 "//chrome/common:version_header", | |
101 "//chrome/install_static:install_static_util", | |
102 ] | |
103 } | |
104 | |
105 source_set("dll_hash") { | 91 source_set("dll_hash") { |
106 deps = [ | 92 deps = [ |
107 "//base", | 93 "//base", |
108 ] | 94 ] |
109 sources = [ | 95 sources = [ |
110 "dll_hash/dll_hash.cc", | 96 "dll_hash/dll_hash.cc", |
111 "dll_hash/dll_hash.h", | 97 "dll_hash/dll_hash.h", |
112 ] | 98 ] |
113 } | 99 } |
114 | 100 |
115 executable("dll_hash_main") { | 101 executable("dll_hash_main") { |
116 sources = [ | 102 sources = [ |
117 "dll_hash/dll_hash_main.cc", | 103 "dll_hash/dll_hash_main.cc", |
118 ] | 104 ] |
119 deps = [ | 105 deps = [ |
120 ":dll_hash", | 106 ":dll_hash", |
121 "//build/config/sanitizers:deps", | 107 "//build/config/sanitizers:deps", |
122 "//build/win:default_exe_manifest", | 108 "//build/win:default_exe_manifest", |
123 ] | 109 ] |
124 } | 110 } |
125 | 111 |
126 static_library("blacklist") { | 112 static_library("blacklist") { |
127 sources = [ | 113 sources = [ |
128 "blacklist/blacklist.cc", | 114 "blacklist/blacklist.cc", |
129 "blacklist/blacklist.h", | 115 "blacklist/blacklist.h", |
130 "blacklist/blacklist_interceptions.cc", | 116 "blacklist/blacklist_interceptions.cc", |
131 "blacklist/blacklist_interceptions.h", | 117 "blacklist/blacklist_interceptions.h", |
| 118 "crashpad_helper.cc", |
| 119 "crashpad_helper.h", |
132 ] | 120 ] |
133 public_deps = [ | 121 public_deps = [ |
134 "//sandbox", | 122 "//sandbox", |
135 ] | 123 ] |
136 deps = [ | 124 deps = [ |
137 ":breakpad", | |
138 ":common", | 125 ":common", |
139 ":constants", | 126 ":constants", |
140 "//base", | 127 "//base", |
141 "//chrome/install_static:install_static_util", | 128 "//chrome/install_static:install_static_util", |
| 129 "//components/crash/content/app", |
142 ] | 130 ] |
143 } | 131 } |
144 | 132 |
145 test("chrome_elf_unittests") { | 133 test("chrome_elf_unittests") { |
146 output_name = "chrome_elf_unittests" | 134 output_name = "chrome_elf_unittests" |
147 sources = [ | 135 sources = [ |
148 "blacklist/test/blacklist_test.cc", | 136 "blacklist/test/blacklist_test.cc", |
149 "chrome_elf_util_unittest.cc", | 137 "chrome_elf_util_unittest.cc", |
150 "elf_imports_unittest.cc", | 138 "elf_imports_unittest.cc", |
151 ] | 139 ] |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 # which does), Ninja would get confused and always rebuild this target because | 207 # which does), Ninja would get confused and always rebuild this target because |
220 # it sees a declared output file but that file doesn't exist on disk. | 208 # it sees a declared output file but that file doesn't exist on disk. |
221 loadable_module("blacklist_test_dll_3") { | 209 loadable_module("blacklist_test_dll_3") { |
222 sources = [ | 210 sources = [ |
223 "blacklist/test/blacklist_test_dll_3.cc", | 211 "blacklist/test/blacklist_test_dll_3.cc", |
224 ] | 212 ] |
225 deps = [ | 213 deps = [ |
226 "//build/config/sanitizers:deps", | 214 "//build/config/sanitizers:deps", |
227 ] | 215 ] |
228 } | 216 } |
OLD | NEW |