| Index: ios/shared/chrome/browser/tabs/BUILD.gn
|
| diff --git a/ios/shared/chrome/browser/tabs/BUILD.gn b/ios/shared/chrome/browser/tabs/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42b01ee233e4e8df8beac9d3631ef74dc64abbcf
|
| --- /dev/null
|
| +++ b/ios/shared/chrome/browser/tabs/BUILD.gn
|
| @@ -0,0 +1,68 @@
|
| +# Copyright 2017 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("tabs") {
|
| + sources = [
|
| + "web_state_list.h",
|
| + "web_state_list.mm",
|
| + "web_state_list_delegate.h",
|
| + "web_state_list_fast_enumeration_helper.h",
|
| + "web_state_list_fast_enumeration_helper.mm",
|
| + "web_state_list_metrics_observer.h",
|
| + "web_state_list_metrics_observer.mm",
|
| + "web_state_list_observer.h",
|
| + "web_state_list_observer.mm",
|
| + "web_state_list_observer_bridge.h",
|
| + "web_state_list_observer_bridge.mm",
|
| + "web_state_list_order_controller.h",
|
| + "web_state_list_order_controller.mm",
|
| + "web_state_list_serialization.h",
|
| + "web_state_list_serialization.mm",
|
| + "web_state_opener.h",
|
| + "web_state_opener.mm",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//ios/web",
|
| + "//ui/base",
|
| + ]
|
| + libs = [ "Foundation.framework" ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
| +
|
| +source_set("test_support") {
|
| + testonly = true
|
| + sources = [
|
| + "fake_web_state_list_delegate.h",
|
| + "fake_web_state_list_delegate.mm",
|
| + ]
|
| + deps = [
|
| + ":tabs",
|
| + "//base",
|
| + ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "web_state_list_fast_enumeration_helper_unittest.mm",
|
| + "web_state_list_order_controller_unittest.mm",
|
| + "web_state_list_serialization_unittest.mm",
|
| + "web_state_list_unittest.mm",
|
| + "web_state_opener_unittest.mm",
|
| + ]
|
| + deps = [
|
| + ":tabs",
|
| + ":test_support",
|
| + "//base",
|
| + "//ios/web",
|
| + "//ios/web:test_support",
|
| + "//net",
|
| + "//testing/gtest",
|
| + "//ui/base",
|
| + "//url",
|
| + ]
|
| + configs += [ "//build/config/compiler:enable_arc" ]
|
| +}
|
|
|