* AI Chat: Create a semi-built-in Profile for agentic features For now, these features will only be useable in this profile. The purpose is for users and team members to experiment with these features, isolated from their regular browser context with existing site authentication. Whilst these features might evenutally be usable in a user's main profile under isolated storage (a built-in Container), this allows us to decouple these features from that behavior being implemented, as well as try out the separate Profile experience. - Flag for whether the agentic behavior and the separate profile is enabled - UI for the button in the AI Chat WebUI that will launch the profile - Profile creation params, theme, and behavior: - Doesn't cause the profile picker to be shown on browser startup For subsequent PRs: - A separate and basic NTP with messaging - Content agent features
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# Copyright (c) 2022 The Brave Authors. All rights reserved.
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
# You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
import("//brave/build/buildflag_header_with_env_config.gni")
|
|
import("//brave/build/config.gni")
|
|
import("//build/util/branding.gni")
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
buildflag_header_with_env_config("brave_services_key") {
|
|
# Please use //brave/components/constants instead.
|
|
visibility = [ ":*" ]
|
|
|
|
header = "brave_services_key.h"
|
|
env_config_flags = [ "BRAVE_SERVICES_KEY" ]
|
|
}
|
|
|
|
source_set("constants") {
|
|
sources = [
|
|
"brave_constants.cc",
|
|
"brave_constants.h",
|
|
"brave_paths.h",
|
|
"brave_switches.h",
|
|
"network_constants.h",
|
|
"pref_names.h",
|
|
"url_constants.h",
|
|
"webui_url_constants.h",
|
|
]
|
|
|
|
public_deps = [
|
|
":brave_services_key",
|
|
"//brave/components/ai_chat/core/common/buildflags",
|
|
"//brave/components/web_discovery/buildflags",
|
|
"//extensions/buildflags",
|
|
]
|
|
deps = [ "//base" ]
|
|
}
|
|
|
|
source_set("brave_service_key_helper") {
|
|
sources = [
|
|
"brave_services_key_helper.cc",
|
|
"brave_services_key_helper.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//url",
|
|
]
|
|
}
|