diff --git a/BUILD.gn b/BUILD.gn index 11adaa7324..ed64b17c74 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)