| OLD | NEW |
| (Empty) | |
| 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. |
| 4 #!/bin/sh |
| 5 |
| 6 |
| 7 PACKAGES="analyzer_experimental args barback browser csslib custom_element" |
| 8 PACKAGES="$PACKAGES html_import logging mdv meta mutation_observer" |
| 9 PACKAGES="$PACKAGES observe path polymer polymer_expressions shadow_dom" |
| 10 PACKAGES="$PACKAGES source_maps stack_trace unmodifiable_collection utf yaml" |
| 11 TP_PACKAGES="html5lib" |
| 12 FIND_PARAM="-not -iwholename *.svn* -not -name .gitignore -type f" |
| 13 echo "# for details. All rights reserved. Use of this source code is governed by
a" |
| 14 echo "# BSD-style license that can be found in the LICENSE file." |
| 15 echo "" |
| 16 echo "# This file contains all sources for the Resources table." |
| 17 echo "{" |
| 18 echo " 'sources': [" |
| 19 echo "# VM Service backend sources" |
| 20 for i in *.dart |
| 21 do |
| 22 echo " 'vmservice/$i'," |
| 23 done |
| 24 echo "# VM Service client sources" |
| 25 for i in `find client $FIND_PARAM` |
| 26 do |
| 27 echo " 'vmservice/$i'," |
| 28 done |
| 29 echo "# Package sources" |
| 30 for p in $PACKAGES |
| 31 do |
| 32 for i in `find ../../../pkg/$p/lib $FIND_PARAM` |
| 33 do |
| 34 j=`echo $i | sed "s;\.\./\.\./\.\./pkg/$p/lib/;;"` |
| 35 echo " '<(PRODUCT_DIR)/packages/$p/$j'," |
| 36 done |
| 37 done |
| 38 echo "# Third party package sources" |
| 39 for p in $TP_PACKAGES |
| 40 do |
| 41 for i in `find ../../../pkg/third_party/$p/lib -type f -name "*"` |
| 42 do |
| 43 j=`echo $i | sed "s;\.\./\.\./\.\./pkg/third_party/$p/lib/;;"` |
| 44 echo " '<(PRODUCT_DIR)/packages/$p/$j'," |
| 45 done |
| 46 done |
| 47 echo " ]," |
| 48 echo "}" |
| 49 |
| OLD | NEW |