From bab7be63b2ed72165435cd125a6b7d92f71f316c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 20 Jun 2018 12:09:55 +0200 Subject: [PATCH] style: Fix windows build bustage. Bug: 1468651 MozReview-Commit-ID: 9Xj5lMFG4Ab --- components/style/properties/properties.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index ece5956b259..2ed1a4498b1 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -98,7 +98,7 @@ macro_rules! expanded { #[allow(missing_docs)] pub mod longhands { % for style_struct in data.style_structs: - include!("${os.path.join(OUT_DIR, 'longhands/{}.rs'.format(style_struct.name_lower))}"); + include!("${repr(os.path.join(OUT_DIR, 'longhands/{}.rs'.format(style_struct.name_lower)))[1:-1]}"); % endfor } @@ -144,7 +144,7 @@ pub mod shorthands { } % for style_struct in data.style_structs: - include!("${os.path.join(OUT_DIR, 'shorthands/{}.rs'.format(style_struct.name_lower))}"); + include!("${repr(os.path.join(OUT_DIR, 'shorthands/{}.rs'.format(style_struct.name_lower)))[1:-1]}"); % endfor // We didn't define the 'all' shorthand using the regular helpers:shorthand