Fix add_copyright.py and add license to android_test/test.cpp.
Previously .cpp was not recognized by add_copyright.py. And the
license information was missing from the android_test file.
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 4e7b407..d2f80ba 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -19,3 +19,4 @@
Damien Mabin <dmabin@google.com>
Qining Lu <qining@google.com>
Jakob Vogel <JakobpunktVogel@gmail.com>
+David Yen <dyen@google.com>
diff --git a/android_test/test.cpp b/android_test/test.cpp
index d443375..23df9b8 100644
--- a/android_test/test.cpp
+++ b/android_test/test.cpp
@@ -1,3 +1,17 @@
+// Copyright 2015 The Shaderc Authors. All rights reserved.
+//
+// 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.
+
#include "shaderc/shaderc.hpp"
#include <android_native_app_glue.h>
diff --git a/utils/add_copyright.py b/utils/add_copyright.py
index b6caee4..63d725a 100755
--- a/utils/add_copyright.py
+++ b/utils/add_copyright.py
@@ -128,7 +128,7 @@
def main():
glob_comment_pairs = [('*.h', '//'), ('*.hpp', '//'), ('*.cc', '//'),
- ('*.py', '#')]
+ ('*.py', '#'), ('*.cpp', '//')]
if '--check' in sys.argv:
count = 0
for pair in glob_comment_pairs: