Index: chrome/app/BUILD.gn |
diff --git a/chrome/app/BUILD.gn b/chrome/app/BUILD.gn |
index 561037271f62c8367c48a0959a2a8c691eeace9e..36423506f9cb58c3e99f596d0c6f31a0948ba5a3 100644 |
--- a/chrome/app/BUILD.gn |
+++ b/chrome/app/BUILD.gn |
@@ -13,6 +13,19 @@ source_set("command_ids") { |
] |
} |
+# On Windows, links chrome_dll.rc. On other platforms, does nothing so you can |
+# unconditionally depend on it. |
+source_set("chrome_dll_resources") { |
+ # This source is added unconditionally for include checking on non-Windows |
+ # platforms. |
+ sources = [ |
+ "chrome_dll_resource.h", |
+ ] |
+ if (is_win) { |
+ sources += [ "chrome_dll.rc" ] |
+ } |
+} |
+ |
if (is_android) { |
import("//build/config/android/rules.gni") |
android_generated_java_resources = [ |