SConstruct (6108:66014cd0dc61) SConstruct (6113:4e008e4ecc92)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

--- 259 unchanged lines hidden (view full) ---

268if COMMAND_LINE_TARGETS:
269 # Ask SCons which directory it was invoked from
270 launch_dir = GetLaunchDir()
271 # Make targets relative to invocation directory
272 abs_targets = [ normpath(joinpath(launch_dir, str(x))) for x in \
273 COMMAND_LINE_TARGETS]
274else:
275 # Default targets are relative to root of tree
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

--- 259 unchanged lines hidden (view full) ---

268if COMMAND_LINE_TARGETS:
269 # Ask SCons which directory it was invoked from
270 launch_dir = GetLaunchDir()
271 # Make targets relative to invocation directory
272 abs_targets = [ normpath(joinpath(launch_dir, str(x))) for x in \
273 COMMAND_LINE_TARGETS]
274else:
275 # Default targets are relative to root of tree
276 abs_targets = [ normpath(joinpath(ROOT, str(x))) for x in \
276 abs_targets = [ normpath(joinpath(env.root.abspath, str(x))) for x in \
277 DEFAULT_TARGETS]
278
279
280# Generate a list of the unique build roots and configs that the
281# collected targets reference.
282variant_paths = []
283build_root = None
284for t in abs_targets:

--- 621 unchanged lines hidden ---
277 DEFAULT_TARGETS]
278
279
280# Generate a list of the unique build roots and configs that the
281# collected targets reference.
282variant_paths = []
283build_root = None
284for t in abs_targets:

--- 621 unchanged lines hidden ---