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) { |
| 6 import("//build/config/android/config.gni") |
| 7 } |
| 8 |
5 source_set("browser") { | 9 source_set("browser") { |
6 sources = [ | 10 sources = [ |
7 "crash_dump_manager_android.cc", | 11 "crash_dump_manager_android.cc", |
8 "crash_dump_manager_android.h", | 12 "crash_dump_manager_android.h", |
9 ] | 13 ] |
10 | 14 |
11 if (is_linux || is_android) { | 15 if (is_linux || is_android) { |
12 set_sources_assignment_filter([]) | 16 set_sources_assignment_filter([]) |
13 # Want this file on both Linux and Android. | 17 # Want this file on both Linux and Android. |
14 sources += [ | 18 sources += [ |
(...skipping 10 matching lines...) Expand all Loading... |
25 ] | 29 ] |
26 | 30 |
27 # This is not in the GYP build but this target includes breakpad client | 31 # This is not in the GYP build but this target includes breakpad client |
28 # headers, so add the dependency here. | 32 # headers, so add the dependency here. |
29 if (is_posix && !is_ios && | 33 if (is_posix && !is_ios && |
30 (!is_android || !is_android_webview_build)) { | 34 (!is_android || !is_android_webview_build)) { |
31 configs += [ "//breakpad:client_config" ] | 35 configs += [ "//breakpad:client_config" ] |
32 direct_dependent_configs = [ "//breakpad:client_config" ] | 36 direct_dependent_configs = [ "//breakpad:client_config" ] |
33 } | 37 } |
34 } | 38 } |
OLD | NEW |