summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/ui/screen_time/BUILD.gn
blob: 3234100a8dc6213afdf8b73cceeed8361353342b (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
# Copyright 2020 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.

import("//build/config/ios/ios_sdk.gni")

source_set("screen_time") {
  # TODO(crbug.com/1123704): remove when it is recommended to build Chromium
  # with version 12.0 or later of Xcode.
  if (xcode_version_int >= 1200) {
    sources = [
      "screen_time_consumer.h",
      "screen_time_coordinator.h",
      "screen_time_coordinator.mm",
      "screen_time_mediator.h",
      "screen_time_mediator.mm",
      "screen_time_view_controller.h",
      "screen_time_view_controller.mm",
    ]
    frameworks = [
      "UIKit.framework",
      "ScreenTime.framework",
    ]
    configs += [ "//build/config/compiler:enable_arc" ]
    deps = [
      "//base",
      "//ios/chrome/browser/browser_state",
      "//ios/chrome/browser/main:public",
      "//ios/chrome/browser/screen_time",
      "//ios/chrome/browser/ui/coordinators:chrome_coordinators",
      "//ios/chrome/browser/web_state_list",
      "//ios/chrome/common/ui/util",
      "//ios/web/public",
      "//net",
    ]
  }
}