From 733e495e910fefd8ffc8e9b86e36c7c2000430e3 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Thu, 28 Jun 2018 14:41:37 -0700 Subject: [PATCH] chore: use full path for ui_unscaled_resources.h (#13492) This is the path that resolves in Chromium, it also works fine in the gyp build. --- atom/browser/resources/win/atom.rc | 2 +- electron.gyp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/atom/browser/resources/win/atom.rc b/atom/browser/resources/win/atom.rc index c5f5dcd23eb2..f320c0b6fab4 100644 --- a/atom/browser/resources/win/atom.rc +++ b/atom/browser/resources/win/atom.rc @@ -1,6 +1,6 @@ // Microsoft Visual C++ generated resource script. // -#include "grit\\ui_unscaled_resources.h" +#include "ui\\resources\\grit\\ui_unscaled_resources.h" #include "resource.h" #include #ifdef IDC_STATIC diff --git a/electron.gyp b/electron.gyp index 4b62137dda4a..b2fe61698462 100644 --- a/electron.gyp +++ b/electron.gyp @@ -163,9 +163,6 @@ ], }], # OS!="mac" ['OS=="win"', { - 'include_dirs': [ - '<(libchromiumcontent_dir)/gen/ui/resources', - ], 'msvs_settings': { 'VCManifestTool': { 'EmbedManifest': 'true',