TARGET_PLATFORM => PLATFORM

TARGET_PLATFORM is quite misleading since it is actually host platform.
This commit is contained in:
Cheng Zhao 2015-04-11 17:30:52 +08:00
parent ca50cbb5ff
commit 1a6832d849
6 changed files with 29 additions and 29 deletions

View file

@ -4,7 +4,7 @@ import argparse
import os
import sys
from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, TARGET_PLATFORM, \
from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, PLATFORM, \
enable_verbose_mode, is_verbose_mode
from lib.util import execute_stdout, scoped_cwd
@ -19,7 +19,7 @@ def main():
os.chdir(SOURCE_ROOT)
args = parse_args()
if not args.yes and TARGET_PLATFORM != 'win32':
if not args.yes and PLATFORM != 'win32':
check_root()
if args.verbose:
enable_verbose_mode()