diff options
author | Jarkko Pöyry <jpoyry@google.com> | 2015-01-28 00:55:03 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-01-28 00:55:03 +0000 |
commit | 854498fdd00390fea77b4c0830b7d0335a56496c (patch) | |
tree | 49238285ae7eaf962f202bf7e98f8d4648e43b9d /scripts | |
parent | 250e3b2093c522cb949be35055577ebd668abe80 (diff) | |
parent | 3c77ed4e119083afaec64a173bfdcf024c271635 (diff) | |
download | VK-GL-CTS-854498fdd00390fea77b4c0830b7d0335a56496c.tar.gz VK-GL-CTS-854498fdd00390fea77b4c0830b7d0335a56496c.tar.bz2 VK-GL-CTS-854498fdd00390fea77b4c0830b7d0335a56496c.zip |
Merge "Add copyright banner to scripts."
Diffstat (limited to 'scripts')
44 files changed, 880 insertions, 0 deletions
diff --git a/scripts/build/__init__.py b/scripts/build/__init__.py index d7dcb59b4..fe508334f 100644 --- a/scripts/build/__init__.py +++ b/scripts/build/__init__.py @@ -1,2 +1,23 @@ # -*- coding: utf-8 -*- + +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + __all__ = ['common', 'config', 'build'] diff --git a/scripts/build/build.py b/scripts/build/build.py index 222c3bb16..7732e1257 100644 --- a/scripts/build/build.py +++ b/scripts/build/build.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys diff --git a/scripts/build/common.py b/scripts/build/common.py index 8b392686e..f3f327e30 100644 --- a/scripts/build/common.py +++ b/scripts/build/common.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import shlex import subprocess diff --git a/scripts/build/config.py b/scripts/build/config.py index 733a224b1..0e68a22b2 100644 --- a/scripts/build/config.py +++ b/scripts/build/config.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys import copy diff --git a/scripts/caselist_diff.py b/scripts/caselist_diff.py index e56c192cd..6427de0a5 100644 --- a/scripts/caselist_diff.py +++ b/scripts/caselist_diff.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import sys RENAME_LIST_2011_1_2011_2 = [ diff --git a/scripts/check_include_guards.py b/scripts/check_include_guards.py index a28c87741..085ba0c2e 100644 --- a/scripts/check_include_guards.py +++ b/scripts/check_include_guards.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys from fnmatch import fnmatch diff --git a/scripts/check_redundant_include_guards.py b/scripts/check_redundant_include_guards.py index 71f7c8d15..fb29487e0 100644 --- a/scripts/check_redundant_include_guards.py +++ b/scripts/check_redundant_include_guards.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys from fnmatch import fnmatch diff --git a/scripts/check_resolution_list.py b/scripts/check_resolution_list.py index 5afcca353..4c5f12336 100644 --- a/scripts/check_resolution_list.py +++ b/scripts/check_resolution_list.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import re import sys from fnmatch import fnmatch diff --git a/scripts/convert_case_list_to_xml.py b/scripts/convert_case_list_to_xml.py index ebd545b41..456e1a006 100644 --- a/scripts/convert_case_list_to_xml.py +++ b/scripts/convert_case_list_to_xml.py @@ -1,3 +1,23 @@ +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import re import sys from xml.dom.minidom import Document diff --git a/scripts/cppcheck.py b/scripts/cppcheck.py index e8ab75641..8fd5b4821 100644 --- a/scripts/cppcheck.py +++ b/scripts/cppcheck.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys import shlex diff --git a/scripts/egl/__init__.py b/scripts/egl/__init__.py index f8e7c0911..f170c8b00 100644 --- a/scripts/egl/__init__.py +++ b/scripts/egl/__init__.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from common import getEGLRegistry, getInterface, getDefaultInterface, VERSION import str_util diff --git a/scripts/egl/common.py b/scripts/egl/common.py index 5436aada0..7ad2f33dd 100644 --- a/scripts/egl/common.py +++ b/scripts/egl/common.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import re import sys diff --git a/scripts/egl/proc_address_tests.py b/scripts/egl/proc_address_tests.py index c3fce495d..91470e524 100644 --- a/scripts/egl/proc_address_tests.py +++ b/scripts/egl/proc_address_tests.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import string diff --git a/scripts/egl/str_util.py b/scripts/egl/str_util.py index 74b87f718..d00fe45ac 100644 --- a/scripts/egl/str_util.py +++ b/scripts/egl/str_util.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import string diff --git a/scripts/gen_egl.py b/scripts/gen_egl.py index 23aa200cd..97e143445 100644 --- a/scripts/gen_egl.py +++ b/scripts/gen_egl.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import egl def gen (): diff --git a/scripts/khr_util/__init__.py b/scripts/khr_util/__init__.py index 46ae457ae..384dec8bb 100644 --- a/scripts/khr_util/__init__.py +++ b/scripts/khr_util/__init__.py @@ -1,3 +1,23 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + __all__ = ['format', 'registry', 'registry_cache', 'gen_str_util'] diff --git a/scripts/khr_util/format.py b/scripts/khr_util/format.py index aa7faae44..b929a74a3 100644 --- a/scripts/khr_util/format.py +++ b/scripts/khr_util/format.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from itertools import chain INL_HEADER_TMPL = """\ diff --git a/scripts/khr_util/gen_str_util.py b/scripts/khr_util/gen_str_util.py index 82ff8681e..050486fe1 100644 --- a/scripts/khr_util/gen_str_util.py +++ b/scripts/khr_util/gen_str_util.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from itertools import chain from format import indentLines diff --git a/scripts/khr_util/registry.py b/scripts/khr_util/registry.py index d6eda7169..58dab52c6 100644 --- a/scripts/khr_util/registry.py +++ b/scripts/khr_util/registry.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import sys, logging, re from lxml import etree from collections import OrderedDict diff --git a/scripts/khr_util/registry_cache.py b/scripts/khr_util/registry_cache.py index 45de4f0c5..47f06e0bd 100644 --- a/scripts/khr_util/registry_cache.py +++ b/scripts/khr_util/registry_cache.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import urllib2 import hashlib diff --git a/scripts/launchcontrol_build.py b/scripts/launchcontrol_build.py index b7448c9b3..06a2d4f11 100644 --- a/scripts/launchcontrol_build.py +++ b/scripts/launchcontrol_build.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os from build.common import * from build.build import * diff --git a/scripts/log/log_parser.py b/scripts/log/log_parser.py index 6fc3e8717..8740397fa 100644 --- a/scripts/log/log_parser.py +++ b/scripts/log/log_parser.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import shlex import xml.dom.minidom diff --git a/scripts/log/log_to_csv.py b/scripts/log/log_to_csv.py index 9d673ab07..41ca5c9c9 100644 --- a/scripts/log/log_to_csv.py +++ b/scripts/log/log_to_csv.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import sys from log_parser import BatchResultParser diff --git a/scripts/log/log_to_xml.py b/scripts/log/log_to_xml.py index 429fdd540..8618566ba 100644 --- a/scripts/log/log_to_xml.py +++ b/scripts/log/log_to_xml.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys import codecs diff --git a/scripts/make_release.py b/scripts/make_release.py index f31a189dd..cf3f48923 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import re import sys diff --git a/scripts/no_empty_fail.rule b/scripts/no_empty_fail.rule index 092f82e04..e7846b999 100644 --- a/scripts/no_empty_fail.rule +++ b/scripts/no_empty_fail.rule @@ -1,4 +1,24 @@ <?xml version="2.0"?> +<!-- + + drawElements Quality Program utilities + -------------------------------------- + + Copyright 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> <rule version="1"> <pattern>setTestResult \( QP_TEST_RESULT_FAIL , (\"\"|\"Fail\") \)</pattern> <message> diff --git a/scripts/opengl/__init__.py b/scripts/opengl/__init__.py index e69de29bb..6e13ef1ef 100644 --- a/scripts/opengl/__init__.py +++ b/scripts/opengl/__init__.py @@ -0,0 +1,19 @@ +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- diff --git a/scripts/opengl/gen_all.py b/scripts/opengl/gen_all.py index ae0a4f5ca..c012ba07b 100644 --- a/scripts/opengl/gen_all.py +++ b/scripts/opengl/gen_all.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import getGLRegistry, getHybridInterface from gen_call_log_wrapper import genCallLogWrapper from gen_enums import genEnums diff --git a/scripts/opengl/gen_call_log_wrapper.py b/scripts/opengl/gen_call_log_wrapper.py index e085ef0be..0f5f47e9a 100644 --- a/scripts/opengl/gen_call_log_wrapper.py +++ b/scripts/opengl/gen_call_log_wrapper.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * import re diff --git a/scripts/opengl/gen_enums.py b/scripts/opengl/gen_enums.py index 7fe0469d8..5e2c35995 100644 --- a/scripts/opengl/gen_enums.py +++ b/scripts/opengl/gen_enums.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import string diff --git a/scripts/opengl/gen_es31_wrapper.py b/scripts/opengl/gen_es31_wrapper.py index 4263ce98a..874c88437 100644 --- a/scripts/opengl/gen_es31_wrapper.py +++ b/scripts/opengl/gen_es31_wrapper.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * def commandES31InitStatement (command): diff --git a/scripts/opengl/gen_es_direct_init.py b/scripts/opengl/gen_es_direct_init.py index c895b7e56..24370c34a 100644 --- a/scripts/opengl/gen_es_direct_init.py +++ b/scripts/opengl/gen_es_direct_init.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * def commandDirectInitStatement (command): diff --git a/scripts/opengl/gen_es_static_library.py b/scripts/opengl/gen_es_static_library.py index 130d3b965..cef5b3670 100644 --- a/scripts/opengl/gen_es_static_library.py +++ b/scripts/opengl/gen_es_static_library.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * GEN_VERSIONS = set(["2.0", "3.0"]) diff --git a/scripts/opengl/gen_ext_init.py b/scripts/opengl/gen_ext_init.py index 5591dd75d..4ab0eeb4a 100644 --- a/scripts/opengl/gen_ext_init.py +++ b/scripts/opengl/gen_ext_init.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * def genExtensions (registry, iface, api): diff --git a/scripts/opengl/gen_func_init.py b/scripts/opengl/gen_func_init.py index 12066cfc4..d5dcca9ef 100644 --- a/scripts/opengl/gen_func_init.py +++ b/scripts/opengl/gen_func_init.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * def commandInitStatement (command): diff --git a/scripts/opengl/gen_func_ptrs.py b/scripts/opengl/gen_func_ptrs.py index 65ff62239..3172aa2ff 100644 --- a/scripts/opengl/gen_func_ptrs.py +++ b/scripts/opengl/gen_func_ptrs.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * def commandTypedefDecl (command): diff --git a/scripts/opengl/gen_null_render_context.py b/scripts/opengl/gen_null_render_context.py index 5ebf00f05..36a2d5eb7 100644 --- a/scripts/opengl/gen_null_render_context.py +++ b/scripts/opengl/gen_null_render_context.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * # Functions that have special implementation diff --git a/scripts/opengl/gen_query_util.py b/scripts/opengl/gen_query_util.py index 79e8684f7..ea9b28059 100644 --- a/scripts/opengl/gen_query_util.py +++ b/scripts/opengl/gen_query_util.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from src_util import * from khr_util.gen_str_util import genEnumUtilImpls diff --git a/scripts/opengl/gen_str_util.py b/scripts/opengl/gen_str_util.py index d2afdc6e4..91d9ceba2 100644 --- a/scripts/opengl/gen_str_util.py +++ b/scripts/opengl/gen_str_util.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import string diff --git a/scripts/opengl/gen_wrapper.py b/scripts/opengl/gen_wrapper.py index 7437afabd..3a335ecd7 100644 --- a/scripts/opengl/gen_wrapper.py +++ b/scripts/opengl/gen_wrapper.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os from src_util import * from itertools import imap, chain diff --git a/scripts/opengl/src_util.py b/scripts/opengl/src_util.py index 3b2a1fc78..66e943e66 100644 --- a/scripts/opengl/src_util.py +++ b/scripts/opengl/src_util.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import re import sys diff --git a/scripts/run_internal_tests.py b/scripts/run_internal_tests.py index d112b026b..672d50af5 100644 --- a/scripts/run_internal_tests.py +++ b/scripts/run_internal_tests.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import os import sys import shutil diff --git a/scripts/run_nightly.py b/scripts/run_nightly.py index f8cb63d0f..a4f9e18d7 100644 --- a/scripts/run_nightly.py +++ b/scripts/run_nightly.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + from build.common import * from build.config import * from build.build import * diff --git a/scripts/testset.py b/scripts/testset.py index 5227a1229..03d838512 100644 --- a/scripts/testset.py +++ b/scripts/testset.py @@ -1,5 +1,25 @@ # -*- coding: utf-8 -*- +#------------------------------------------------------------------------- +# drawElements Quality Program utilities +# -------------------------------------- +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#------------------------------------------------------------------------- + import sys import random import string |