6bcf67e051
* chore: add code required to use chromes spellchecker * chore: fix linting * chore: manifests needs buildflags now * chore: add dictionarySuggestions to the context menu event when the spellchecker is active * chore: enable by default for windows builds * chore: add patch to remove incognito usage in the spellchecker * chore: add dependencies on spellcheck common and flags * chore: conditionally include spell check panel impl * chore: fix deps for spellcheck feature flags * chore: add patch for electron resources * chore: add dependency on //components/language/core/browser * chore: patches to make hunspell work on windows * build: collect hunspell dictionaries into a zip file and publish * chore: clean up patches * chore: add docs and set spell checker url method * chore: fix error handling * chore: fix hash logic * build: update hunspell filename generator * fix: default spellchecker list to the current system locale if we can * docs: document the language getter * chore: patch IDS_ resources for linux builds * feat: add spellcheck webpref flag to disable the builtin spellchecker * chore: fix docs typo * chore: clean up spellchecker impl as per feedback * remove unneeded deps
26 lines
943 B
Text
26 lines
943 B
Text
# Copyright (c) 2018 GitHub, Inc.
|
|
# Use of this source code is governed by the MIT license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/buildflag_header.gni")
|
|
import("//electron/buildflags/buildflags.gni")
|
|
|
|
buildflag_header("buildflags") {
|
|
header = "buildflags.h"
|
|
|
|
flags = [
|
|
"ENABLE_DESKTOP_CAPTURER=$enable_desktop_capturer",
|
|
"ENABLE_RUN_AS_NODE=$enable_run_as_node",
|
|
"ENABLE_OSR=$enable_osr",
|
|
"ENABLE_REMOTE_MODULE=$enable_remote_module",
|
|
"ENABLE_VIEW_API=$enable_view_api",
|
|
"ENABLE_PEPPER_FLASH=$enable_pepper_flash",
|
|
"ENABLE_PDF_VIEWER=$enable_pdf_viewer",
|
|
"ENABLE_TTS=$enable_tts",
|
|
"ENABLE_COLOR_CHOOSER=$enable_color_chooser",
|
|
"ENABLE_ELECTRON_EXTENSIONS=$enable_electron_extensions",
|
|
"ENABLE_BUILTIN_SPELLCHECKER=$enable_builtin_spellchecker",
|
|
"ENABLE_PICTURE_IN_PICTURE=$enable_picture_in_picture",
|
|
"OVERRIDE_LOCATION_PROVIDER=$enable_fake_location_provider",
|
|
]
|
|
}
|