| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 ] | 43 ] |
| 44 } | 44 } |
| 45 | 45 |
| 46 defines = [ "CRASH_IMPLEMENTATION" ] | 46 defines = [ "CRASH_IMPLEMENTATION" ] |
| 47 | 47 |
| 48 deps = [ | 48 deps = [ |
| 49 "//base", | 49 "//base", |
| 50 ":lib", | 50 ":lib", |
| 51 ] | 51 ] |
| 52 | 52 |
| 53 if (is_android) { |
| 54 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
| 55 } |
| 56 |
| 53 if (is_mac) { | 57 if (is_mac) { |
| 54 deps += [ "//breakpad" ] | 58 deps += [ "//breakpad" ] |
| 55 } else if (is_win) { | 59 } else if (is_win) { |
| 56 deps += [ | 60 deps += [ |
| 57 "//sandbox", | 61 "//sandbox", |
| 58 "//breakpad:breakpad_handler", | 62 "//breakpad:breakpad_handler", |
| 59 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) | 63 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) |
| 60 ] | 64 ] |
| 61 } else if (is_posix && !is_ios && | 65 } else if (is_posix && !is_ios && (!is_android || !is_android_webview_build))
{ |
| 62 (!is_android || !is_android_webview_build)) { | |
| 63 deps += [ "//breakpad:client" ] | 66 deps += [ "//breakpad:client" ] |
| 64 } | 67 } |
| 65 } | 68 } |
| 66 | 69 |
| 67 source_set("test_support") { | 70 source_set("test_support") { |
| 68 deps = [ ":lib" ] | 71 deps = [ ":lib" ] |
| 69 } | 72 } |
| OLD | NEW |