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

Side by Side Diff: chrome_elf/BUILD.gn

Issue 2083463003: Revert of Add chrome_crash_reporter_client_win.cc to the source file list for chrome_elf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « chrome/install_static/install_util_unittest.cc ('k') | chrome_elf/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 sources = [ 11 sources = [
12 "chrome_elf.ver", 12 "chrome_elf.ver",
13 ] 13 ]
14 output = "$target_gen_dir/chrome_elf_version.rc" 14 output = "$target_gen_dir/chrome_elf_version.rc"
15 } 15 }
16 16
17 # This manifest matches what GYP produces. It may not even be necessary. 17 # This manifest matches what GYP produces. It may not even be necessary.
18 windows_manifest("chrome_elf_manifest") { 18 windows_manifest("chrome_elf_manifest") {
19 sources = [ 19 sources = [
20 as_invoker_manifest, 20 as_invoker_manifest,
21 ] 21 ]
22 type = "dll" 22 type = "dll"
23 } 23 }
24 24
25 # We should move chrome_result_codes.h to another target which does not bring
26 # in the world.
27 shared_library("chrome_elf") { 25 shared_library("chrome_elf") {
28 sources = [ 26 sources = [
29 "//chrome/app/chrome_crash_reporter_client_win.cc",
30 "//chrome/app/chrome_crash_reporter_client_win.h",
31 "//chrome/common/chrome_result_codes.h",
32 "chrome_elf.def", 27 "chrome_elf.def",
33 "chrome_elf_main.cc", 28 "chrome_elf_main.cc",
34 "chrome_elf_main.h", 29 "chrome_elf_main.h",
35 ] 30 ]
36 deps = [ 31 deps = [
37 ":blacklist", 32 ":blacklist",
38 ":breakpad", 33 ":breakpad",
39 ":chrome_elf_manifest", 34 ":chrome_elf_manifest",
40 ":chrome_elf_resources", 35 ":chrome_elf_resources",
41 ":common", 36 ":common",
42 "//base",
43 "//build/config/sanitizers:deps", 37 "//build/config/sanitizers:deps",
44 "//chrome/install_static:install_static_util", 38 "//chrome/install_static:install_static_util",
45 "//components/crash/content/app",
46 "//components/crash/core/common",
47 "//content/public/common:result_codes",
48 ] 39 ]
49 configs += [ "//build/config/win:windowed" ] 40 configs += [ "//build/config/win:windowed" ]
50 configs -= [ "//build/config/win:console" ] 41 configs -= [ "//build/config/win:console" ]
51 ldflags = [ 42 ldflags = [ "/NODEFAULTLIB:user32.lib" ]
52 "/NODEFAULTLIB:user32.lib",
53 "/DELAYLOAD:dbghelp.dll",
54 "/DELAYLOAD:ole32.dll",
55 "/DELAYLOAD:psapi.dll",
56 "/DELAYLOAD:rpcrt4.dll",
57 "/DELAYLOAD:shell32.dll",
58 "/DELAYLOAD:user32.dll",
59 "/DELAYLOAD:winhttp.dll",
60 "/DELAYLOAD:winmm.dll",
61 "/DELAYLOAD:ws2_32.dll",
62 ]
63 if (current_cpu == "x86") { 43 if (current_cpu == "x86") {
64 # Don"t set an x64 base address (to avoid breaking HE-ASLR). 44 # Don"t set an x64 base address (to avoid breaking HE-ASLR).
65 ldflags += [ "/BASE:0x01c20000" ] 45 ldflags += [ "/BASE:0x01c20000" ]
66 } 46 }
67 } 47 }
68 48
69 source_set("constants") { 49 source_set("constants") {
70 sources = [ 50 sources = [
71 "chrome_elf_constants.cc", 51 "chrome_elf_constants.cc",
72 "chrome_elf_constants.h", 52 "chrome_elf_constants.h",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 # which does), Ninja would get confused and always rebuild this target because 199 # 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. 200 # it sees a declared output file but that file doesn't exist on disk.
221 loadable_module("blacklist_test_dll_3") { 201 loadable_module("blacklist_test_dll_3") {
222 sources = [ 202 sources = [
223 "blacklist/test/blacklist_test_dll_3.cc", 203 "blacklist/test/blacklist_test_dll_3.cc",
224 ] 204 ]
225 deps = [ 205 deps = [
226 "//build/config/sanitizers:deps", 206 "//build/config/sanitizers:deps",
227 ] 207 ]
228 } 208 }
OLDNEW
« no previous file with comments | « chrome/install_static/install_util_unittest.cc ('k') | chrome_elf/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698