Skip to content

Commit

Permalink
Make sure that JS embedding works in a path that has spaces in its name.
Browse files Browse the repository at this point in the history
  • Loading branch information
pleroy committed Oct 30, 2018
1 parent 59ea8b3 commit 182393b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vsprojects/libprotoc.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -310,16 +310,16 @@
<ClCompile Include="..\src\google\protobuf\compiler\java\java_string_field.cc" />
<ClCompile Include="..\src\google\protobuf\compiler\java\java_string_field_lite.cc" />
<CustomBuild Include="..\src\google\protobuf\compiler\js\embed.cc">
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\js_embed.exe $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js &gt;$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Command>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"$(SolutionDir)$(Configuration)\js_embed.exe" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js" &gt;"$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Buiding JS embedded well-known types</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\js_embed.exe $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js &gt;$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Command>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"$(SolutionDir)$(Configuration)\js_embed.exe" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js" &gt;"$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Buiding JS embedded well-known types</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)\js_embed.exe $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js &gt;$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Command>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"$(SolutionDir)$(Configuration)\js_embed.exe" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js" &gt;"$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Buiding JS embedded well-known types</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)\js_embed.exe $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js $(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js &gt;$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Command>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"$(SolutionDir)$(Configuration)\js_embed.exe" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\any.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\struct.js" "$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types\timestamp.js" &gt;"$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Buiding JS embedded well-known types</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\src\google\protobuf\compiler\js\well_known_types_embed.cc</Outputs>
</CustomBuild>
Expand Down

0 comments on commit 182393b

Please sign in to comment.