diff --git a/API/jsi/jsi/CMakeLists.txt b/API/jsi/jsi/CMakeLists.txt index 3f0d958265f..6a2db94383d 100644 --- a/API/jsi/jsi/CMakeLists.txt +++ b/API/jsi/jsi/CMakeLists.txt @@ -1,3 +1,8 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this source tree. + set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/API/jsi/jsi/JSIDynamic.cpp b/API/jsi/jsi/JSIDynamic.cpp index e2dd4f11fb5..89dfeb24876 100644 --- a/API/jsi/jsi/JSIDynamic.cpp +++ b/API/jsi/jsi/JSIDynamic.cpp @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #include "JSIDynamic.h" #include diff --git a/API/jsi/jsi/JSIDynamic.h b/API/jsi/jsi/JSIDynamic.h index cafa94768d0..41f9d9f8f33 100644 --- a/API/jsi/jsi/JSIDynamic.h +++ b/API/jsi/jsi/JSIDynamic.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/decorator.h b/API/jsi/jsi/decorator.h index 819ac5cdf62..828be448108 100644 --- a/API/jsi/jsi/decorator.h +++ b/API/jsi/jsi/decorator.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/instrumentation.h b/API/jsi/jsi/instrumentation.h index 9e9c980315b..108c7eb7c84 100644 --- a/API/jsi/jsi/instrumentation.h +++ b/API/jsi/jsi/instrumentation.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/jsi-inl.h b/API/jsi/jsi/jsi-inl.h index 5e53f7191b7..228fb7964ed 100644 --- a/API/jsi/jsi/jsi-inl.h +++ b/API/jsi/jsi/jsi-inl.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once namespace facebook { diff --git a/API/jsi/jsi/jsi.cpp b/API/jsi/jsi/jsi.cpp index 0435ee062b5..88b653291a5 100644 --- a/API/jsi/jsi/jsi.cpp +++ b/API/jsi/jsi/jsi.cpp @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/API/jsi/jsi/jsi.h b/API/jsi/jsi/jsi.h index 0370fed9730..33e3008335c 100644 --- a/API/jsi/jsi/jsi.h +++ b/API/jsi/jsi/jsi.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/jsilib-posix.cpp b/API/jsi/jsi/jsilib-posix.cpp index 9b635be222f..3ed8d6cdfdb 100644 --- a/API/jsi/jsi/jsilib-posix.cpp +++ b/API/jsi/jsi/jsilib-posix.cpp @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #ifndef _WINDOWS #include diff --git a/API/jsi/jsi/jsilib-windows.cpp b/API/jsi/jsi/jsilib-windows.cpp index d01c0e341b7..8db80e72faf 100644 --- a/API/jsi/jsi/jsilib-windows.cpp +++ b/API/jsi/jsi/jsilib-windows.cpp @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #ifdef _WINDOWS #include diff --git a/API/jsi/jsi/jsilib.h b/API/jsi/jsi/jsilib.h index 5a359619bd7..d99b66dc940 100644 --- a/API/jsi/jsi/jsilib.h +++ b/API/jsi/jsi/jsilib.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/test/testlib.cpp b/API/jsi/jsi/test/testlib.cpp index 71e2bf4389a..a99b4e97a20 100644 --- a/API/jsi/jsi/test/testlib.cpp +++ b/API/jsi/jsi/test/testlib.cpp @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #include #include #include diff --git a/API/jsi/jsi/test/testlib.h b/API/jsi/jsi/test/testlib.h index ef8adda4a45..8d939269400 100644 --- a/API/jsi/jsi/test/testlib.h +++ b/API/jsi/jsi/test/testlib.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include diff --git a/API/jsi/jsi/threadsafe.h b/API/jsi/jsi/threadsafe.h index aeef85fa3b9..eddbce403d6 100644 --- a/API/jsi/jsi/threadsafe.h +++ b/API/jsi/jsi/threadsafe.h @@ -1,9 +1,10 @@ /* * Copyright (c) Facebook, Inc. and its affiliates. * - * This source code is licensed under the MIT license found in the LICENSE - * file in the root directory of this source tree. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include