[Webkit-unassigned] [Bug 21991] Add Scons-based build system for Chromium's WebKit build into webkit.org

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 13 20:12:05 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=21991





------- Comment #28 from mrowe at apple.com  2008-11-13 20:12 PDT -------
(From update of attachment 25151)
> +# Handle os-version specific build settings
> +if env['PLATFORM'] == 'darwin':
> +    version_pieces = Popen(["sw_vers", "-productVersion"], stdout = PIPE).communicate()[0].split('.')
> +    if int(version_pieces[0]) == 10:
> +        # Dtrace doesn't exist in Tiger, and was broken in Leopard
> +        if int(version_pieces[1]) > 5:
> +            env.Command(DerivedSources('TracingDtrace.h'), 'runtime/Tracing.d', '/usr/sbin/dtrace -h -o $TARGET -s $SOURCE')

The version check may be clearer if written like
if map(int, version_pieces)[:2] > (10, 5):


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list