From c44cf88a6ec54e5ddd99d8348bcc57b301ec7945 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 11 Jul 2018 10:49:17 -0700 Subject: [PATCH] build: [gn] fix include_dirs ordering error --- BUILD.gn | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 11adaa732485..ed64b17c745c 100644 --- a/BUILD.gn +++ b/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)