diff --git a/utils/cmpcodesize/cmpcodesize.py b/utils/cmpcodesize/cmpcodesize.py index eb9ecfadd6665..15a1295a6ae01 100755 --- a/utils/cmpcodesize/cmpcodesize.py +++ b/utils/cmpcodesize/cmpcodesize.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# cmpcodesize.py - Compare sizes of built products -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors from cmpcodesize.main import main diff --git a/utils/cmpcodesize/cmpcodesize/__init__.py b/utils/cmpcodesize/cmpcodesize/__init__.py index 07ed877f0c220..8bb506677edb9 100644 --- a/utils/cmpcodesize/cmpcodesize/__init__.py +++ b/utils/cmpcodesize/cmpcodesize/__init__.py @@ -1,3 +1,20 @@ +# cmpcodesize/__init__.py - Compare sizes of built products -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +# +# ---------------------------------------------------------------------------- +# +# This file needs to be here in order for Python to treat the +# utils/cmpcodesize/cmpcodesize directory as a module. +# +# ---------------------------------------------------------------------------- + __author__ = 'Brian Gesiak' __email__ = 'modocache@gmail.com' __versioninfo__ = (0, 1, 0) diff --git a/utils/cmpcodesize/cmpcodesize/compare.py b/utils/cmpcodesize/cmpcodesize/compare.py index 842150d77ffd4..b300229369bca 100644 --- a/utils/cmpcodesize/cmpcodesize/compare.py +++ b/utils/cmpcodesize/cmpcodesize/compare.py @@ -1,3 +1,13 @@ +# cmpcodesize/compare.py - Compare sizes of built products -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors + from __future__ import print_function import re diff --git a/utils/cmpcodesize/cmpcodesize/main.py b/utils/cmpcodesize/cmpcodesize/main.py index f04c966232c91..e3b4f8cc35949 100644 --- a/utils/cmpcodesize/cmpcodesize/main.py +++ b/utils/cmpcodesize/cmpcodesize/main.py @@ -1,4 +1,13 @@ #!/usr/bin/env python +# cmpcodesize/main.py - Command-line entry point for cmpcodesize -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors from __future__ import print_function diff --git a/utils/cmpcodesize/setup.py b/utils/cmpcodesize/setup.py index 987279eb0b54f..7bd0dfa401144 100644 --- a/utils/cmpcodesize/setup.py +++ b/utils/cmpcodesize/setup.py @@ -1,3 +1,13 @@ +# cmpcodesize/setup.py - Install script for cmpcodesize -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors + import os import setuptools diff --git a/utils/cmpcodesize/tests/__init__.py b/utils/cmpcodesize/tests/__init__.py index e69de29bb2d1d..76db016179a19 100644 --- a/utils/cmpcodesize/tests/__init__.py +++ b/utils/cmpcodesize/tests/__init__.py @@ -0,0 +1,16 @@ +# cmpcodesize/tests/__init__.py - Unit tests for cmpcodesize -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors +# +# ---------------------------------------------------------------------------- +# +# This file needs to be here in order for Python to treat the +# utils/cmpcodesize/tests/ directory as a module. +# +# ---------------------------------------------------------------------------- diff --git a/utils/cmpcodesize/tests/test_list_function_sizes.py b/utils/cmpcodesize/tests/test_list_function_sizes.py index f706a75cf2b29..dc284bcb9b951 100644 --- a/utils/cmpcodesize/tests/test_list_function_sizes.py +++ b/utils/cmpcodesize/tests/test_list_function_sizes.py @@ -1,3 +1,13 @@ +# test_list_function_sizes.py - Unit tests for listFunctionSizes -*- python -*- +# +# This source file is part of the Swift.org open source project +# +# Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors +# Licensed under Apache License v2.0 with Runtime Library Exception +# +# See http://swift.org/LICENSE.txt for license information +# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors + import unittest from cmpcodesize.compare import listFunctionSizes