| # Copyright 2022 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("whats_new_item") { |
| sources = [ |
| "whats_new_item.h", |
| "whats_new_item.mm", |
| ] |
| deps = [ "//url" ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("data_source") { |
| sources = [ |
| "whats_new_data_source.h", |
| "whats_new_data_source.mm", |
| ] |
| deps = [ |
| ":whats_new_item", |
| "resources:screenshots_files", |
| "resources:whats_new_entries_plist", |
| "//base", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/default_promo/ui_bundled/resources:animation_files", |
| "//ios/chrome/browser/shared/ui/symbols", |
| "//ios/chrome/browser/whats_new/coordinator:util", |
| "//ios/chrome/common/ui/colors", |
| "//ui/base", |
| "//url", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "whats_new_data_source_unittest.mm" ] |
| |
| deps = [ |
| ":data_source", |
| ":whats_new_item", |
| "resources:unit_tests_resources", |
| "//base", |
| "//base/test:test_support", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/whats_new/coordinator:util", |
| "//testing/gtest", |
| "//ui/base", |
| ] |
| } |