# Copyright 2024 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("profile") {
sources = [
"profile_controller.h",
"profile_controller.mm",
"profile_init_stage.h",
"profile_state.h",
"profile_state.mm",
"profile_state_agent.h",
"profile_state_observer.h",
]
frameworks = [ "Foundation.framework" ]
deps = [
"//base",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"profile_controller_unittest.mm",
"profile_state_unittest.mm",
]
deps = [
":profile",
"//base/test:test_support",
"//ios/chrome/app/profile/test:test_support",
"//ios/chrome/browser/shared/model/profile/test",
"//testing/gtest",
]
}