From bb19c48eb20a100e51e4d6941603b222bf142329 Mon Sep 17 00:00:00 2001 From: ByungWoo Lee Date: Fri, 29 May 2015 17:48:24 +0900 Subject: [PATCH] [License] Modify license of tools Change-Id: Ic336094cbbedac43bf15d80694274d7c873dbbab --- tools/skeleton_generator/WAPIOven.py | 18 ++++++++++++++--- tools/skeleton_generator/WebIDL.py | 18 ++++++++++++++--- tools/skeleton_generator/tpl/tpl_api.js | 20 ++++++++++++++----- tools/skeleton_generator/tpl/tpl_extension.cc | 18 ++++++++++++++--- tools/skeleton_generator/tpl/tpl_extension.h | 18 ++++++++++++++--- tools/skeleton_generator/tpl/tpl_instance.cc | 18 ++++++++++++++--- tools/skeleton_generator/tpl/tpl_instance.h | 18 ++++++++++++++--- 7 files changed, 105 insertions(+), 23 deletions(-) diff --git a/tools/skeleton_generator/WAPIOven.py b/tools/skeleton_generator/WAPIOven.py index b27fa9e4..89f6a405 100644 --- a/tools/skeleton_generator/WAPIOven.py +++ b/tools/skeleton_generator/WAPIOven.py @@ -1,6 +1,18 @@ -# Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# +# Copyright (c) 2015 Samsung Electronics Co., Ltd 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. +# import WebIDL from collections import OrderedDict diff --git a/tools/skeleton_generator/WebIDL.py b/tools/skeleton_generator/WebIDL.py index 91ea0192..3b577494 100644 --- a/tools/skeleton_generator/WebIDL.py +++ b/tools/skeleton_generator/WebIDL.py @@ -1,6 +1,18 @@ -# Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# +# Copyright (c) 2015 Samsung Electronics Co., Ltd 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. +# import sys from pprint import pprint diff --git a/tools/skeleton_generator/tpl/tpl_api.js b/tools/skeleton_generator/tpl/tpl_api.js index c5048335..7e1a7327 100644 --- a/tools/skeleton_generator/tpl/tpl_api.js +++ b/tools/skeleton_generator/tpl/tpl_api.js @@ -1,8 +1,18 @@ -/* global tizen, xwalk, extension */ - -// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd 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. + */ {% for module in modules %} diff --git a/tools/skeleton_generator/tpl/tpl_extension.cc b/tools/skeleton_generator/tpl/tpl_extension.cc index 1458f7ba..b6d23858 100644 --- a/tools/skeleton_generator/tpl/tpl_extension.cc +++ b/tools/skeleton_generator/tpl/tpl_extension.cc @@ -1,6 +1,18 @@ -// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd 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 "{{module.lower}}/{{module.lower}}_extension.h" diff --git a/tools/skeleton_generator/tpl/tpl_extension.h b/tools/skeleton_generator/tpl/tpl_extension.h index e1067b4c..39034c10 100644 --- a/tools/skeleton_generator/tpl/tpl_extension.h +++ b/tools/skeleton_generator/tpl/tpl_extension.h @@ -1,6 +1,18 @@ -// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd 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. + */ #ifndef {{module.upper}}_{{module.upper}}_EXTENSION_H_ #define {{module.upper}}_{{module.upper}}_EXTENSION_H_ diff --git a/tools/skeleton_generator/tpl/tpl_instance.cc b/tools/skeleton_generator/tpl/tpl_instance.cc index 4c8c4c52..1fc76712 100644 --- a/tools/skeleton_generator/tpl/tpl_instance.cc +++ b/tools/skeleton_generator/tpl/tpl_instance.cc @@ -1,6 +1,18 @@ -// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd 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 "{{module.lower}}/{{module.lower}}_instance.h" diff --git a/tools/skeleton_generator/tpl/tpl_instance.h b/tools/skeleton_generator/tpl/tpl_instance.h index d80d9adb..cc601b52 100644 --- a/tools/skeleton_generator/tpl/tpl_instance.h +++ b/tools/skeleton_generator/tpl/tpl_instance.h @@ -1,6 +1,18 @@ -// Copyright {{year}} Samsung Electronics Co, Ltd. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* + * Copyright (c) 2015 Samsung Electronics Co., Ltd 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. + */ #ifndef {{module.upper}}_{{module.upper}}_INSTANCE_H_ #define {{module.upper}}_{{module.upper}}_INSTANCE_H_ -- 2.34.1