build: [gn] fix include_dirs ordering error

This commit is contained in:
Jeremy Apthorp 2018-07-11 10:49:17 -07:00
parent af7800bab1
commit c44cf88a6e

View file

@ -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)