| Index: components/crash/browser/BUILD.gn
|
| diff --git a/components/crash/browser/BUILD.gn b/components/crash/browser/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..05e0c0536649951b237022f31a10203f62152b2d
|
| --- /dev/null
|
| +++ b/components/crash/browser/BUILD.gn
|
| @@ -0,0 +1,38 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +if (is_android) {
|
| + import("//build/config/android/config.gni")
|
| +}
|
| +
|
| +source_set("browser") {
|
| + sources = [
|
| + "crash_dump_manager_android.cc",
|
| + "crash_dump_manager_android.h",
|
| + ]
|
| +
|
| + if (is_linux || is_android) {
|
| + set_sources_assignment_filter([])
|
| +
|
| + # Want this file on both Linux and Android.
|
| + sources += [
|
| + "crash_handler_host_linux.cc",
|
| + "crash_handler_host_linux.h",
|
| + ]
|
| + }
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/crash/app",
|
| + "//content/public/browser",
|
| + "//content/public/common",
|
| + ]
|
| +
|
| + # This is not in the GYP build but this target includes breakpad client
|
| + # headers, so add the dependency here.
|
| + if (is_posix && !is_ios) {
|
| + configs += [ "//breakpad:client_config" ]
|
| + public_configs = [ "//breakpad:client_config" ]
|
| + }
|
| +}
|
|
|