mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: [gn] fix include_dirs ordering error
This commit is contained in:
16
BUILD.gn
16
BUILD.gn
@@ -240,6 +240,14 @@ static_library("electron_lib") {
|
||||
"brightray",
|
||||
"build/node",
|
||||
]
|
||||
include_dirs = [
|
||||
"chromium_src",
|
||||
".",
|
||||
"$target_gen_dir",
|
||||
# TODO(nornagon): replace usage of SchemeRegistry by an actually exported
|
||||
# API of blink, then delete this include dir.
|
||||
"//third_party/WebKit/Source",
|
||||
]
|
||||
if (enable_desktop_capturer) {
|
||||
deps += [ "//third_party/webrtc/modules/desktop_capture" ]
|
||||
}
|
||||
@@ -275,14 +283,6 @@ static_library("electron_lib") {
|
||||
# Disable warnings for g_settings_list_schemas.
|
||||
"GLIB_DISABLE_DEPRECATION_WARNINGS",
|
||||
]
|
||||
include_dirs = [
|
||||
"chromium_src",
|
||||
".",
|
||||
"$target_gen_dir",
|
||||
# TODO(nornagon): replace usage of SchemeRegistry by an actually exported
|
||||
# API of blink, then delete this include dir.
|
||||
"//third_party/WebKit/Source",
|
||||
]
|
||||
if (is_component_build) {
|
||||
defines += [
|
||||
# Import V8 symbols from shared library (node.dll / libnode.so)
|
||||
|
||||
Reference in New Issue
Block a user