Do not include pub tests (and generated_pub tests) in the input for creating the sdk.

xcode does not like list of files that are longer than a certain limit (including the full path from where you run)

R=kasperl@google.com

Review URL: https://codereview.chromium.org//564753002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40144 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
ricow@google.com 2014-09-11 12:49:50 +00:00
parent 183abe7207
commit aca2863ba1

View file

@ -20,7 +20,14 @@
{
'action_name': 'create_sdk_py',
'inputs': [
'<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])',
# This is neccessary because we have all the pub test files inside
# the pub directory instead of in tests/pub. Xcode can only handle
# a certain amount of files in one list (also depending on the
# length of the path from where you run). This regexp excludes
# pub/test and pub_generated/test
'<!@(["python", "tools/list_files.py",'
'"^(?!.*pub/test)(?!.*pub_generated/test).*dart$",'
'"sdk/lib"])',
'<!@(["python", "tools/list_files.py", "", '
'"sdk/lib/_internal/compiler/js_lib/preambles"])',
'<!@(["python", "tools/list_files.py", "", "sdk/bin"])',