| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 source_set("lib") { | 9 source_set("lib") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 deps = [ | 122 deps = [ |
| 123 ":lib", | 123 ":lib", |
| 124 "//base", | 124 "//base", |
| 125 "//base:base_static", | 125 "//base:base_static", |
| 126 "//components/crash/core/common", | 126 "//components/crash/core/common", |
| 127 "//content/public/common:content_descriptors", | 127 "//content/public/common:content_descriptors", |
| 128 "//content/public/common:result_codes", | 128 "//content/public/common:result_codes", |
| 129 ] | 129 ] |
| 130 | 130 |
| 131 if (is_android) { | |
| 132 defines += [ "CHROME_BUILD_ID=\"$android_chrome_build_id\"" ] | |
| 133 } | |
| 134 | |
| 135 # Clang's -mstackrealign doesn't work well with | 131 # Clang's -mstackrealign doesn't work well with |
| 136 # linux_syscall_support.h hand written asm syscalls. | 132 # linux_syscall_support.h hand written asm syscalls. |
| 137 # See https://crbug.com/556393 | 133 # See https://crbug.com/556393 |
| 138 configs -= [ "//build/config/compiler:clang_stackrealign" ] | 134 configs -= [ "//build/config/compiler:clang_stackrealign" ] |
| 139 | 135 |
| 140 if (is_win) { | 136 if (is_win) { |
| 141 deps += [ | 137 deps += [ |
| 142 "//breakpad:breakpad_handler", | 138 "//breakpad:breakpad_handler", |
| 143 "//sandbox", | 139 "//sandbox", |
| 144 | 140 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 if (is_mac) { | 180 if (is_mac) { |
| 185 deps += [ "//breakpad" ] | 181 deps += [ "//breakpad" ] |
| 186 } | 182 } |
| 187 | 183 |
| 188 if (is_win) { | 184 if (is_win) { |
| 189 deps += [ "//breakpad:breakpad_handler" ] | 185 deps += [ "//breakpad:breakpad_handler" ] |
| 190 libs = [ "userenv.lib" ] | 186 libs = [ "userenv.lib" ] |
| 191 } | 187 } |
| 192 } | 188 } |
| 193 } | 189 } |
| OLD | NEW |