| Index: components/sync_sessions/BUILD.gn
|
| diff --git a/components/sync_sessions/BUILD.gn b/components/sync_sessions/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c7baea98c6db7a3a3703cb4a99e17571dd986127
|
| --- /dev/null
|
| +++ b/components/sync_sessions/BUILD.gn
|
| @@ -0,0 +1,50 @@
|
| +# 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.
|
| +
|
| +# GYP version: components/sync_sessions.gypi:sync_sessions
|
| +source_set("sync_sessions") {
|
| + sources = [
|
| + "revisit/current_tab_matcher.cc",
|
| + "revisit/current_tab_matcher.h",
|
| + "revisit/offset_tab_matcher.cc",
|
| + "revisit/offset_tab_matcher.h",
|
| + "revisit/page_equality.h",
|
| + "revisit/page_visit_observer.h",
|
| + "revisit/sessions_page_revisit_observer.cc",
|
| + "revisit/sessions_page_revisit_observer.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/sessions",
|
| + "//components/sync_driver",
|
| + "//sync",
|
| + ]
|
| +}
|
| +
|
| +# GYP version: components/sync_sessions.gypi:sync_sessions_test_support
|
| +static_library("test_support") {
|
| + testonly = true
|
| + sources = []
|
| +
|
| + deps = [
|
| + ":sync_sessions",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "revisit/current_tab_matcher_unittest.cc",
|
| + "revisit/offset_tab_matcher_unittest.cc",
|
| + "revisit/sessions_page_revisit_observer_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":test_support",
|
| + "//base/test:test_support",
|
| + "//testing/gtest",
|
| + "//sync",
|
| + ]
|
| +}
|
|
|