| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "//base:base_static", | 106 "//base:base_static", |
| 107 "//components/crash/core/common", | 107 "//components/crash/core/common", |
| 108 "//content/public/common:content_descriptors", | 108 "//content/public/common:content_descriptors", |
| 109 "//content/public/common:result_codes", | 109 "//content/public/common:result_codes", |
| 110 ] | 110 ] |
| 111 | 111 |
| 112 if (is_android) { | 112 if (is_android) { |
| 113 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 113 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
| 114 } | 114 } |
| 115 | 115 |
| 116 if (current_cpu == "x86" && is_clang) { |
| 117 # Clang's -mstackrealign doesn't work well with |
| 118 # linux_syscall_support.h hand written asm syscalls. |
| 119 # See https://crbug.com/556393 |
| 120 cflags -= [ "-mstackrealign" ] |
| 121 } |
| 122 |
| 116 if (is_win) { | 123 if (is_win) { |
| 117 deps += [ | 124 deps += [ |
| 118 "//sandbox", | 125 "//sandbox", |
| 119 "//breakpad:breakpad_handler", | 126 "//breakpad:breakpad_handler", |
| 120 | 127 |
| 121 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) | 128 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) |
| 122 ] | 129 ] |
| 123 } else if (is_posix && !is_ios) { | 130 } else if (is_posix && !is_ios) { |
| 124 deps += [ "//breakpad:client" ] | 131 deps += [ "//breakpad:client" ] |
| 125 } | 132 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 148 deps += [ | 155 deps += [ |
| 149 ":lib", | 156 ":lib", |
| 150 "//base", | 157 "//base", |
| 151 "//base:base_static", | 158 "//base:base_static", |
| 152 "//breakpad", | 159 "//breakpad", |
| 153 "//breakpad:client", | 160 "//breakpad:client", |
| 154 "//components/crash/core/common", | 161 "//components/crash/core/common", |
| 155 ] | 162 ] |
| 156 } | 163 } |
| 157 } | 164 } |
| OLD | NEW |