| Index: ios/chrome/browser/ui/keyboard/BUILD.gn
|
| diff --git a/components/offline_pages/request_header/BUILD.gn b/ios/chrome/browser/ui/keyboard/BUILD.gn
|
| similarity index 50%
|
| copy from components/offline_pages/request_header/BUILD.gn
|
| copy to ios/chrome/browser/ui/keyboard/BUILD.gn
|
| index 711623cc3481ce69aee7d0bf41b1812ca406ff85..ee2525f159fde6358e59ee29d824381e4bc00a26 100644
|
| --- a/components/offline_pages/request_header/BUILD.gn
|
| +++ b/ios/chrome/browser/ui/keyboard/BUILD.gn
|
| @@ -2,31 +2,31 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -if (is_android) {
|
| - import("//build/config/android/rules.gni")
|
| -}
|
| -
|
| -static_library("request_header") {
|
| +source_set("keyboard") {
|
| sources = [
|
| - "offline_page_header.cc",
|
| - "offline_page_header.h",
|
| + "UIKeyCommand+Chrome.h",
|
| + "UIKeyCommand+Chrome.mm",
|
| + "hardware_keyboard_watcher.h",
|
| + "hardware_keyboard_watcher.mm",
|
| ]
|
| -
|
| deps = [
|
| "//base",
|
| + "//ios/chrome/browser/ui/commands",
|
| ]
|
| }
|
|
|
| source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| - "offline_page_header_unittest.cc",
|
| + "UIKeyCommand+ChromeTest.mm",
|
| + "hardware_keyboard_watcher_unittest.mm",
|
| ]
|
| -
|
| deps = [
|
| - ":request_header",
|
| + ":keyboard",
|
| "//base",
|
| "//base/test:test_support",
|
| + "//ios/chrome/browser/ui/commands",
|
| "//testing/gtest",
|
| + "//third_party/ocmock",
|
| ]
|
| }
|
|
|