build: Convert EOL to use UNIX convention (yaml)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 27 Jan 2017 21:14:16 +0000 (22:14 +0100)
committerZiran Sun <ziran.sun@samsung.com>
Wed, 15 Feb 2017 11:48:00 +0000 (11:48 +0000)
Remove CRLF

Change-Id: I04414a45967439cb99d0627c3a8cf00260b93c2c
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16855
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
extlibs/yaml/SConscript

index 4cd8948..ba569af 100755 (executable)
@@ -1,54 +1,54 @@
-#******************************************************************\r
-#\r
-# Copyright 2014 Samsung Electronics All Rights Reserved.\r
-#\r
-#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-#\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-#      http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-#\r
-#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-\r
-import os\r
-Import('env')\r
-\r
-yaml_env = env.Clone()\r
-src_dir = env.get('SRC_DIR')\r
-\r
-yamlDir = os.path.join(src_dir, 'extlibs','yaml','yaml')\r
-\r
-if not os.path.exists(yamlDir):\r
-    print '''\r
-*********************************** Error: ****************************************\r
-* Please download yaml using the following command:                               *\r
-*     $ git clone https://github.com/jbeder/yaml-cpp.git extlibs/yaml/yaml *\r
-***********************************************************************************\r
-'''\r
-    Exit(1)\r
-\r
-######################################################################\r
-# Build flags\r
-######################################################################\r
-yaml_env.AppendUnique(CPPPATH = ['yaml/src' , 'yaml/include'])\r
-yaml_env.AppendUnique(CXXFLAGS = ['-std=c++0x', '-Wall', '-pthread'])\r
-yaml_env.AppendUnique(CPPDEFINES = ['LINUX'])\r
-yaml_env.AppendUnique(LIBS = ['pthread'])\r
-\r
-yaml_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])\r
-\r
-######################################################################\r
-# Source files and Targets\r
-######################################################################\r
-yaml_src = [env.Glob('yaml/src/*.cpp'), env.Glob('yaml/src/contrib/*.cpp')]\r
-yamlsdk = yaml_env.StaticLibrary('YamlParser', yaml_src)\r
-\r
-yaml_env.InstallTarget(yamlsdk, 'libYaml')\r
+#******************************************************************
+#
+# Copyright 2014 Samsung Electronics 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 os
+Import('env')
+
+yaml_env = env.Clone()
+src_dir = env.get('SRC_DIR')
+
+yamlDir = os.path.join(src_dir, 'extlibs','yaml','yaml')
+
+if not os.path.exists(yamlDir):
+    print '''
+*********************************** Error: ****************************************
+* Please download yaml using the following command:                               *
+*     $ git clone https://github.com/jbeder/yaml-cpp.git extlibs/yaml/yaml *
+***********************************************************************************
+'''
+    Exit(1)
+
+######################################################################
+# Build flags
+######################################################################
+yaml_env.AppendUnique(CPPPATH = ['yaml/src' , 'yaml/include'])
+yaml_env.AppendUnique(CXXFLAGS = ['-std=c++0x', '-Wall', '-pthread'])
+yaml_env.AppendUnique(CPPDEFINES = ['LINUX'])
+yaml_env.AppendUnique(LIBS = ['pthread'])
+
+yaml_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])
+
+######################################################################
+# Source files and Targets
+######################################################################
+yaml_src = [env.Glob('yaml/src/*.cpp'), env.Glob('yaml/src/contrib/*.cpp')]
+yamlsdk = yaml_env.StaticLibrary('YamlParser', yaml_src)
+
+yaml_env.InstallTarget(yamlsdk, 'libYaml')