Streamline Windows build process (#32783)

Allows Windows builds to use the same structure and script as Linux
builds now use, calling into tool_backend to manage copying resources to
the project directory and building the bundle.

Also switches from expecting name_update.bat to expecting flutter\exe_filename
to be written during the build, as with the recent changes to the macOS build, to
reduce the amount of boilerplate needed in a windows\ project directory.
This commit is contained in:
stuartmorgan
2019-05-15 19:32:47 -04:00
committed by GitHub
parent 3d93f24c05
commit 4e1bfca847
6 changed files with 42 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
:: Copyright 2019 The Chromium Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
@echo off
set FLUTTER_BIN_DIR=%FLUTTER_ROOT%\bin
set DART_BIN_DIR=%FLUTTER_BIN_DIR%\cache\dart-sdk\bin
"%DART_BIN_DIR%\dart" "%FLUTTER_ROOT%\packages\flutter_tools\bin\tool_backend.dart" %*