diff options
-rwxr-xr-x | biicode/support/bii-travis.sh | 14 | ||||
-rw-r--r-- | python/flatbuffers/compat.py | 14 | ||||
-rw-r--r-- | python/flatbuffers/packer.py | 14 | ||||
-rw-r--r-- | python/setup.py | 14 | ||||
-rw-r--r-- | reflection/generate_code.sh | 16 | ||||
-rw-r--r-- | tests/FlatBuffers.Test/FlatBuffersTestClassAttribute.cs | 18 | ||||
-rw-r--r-- | tests/FlatBuffers.Test/FlatBuffersTestMethodAttribute.cs | 18 | ||||
-rw-r--r-- | tests/FlatBuffers.Test/FuzzTestData.cs | 18 | ||||
-rw-r--r-- | tests/FlatBuffers.Test/Lcg.cs | 16 | ||||
-rw-r--r-- | tests/FlatBuffers.Test/TestTable.cs | 16 | ||||
-rwxr-xr-x | tests/JavaScriptTest.sh | 14 |
11 files changed, 169 insertions, 3 deletions
diff --git a/biicode/support/bii-travis.sh b/biicode/support/bii-travis.sh index 0f5d2f96..d327a47c 100755 --- a/biicode/support/bii-travis.sh +++ b/biicode/support/bii-travis.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2016 Google Inc. 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. + sudo apt-get update -qq sudo apt-get install libglu1-mesa-dev xorg-dev wget http://www.biicode.com/downloads/latest/ubuntu64 diff --git a/python/flatbuffers/compat.py b/python/flatbuffers/compat.py index c592901c..e0315351 100644 --- a/python/flatbuffers/compat.py +++ b/python/flatbuffers/compat.py @@ -1,3 +1,17 @@ +# Copyright 2016 Google Inc. 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. + """ A tiny version of `six` to help with backwards compability. """ import sys diff --git a/python/flatbuffers/packer.py b/python/flatbuffers/packer.py index c525f180..20ee9f11 100644 --- a/python/flatbuffers/packer.py +++ b/python/flatbuffers/packer.py @@ -1,3 +1,17 @@ +# Copyright 2016 Google Inc. 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. + """ Provide pre-compiled struct packers for encoding and decoding. diff --git a/python/setup.py b/python/setup.py index 822c9262..39afef34 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,3 +1,17 @@ +# Copyright 2016 Google Inc. 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. + from setuptools import setup setup( diff --git a/reflection/generate_code.sh b/reflection/generate_code.sh index 90f655d2..c679caf0 100644 --- a/reflection/generate_code.sh +++ b/reflection/generate_code.sh @@ -1 +1,17 @@ +#!/bin/bash + +# Copyright 2016 Google Inc. 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. + ../flatc -c --no-prefix -o ../include/flatbuffers reflection.fbs diff --git a/tests/FlatBuffers.Test/FlatBuffersTestClassAttribute.cs b/tests/FlatBuffers.Test/FlatBuffersTestClassAttribute.cs index f43b8ce7..ce629518 100644 --- a/tests/FlatBuffers.Test/FlatBuffersTestClassAttribute.cs +++ b/tests/FlatBuffers.Test/FlatBuffersTestClassAttribute.cs @@ -1,4 +1,20 @@ -using System; +/* + * Copyright 2016 Google Inc. 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. + */ + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/tests/FlatBuffers.Test/FlatBuffersTestMethodAttribute.cs b/tests/FlatBuffers.Test/FlatBuffersTestMethodAttribute.cs index 38d44886..1da867ab 100644 --- a/tests/FlatBuffers.Test/FlatBuffersTestMethodAttribute.cs +++ b/tests/FlatBuffers.Test/FlatBuffersTestMethodAttribute.cs @@ -1,4 +1,20 @@ -using System; +/* + * Copyright 2016 Google Inc. 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. + */ + + using System; namespace FlatBuffers.Test { diff --git a/tests/FlatBuffers.Test/FuzzTestData.cs b/tests/FlatBuffers.Test/FuzzTestData.cs index b0447adb..a7c120a8 100644 --- a/tests/FlatBuffers.Test/FuzzTestData.cs +++ b/tests/FlatBuffers.Test/FuzzTestData.cs @@ -1,4 +1,20 @@ -using System; +/* + * Copyright 2016 Google Inc. 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. + */ + +using System; namespace FlatBuffers.Test { diff --git a/tests/FlatBuffers.Test/Lcg.cs b/tests/FlatBuffers.Test/Lcg.cs index 1182640d..c329ed84 100644 --- a/tests/FlatBuffers.Test/Lcg.cs +++ b/tests/FlatBuffers.Test/Lcg.cs @@ -1,3 +1,19 @@ +/* + * Copyright 2016 Google Inc. 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. + */ + namespace FlatBuffers.Test { /// <summary> diff --git a/tests/FlatBuffers.Test/TestTable.cs b/tests/FlatBuffers.Test/TestTable.cs index 89a507ec..c51237b2 100644 --- a/tests/FlatBuffers.Test/TestTable.cs +++ b/tests/FlatBuffers.Test/TestTable.cs @@ -1,3 +1,19 @@ +/* + * Copyright 2016 Google Inc. 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. + */ + namespace FlatBuffers.Test { /// <summary> diff --git a/tests/JavaScriptTest.sh b/tests/JavaScriptTest.sh index 3d310075..799c55e2 100755 --- a/tests/JavaScriptTest.sh +++ b/tests/JavaScriptTest.sh @@ -1,5 +1,19 @@ #!/bin/sh +# Copyright 2016 Google Inc. 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. + pushd "$(dirname $0)" >/dev/null ../flatc -b monster_test.fbs unicode_test.json node JavaScriptTest |