Files
Brian R. BondyandClaude Opus 4.6 55bc3c7913 Add Web Discovery build flag (#35252)
* Add Web Discovery build flag

* Remove obsolete kDontAskEnableWebDiscovery pref

This legacy pref was only being registered and immediately cleared
during migration. Remove it entirely.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 09:07:56 -04:00

25 lines
896 B
Plaintext

# Copyright (c) 2024 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 https://mozilla.org/MPL/2.0/.
import("//brave/components/brave_talk/buildflags/buildflags.gni")
import("//brave/components/web_discovery/buildflags/buildflags.gni")
brave_extensions_api_uncompiled_sources = []
brave_extensions_api_root_namespace = "extensions::api::%(namespace)s"
brave_extensions_api_schema_include_rules =
"//brave/common/extensions/api:extensions::api::%(namespace)s"
schema_sources_ = [ "brave_theme.json" ]
if (enable_web_discovery) {
schema_sources_ += [ "web_discovery.json" ]
}
if (enable_brave_talk) {
schema_sources_ += [ "brave_talk.json" ]
}
brave_extensions_api_schema_sources = get_path_info(schema_sources_, "abspath")