From 3d21578895bc6d1fb153fec3cea9810396abf78e Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Thu, 27 Jul 2017 11:34:09 +0200 Subject: Windows: Bazel now has an icon Change-Id: I50a093d4ee1352d7e8958148fec5d577b5eaf00d PiperOrigin-RevId: 163316612 --- src/main/cpp/BUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/cpp') diff --git a/src/main/cpp/BUILD b/src/main/cpp/BUILD index fc1880b5cb..8619eea015 100644 --- a/src/main/cpp/BUILD +++ b/src/main/cpp/BUILD @@ -82,7 +82,11 @@ cc_binary( "global_variables.cc", "global_variables.h", "main.cc", - ], + ] + select({ + "//src:windows": ["//src/main/native/windows:resources"], + "//src:windows_msvc": ["//src/main/native/windows:resources"], + "//conditions:default": [], + }), copts = select({ "//src:windows": ["/wd4018"], "//src:windows_msvc": ["/wd4018"], -- cgit v1.2.3