mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:58:29 +00:00
b890ed4cc3
Hide this behind a flag, so that we can disable it when building in the flutter in-tree build. The flag will be set to false for the in-tree flutter build, see https://github.com/flutter/engine/pull/40195 Change-Id: I248376985d05bfb248a2eab6fa377cbb01d75654 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288040 Commit-Queue: Jackson Gardner <jacksongardner@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com>
18 lines
446 B
Python
18 lines
446 B
Python
#!/usr/bin/env python3
|
|
# Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import os
|
|
import sys
|
|
|
|
|
|
def main(args):
|
|
for file in os.listdir(args[0]):
|
|
if file.endswith('.cpp') or file.endswith('.h'):
|
|
print(file)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main(sys.argv[1:])
|