| # Copyright 2025 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chrome/common/features.gni") |
| |
| assert(enable_glic) |
| |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "glic_api_test.cc", |
| "glic_api_test.h", |
| "glic_test_environment.cc", |
| "glic_test_environment.h", |
| "glic_test_util.cc", |
| "glic_test_util.h", |
| "interactive_glic_test.cc", |
| "interactive_glic_test.h", |
| "interactive_test_util.cc", |
| "interactive_test_util.h", |
| "mock_glic_window_controller.cc", |
| "mock_glic_window_controller.h", |
| "non_interactive_glic_test.cc", |
| "non_interactive_glic_test.h", |
| ] |
| deps = [ |
| "//chrome/browser/actor", |
| "//chrome/browser/actor/ui", |
| "//chrome/browser/glic", |
| "//chrome/browser/glic:impl", |
| "//chrome/browser/glic/fre", |
| "//chrome/browser/ui:ui_features", |
| "//chrome/browser/ui/tabs:glic", |
| "//components/signin/public/identity_manager:test_support", |
| "//ui/events:test_support", |
| ] |
| public_deps = [ "//chrome/test:test_support" ] |
| |
| # TODO(crbug.com/432285114): Fix code that adds exit-time destructors and |
| # enable the diagnostic by removing this line. |
| configs += [ "//build/config/compiler:no_exit_time_destructors" ] |
| } |