| Index: mojo/public/tools/dart_pkg.py
|
| diff --git a/mojo/public/tools/dart_pkg.py b/mojo/public/tools/dart_pkg.py
|
| index a00e67e451afd41b847b57f2eeab8953b1fb48c5..dd0724691ef7201caa0a1084f2f4b6dcfd641dbf 100755
|
| --- a/mojo/public/tools/dart_pkg.py
|
| +++ b/mojo/public/tools/dart_pkg.py
|
| @@ -19,13 +19,6 @@ USE_LINKS = sys.platform != "win32"
|
| DART_ANALYZE = os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
| "dart_analyze.py")
|
|
|
| -def mojom_dart_filter(path):
|
| - if os.path.isdir(path):
|
| - return True
|
| - # Don't include all .dart, just .mojom.dart.
|
| - return path.endswith('.mojom.dart')
|
| -
|
| -
|
| def dart_filter(path):
|
| if os.path.isdir(path):
|
| return True
|
| @@ -34,13 +27,6 @@ def dart_filter(path):
|
| return ext == '.dart'
|
|
|
|
|
| -def mojom_filter(path):
|
| - if os.path.isdir(path):
|
| - return True
|
| - _, ext = os.path.splitext(path)
|
| - return ext == '.mojom'
|
| -
|
| -
|
| def ensure_dir_exists(path):
|
| abspath = os.path.abspath(path)
|
| if not os.path.exists(abspath):
|
| @@ -205,11 +191,6 @@ def main():
|
| help='Package entry points for analyzer',
|
| nargs='*',
|
| default=[])
|
| - parser.add_argument('--mojom-sources',
|
| - metavar='mojom_sources',
|
| - help='.mojom and .mojom.dart sources',
|
| - nargs='*',
|
| - default=[])
|
| parser.add_argument('--sdk-ext-directories',
|
| metavar='sdk_ext_directories',
|
| help='Directory containing .dart sources',
|
|
|