2011-06-21 03:06:20 +08:00
|
|
|
import os
|
|
|
|
import lldbtest
|
|
|
|
|
|
|
|
from builder_base import *
|
|
|
|
|
|
|
|
#print "Hello, darwin plugin!"
|
|
|
|
|
2012-02-01 09:49:50 +08:00
|
|
|
def buildDsym(sender=None, architecture=None, compiler=None, dictionary=None, clean=True):
|
2011-06-21 03:06:20 +08:00
|
|
|
"""Build the binaries with dsym debug info."""
|
2014-07-23 00:19:29 +08:00
|
|
|
commands = []
|
|
|
|
|
2012-02-01 09:49:50 +08:00
|
|
|
if clean:
|
2014-07-23 00:19:29 +08:00
|
|
|
commands.append(["make", "clean", getCmdLine(dictionary)])
|
|
|
|
commands.append(["make", "MAKE_DSYM=YES", getArchSpec(architecture), getCCSpec(compiler), getCmdLine(dictionary)])
|
|
|
|
|
|
|
|
lldbtest.system(commands, sender=sender)
|
2011-06-21 03:06:20 +08:00
|
|
|
|
|
|
|
# True signifies that we can handle building dsym.
|
|
|
|
return True
|