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
3# found in the LICENSE file.
4
5import("//pdf/features.gni")
6
7static_library("child") {
8  sources = []
9
10  configs += [ "//build/config/compiler:wexit_time_destructors" ]
11
12  deps = []
13  data_deps = []
14
15  if (is_win) {
16    sources += [
17      "delay_load_failure_hook.cc",
18      "v8_crashpad_support_win.cc",
19      "v8_crashpad_support_win.h",
20    ]
21    deps += [
22      "//components/crash/core/app:crash_export_thunk_include",
23      "//gin",
24      "//v8",
25    ]
26    data_deps += [ "//tools/v8_context_snapshot" ]
27  }
28
29  if (enable_pdf) {
30    sources += [
31      "pdf_child_init.cc",
32      "pdf_child_init.h",
33    ]
34    deps += [
35      "//base",
36      "//content/public/child",
37      "//content/public/common",
38      "//pdf:buildflags",
39      "//sandbox/policy",
40    ]
41  }
42}
43