X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=abs;h=bafea7afc5cbc2caee1a39e49aaa3dafbb8b059c;hb=49dce2552476348f3b52d4588e4ed16e9c02acf4;hp=ed036e87e0ad0a45259fe3980ef78b89fcecaff8;hpb=1bb416ca590ab00fbfc88e112e981cf7d251008f;p=scm%2Fmeta%2Fabs.git diff --git a/abs b/abs index ed036e8..bafea7a 100755 --- a/abs +++ b/abs @@ -108,7 +108,7 @@ class ErrorParser(object): '.*make.*: \*\*\* .*', \ '.*make.*: Target (.*) not remade because of errors.', \ '.*[Cc]ommand not found.*', \ - 'Error:\s*(.*)'], \ + '^Error:\s*(.*)'], \ 'TIZEN_NATIVE':['.*ninja: build stopped.*', \ 'edje_cc: Error..(.*):(\d).*', \ 'edje_cc: Error.*']} @@ -158,12 +158,12 @@ class _Rootstrap(object): cmdline = self.tizen + ' list rootstrap' ret = Executor().run(cmdline, show=False) for x in ret.splitlines(): - if re.search('(%s)-(2.4|3.0|4.0|5.0|5.5)-(device|emulator|device64|emulator64).core.*' % rs_prefix, x): + if re.search('(%s)-([0-9.]*)-(device.*|emulator.*).core.*' % rs_prefix, x): if self.rootstrap_list == None: self.rootstrap_list = [] self.rootstrap_list.append(x.split(' ')[0]) else: - print 'No search result for %s' % '(%s)-(2.4|3.0|4.0|5.0|5.5)-(device|emulator|device64|emulator64).core.*' % rs_prefix + print 'No search result for %s' % '(%s)-([0-9.]*)-(device.*|emulator.*).core.*' % rs_prefix return self.rootstrap_list def check_rootstrap(self, rootstrap, show=True): @@ -378,7 +378,7 @@ class Sdk(object): print '\n\n BUILD NATIVE\n' if jobs is not None: b_args.extend(['-j', jobs]) - b_args.extend(['-r', rootstrap, '-a', self.arch, '-C', conf, '-c', 'gcc']) + b_args.extend(['-r', rootstrap, '-a', self.arch, '-C', conf]) b_args.extend(['--', x['path']]) out = self._run('build-native', b_args, checker=True) logpath = os.path.join(source.output_dir, \ @@ -422,6 +422,7 @@ class Sdk(object): # Manual strip if manual_strip == True : + main_args.extend(['--strip', 'on']) strip_cmd=''; if self.arch == None: raise LocalError('Architecture is None') @@ -516,10 +517,10 @@ class Sdk(object): out = self._run('package', main_args + ['--', '"%s"' % final_app]) #Append arch to web binary - if final_app.endswith('.wgt'): - final_app_with_arch = final_app.replace('.wgt', '-%s.wgt' % self.arch) - os.rename(final_app, final_app_with_arch) - final_app = final_app_with_arch + #if final_app.endswith('.wgt'): + # final_app_with_arch = final_app.replace('.wgt', '-%s.wgt' % self.arch) + # os.rename(final_app, final_app_with_arch) + # final_app = final_app_with_arch #Copy tpk to output directory if conf == 'Debug' and manual_strip == False :