| 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 source_set("browser") { | 5 source_set("browser") { |
| 6 sources = [ | 6 sources = [ |
| 7 "crash_dump_manager_android.cc", | 7 "crash_dump_manager_android.cc", |
| 8 "crash_dump_manager_android.h", | 8 "crash_dump_manager_android.h", |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 if (is_linux || is_android) { | 11 if (is_linux || is_android) { |
| 12 set_sources_assignment_filter([]) | 12 set_sources_assignment_filter([]) |
| 13 # Want this file on both Linux and Android. | 13 # Want this file on both Linux and Android. |
| 14 sources += [ | 14 sources += [ |
| 15 "crash_handler_host_linux.cc", | 15 "crash_handler_host_linux.cc", |
| 16 "crash_handler_host_linux.h", | 16 "crash_handler_host_linux.h", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//components/breakpad/app", | 22 "//components/crash/app", |
| 23 "//content/public/browser", | 23 "//content/public/browser", |
| 24 "//content/public/common", | 24 "//content/public/common", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 # This is not in the GYP build but this target includes breakpad client | 27 # This is not in the GYP build but this target includes breakpad client |
| 28 # headers, so add the dependency here. | 28 # headers, so add the dependency here. |
| 29 if (is_posix && !is_ios && | 29 if (is_posix && !is_ios && |
| 30 (!is_android || !is_android_webview_build)) { | 30 (!is_android || !is_android_webview_build)) { |
| 31 configs += [ "//breakpad:client_config" ] | 31 configs += [ "//breakpad:client_config" ] |
| 32 direct_dependent_configs = [ "//breakpad:client_config" ] | 32 direct_dependent_configs = [ "//breakpad:client_config" ] |
| 33 } | 33 } |
| 34 } | 34 } |
| OLD | NEW |