blob: 1546c631c95be911997e2cf39092becc3ad4433d [file] [log] [blame]
# 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/ui/coordinators:chrome_coordinators",
"//ios/chrome/browser/web_state_list",
"//ios/chrome/common/ui/util",
"//ios/web/public",
"//net",
]
}
}