SConstruct (12063:06cd2c297b04) | SConstruct (12158:c66cf095928d) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 540 unchanged lines hidden (view full) --- 549 extras_dir_list = [] 550 551Export('base_dir') 552Export('extras_dir_list') 553 554# the ext directory should be on the #includes path 555main.Append(CPPPATH=[Dir('ext')]) 556 | 1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 540 unchanged lines hidden (view full) --- 549 extras_dir_list = [] 550 551Export('base_dir') 552Export('extras_dir_list') 553 554# the ext directory should be on the #includes path 555main.Append(CPPPATH=[Dir('ext')]) 556 |
557# Add shared top-level headers 558main.Prepend(CPPPATH=Dir('include')) 559 |
|
557def strip_build_path(path, env): 558 path = str(path) 559 variant_base = env['BUILDROOT'] + os.path.sep 560 if path.startswith(variant_base): 561 path = path[len(variant_base):] 562 elif path.startswith('build/'): 563 path = path[6:] 564 return path --- 1021 unchanged lines hidden --- | 560def strip_build_path(path, env): 561 path = str(path) 562 variant_base = env['BUILDROOT'] + os.path.sep 563 if path.startswith(variant_base): 564 path = path[len(variant_base):] 565 elif path.startswith('build/'): 566 path = path[6:] 567 return path --- 1021 unchanged lines hidden --- |