mas: Use mas as platform name in dist

This commit is contained in:
Cheng Zhao 2015-09-29 10:59:52 +08:00
parent df7a9b80b1
commit 48faf74f7f
3 changed files with 19 additions and 9 deletions

View file

@ -20,6 +20,13 @@ PLATFORM = {
verbose_mode = False
def get_platform_key():
if os.environ.has_key('MAS_BUILD'):
return 'mas'
else:
return PLATFORM
def get_target_arch():
try:
target_arch_path = os.path.join(__file__, '..', '..', '..', 'vendor',