style: Fix windows build bustage.

Bug: 1468651
MozReview-Commit-ID: 9Xj5lMFG4Ab
This commit is contained in:
Emilio Cobos Álvarez 2018-06-20 12:09:55 +02:00
parent 202ec8a8c8
commit bab7be63b2
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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