Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: ios/chrome/browser/ui/keyboard/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/elements/BUILD.gn ('k') | ios/chrome/browser/ui/voice/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « ios/chrome/browser/ui/elements/BUILD.gn ('k') | ios/chrome/browser/ui/voice/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698