summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/BUILD.gn11
-rw-r--r--components/history.gypi1
-rw-r--r--components/history/ios/browser/BUILD.gn19
3 files changed, 26 insertions, 5 deletions
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 8da3a15..2de5710 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -36,6 +36,9 @@ group("all_components") {
"//components/device_event_log",
"//components/dom_distiller/core",
"//components/google/core/browser",
+ "//components/history/core/browser",
+ "//components/history/core/common",
+ "//components/history/core/test",
"//components/keyed_service/core",
"//components/password_manager/core/browser",
"//components/password_manager/core/common",
@@ -92,9 +95,6 @@ group("all_components") {
"//components/gcm_driver/crypto",
"//components/gcm_driver/instance_id",
"//components/history/content/browser",
- "//components/history/core/browser",
- "//components/history/core/common",
- "//components/history/core/test",
"//components/invalidation/impl",
"//components/json_schema",
"//components/keyed_service/content",
@@ -226,6 +226,7 @@ group("all_components") {
deps += [
"//components/autofill/ios/browser",
"//components/dom_distiller/ios",
+ "//components/history/ios/browser",
"//components/keyed_service/ios",
"//components/webp_transcode",
]
@@ -337,6 +338,8 @@ test("components_unittests") {
"//components/data_usage/core:unit_tests",
"//components/dom_distiller/core:unit_tests",
"//components/google/core/browser:unit_tests",
+ "//components/history/core/browser:unit_tests",
+ "//components/history/core/common:unit_tests",
"//components/keyed_service/core:unit_tests",
"//components/net_log:unit_tests",
"//components/password_manager/core/browser:unit_tests",
@@ -400,8 +403,6 @@ test("components_unittests") {
"//components/gcm_driver/instance_id:unit_tests",
"//components/gcm_driver:unit_tests",
"//components/history/content/browser:unit_tests",
- "//components/history/core/browser:unit_tests",
- "//components/history/core/common:unit_tests",
"//components/invalidation/impl:unit_tests",
"//components/json_schema:unit_tests",
"//components/keyed_service/content:unit_tests",
diff --git a/components/history.gypi b/components/history.gypi
index 16f1029..1252f59 100644
--- a/components/history.gypi
+++ b/components/history.gypi
@@ -243,6 +243,7 @@
['OS=="ios"', {
'targets': [
{
+ # GN version: //components/history/ios/browser
'target_name': 'history_ios_browser',
'type': 'static_library',
'include_dirs': [
diff --git a/components/history/ios/browser/BUILD.gn b/components/history/ios/browser/BUILD.gn
new file mode 100644
index 0000000..960d778
--- /dev/null
+++ b/components/history/ios/browser/BUILD.gn
@@ -0,0 +1,19 @@
+# Copyright 2015 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("browser") {
+ sources = [
+ "history_database_helper.cc",
+ "history_database_helper.h",
+ "web_state_top_sites_observer.cc",
+ "web_state_top_sites_observer.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/history/core/browser",
+ "//ios/web",
+ "//url",
+ ]
+}