summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorhans <hans@chromium.org>2015-03-12 20:30:34 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-13 03:31:00 +0000
commitee7b0685b308d962bd25e6a690825c463f9e8c51 (patch)
tree2c3d6572e677a79e5e652f5536ea04003ec5ee4e /remoting
parent27ac3aa03e722cdeb2742f827ee9ea5d0a72a52c (diff)
downloadchromium_src-ee7b0685b308d962bd25e6a690825c463f9e8c51.zip
chromium_src-ee7b0685b308d962bd25e6a690825c463f9e8c51.tar.gz
chromium_src-ee7b0685b308d962bd25e6a690825c463f9e8c51.tar.bz2
build-webapp.py: make dir check work on Windows
The ar_sample_app target was failing to build in Official mode. BUG=451078 Review URL: https://codereview.chromium.org/1007603002 Cr-Commit-Position: refs/heads/master@{#320445}
Diffstat (limited to 'remoting')
-rwxr-xr-xremoting/webapp/build-webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/build-webapp.py b/remoting/webapp/build-webapp.py
index 9f6f772..a5e69ef 100755
--- a/remoting/webapp/build-webapp.py
+++ b/remoting/webapp/build-webapp.py
@@ -188,7 +188,7 @@ def buildWebApp(buildtype, version, destination, zip_path,
if service_environment != 'prod':
raise Exception('Invalid service_environment targeted for '
+ buildtype + ': ' + service_environment)
- if 'out/Release' not in destination:
+ if 'out/Release' not in destination and 'out\Release' not in destination:
raise Exception('Prod builds must be placed in the out/Release folder')
if app_id != None:
raise Exception('Cannot pass in an app_id for '