2015-10-23 17:04:29 +00:00
|
|
|
|
|
|
|
from __future__ import print_function
|
2011-06-20 19:06:20 +00:00
|
|
|
import os
|
2015-11-03 02:06:18 +00:00
|
|
|
import lldbsuite.test.lldbtest as lldbtest
|
2011-06-20 19:06:20 +00:00
|
|
|
|
|
|
|
from builder_base import *
|
|
|
|
|
2015-10-23 17:04:29 +00:00
|
|
|
#print("Hello, darwin plugin!")
|
2011-06-20 19:06:20 +00:00
|
|
|
|
2012-02-01 01:49:50 +00:00
|
|
|
def buildDsym(sender=None, architecture=None, compiler=None, dictionary=None, clean=True):
|
2011-06-20 19:06:20 +00:00
|
|
|
"""Build the binaries with dsym debug info."""
|
2014-07-22 16:19:29 +00:00
|
|
|
commands = []
|
|
|
|
|
2012-02-01 01:49:50 +00:00
|
|
|
if clean:
|
2014-07-22 16:19:29 +00: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-20 19:06:20 +00:00
|
|
|
|
|
|
|
# True signifies that we can handle building dsym.
|
|
|
|
return True
|