summaryrefslogtreecommitdiff
path: root/chromium/ios/web/init/BUILD.gn
blob: ad84d45c9d91a2be6a66807223f1bd338e264451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 2019 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.

source_set("init") {
  sources = [
    "web_main.mm",
    "web_main_loop.h",
    "web_main_loop.mm",
    "web_main_runner.mm",
  ]

  configs += [ "//build/config/compiler:enable_arc" ]

  deps = [
    ":global_state",
    "//base",
    "//base:i18n",
    "//crypto",
    "//ios/web:threads",
    "//ios/web/net",
    "//ios/web/public",
    "//ios/web/public/init",
    "//ios/web/webui",
    "//mojo/core/embedder",
    "//net",
    "//ui/base",
    "//ui/gfx",
    "//ui/gfx/geometry",
  ]

  libs = [
    "Foundation.framework",
    "UIKit.framework",
  ]
}

source_set("global_state") {
  sources = [ "ios_global_state.mm" ]

  configs += [ "//build/config/compiler:enable_arc" ]

  deps = [
    "//base",
    "//ios/web/public/init:global_state",
    "//net",
  ]
}