2018-10-01 20:00:53 +00:00
|
|
|
# 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",
|
2019-09-18 16:52:06 +00:00
|
|
|
"ENABLE_REMOTE_MODULE=$enable_remote_module",
|
2018-10-01 20:00:53 +00:00
|
|
|
"ENABLE_VIEW_API=$enable_view_api",
|
|
|
|
"ENABLE_PEPPER_FLASH=$enable_pepper_flash",
|
|
|
|
"ENABLE_PDF_VIEWER=$enable_pdf_viewer",
|
2018-10-11 13:52:12 +00:00
|
|
|
"ENABLE_TTS=$enable_tts",
|
2018-10-11 23:53:46 +00:00
|
|
|
"ENABLE_COLOR_CHOOSER=$enable_color_chooser",
|
2019-07-24 23:01:08 +00:00
|
|
|
"ENABLE_ELECTRON_EXTENSIONS=$enable_electron_extensions",
|
2019-10-31 20:11:51 +00:00
|
|
|
"ENABLE_BUILTIN_SPELLCHECKER=$enable_builtin_spellchecker",
|
2019-08-22 10:17:50 +00:00
|
|
|
"ENABLE_PICTURE_IN_PICTURE=$enable_picture_in_picture",
|
2019-12-11 06:48:55 +00:00
|
|
|
"ENABLE_MEDIA_KEY_OVERRIDES=$enable_media_key_overrides",
|
2018-10-01 20:00:53 +00:00
|
|
|
"OVERRIDE_LOCATION_PROVIDER=$enable_fake_location_provider",
|
|
|
|
]
|
|
|
|
}
|