summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/ui/keyboard/BUILD.gn
blob: a8aef36ba8f2369c7817da344b15d127a65825be (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
49
50
51
52
53
54
55
56
# Copyright 2016 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("keyboard") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "UIKeyCommand+Chrome.h",
    "UIKeyCommand+Chrome.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/ui/commands",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "UIKeyCommand+ChromeTest.mm",
  ]
  deps = [
    ":keyboard",
    "//base",
    "//ios/chrome/browser/ui/commands",
    "//testing/gtest",
  ]
}

source_set("eg_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "keyboard_commands_egtest.mm",
  ]
  deps = [
    "//base",
    "//base/test:test_support",
    "//components/strings",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/ui/bookmarks:bookmarks_ui",
    "//ios/chrome/browser/ui/browser_view",
    "//ios/chrome/browser/ui/ntp:ntp_controller",
    "//ios/chrome/browser/ui/popup_menu:constants",
    "//ios/chrome/browser/ui/table_view",
    "//ios/chrome/browser/ui/util",
    "//ios/chrome/test/app:test_support",
    "//ios/chrome/test/earl_grey:test_support",
    "//ios/web/public/test/http_server",
  ]
  libs = [
    "UIKit.framework",
    "XCTest.framework",
  ]
}