diff --git a/src/gfxstream/codegen/xml/vk_gfxstream.xml b/src/gfxstream/codegen/xml/vk_gfxstream.xml index 54eeae2fd72..d1599b76d77 100644 --- a/src/gfxstream/codegen/xml/vk_gfxstream.xml +++ b/src/gfxstream/codegen/xml/vk_gfxstream.xml @@ -1,19 +1,8 @@ -Copyright (C) 2023 The Android Open Source Project - -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. +Copyright 2023 Google LLC +SPDX-License-Identifier: MIT diff --git a/src/gfxstream/guest/android/ANativeWindowAndroid.cpp b/src/gfxstream/guest/android/ANativeWindowAndroid.cpp index 6ab4fa6c8d7..caba878c932 100644 --- a/src/gfxstream/guest/android/ANativeWindowAndroid.cpp +++ b/src/gfxstream/guest/android/ANativeWindowAndroid.cpp @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #include "ANativeWindowAndroid.h" @@ -223,4 +214,4 @@ ANativeWindowHelper* createPlatformANativeWindowHelper() { return new ANativeWindowHelperAndroid(); } -} // namespace gfxstream \ No newline at end of file +} // namespace gfxstream diff --git a/src/gfxstream/guest/android/ANativeWindowAndroid.h b/src/gfxstream/guest/android/ANativeWindowAndroid.h index bac57c3f784..0f421fcde0b 100644 --- a/src/gfxstream/guest/android/ANativeWindowAndroid.h +++ b/src/gfxstream/guest/android/ANativeWindowAndroid.h @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #pragma once @@ -54,4 +45,4 @@ class ANativeWindowHelperAndroid : public ANativeWindowHelper { int getHostHandle(EGLClientBuffer buffer, Gralloc* helper); }; -} // namespace gfxstream \ No newline at end of file +} // namespace gfxstream diff --git a/src/gfxstream/guest/android/ANativeWindowEmulated.cpp b/src/gfxstream/guest/android/ANativeWindowEmulated.cpp index fe48633b36c..ae16ce713ec 100644 --- a/src/gfxstream/guest/android/ANativeWindowEmulated.cpp +++ b/src/gfxstream/guest/android/ANativeWindowEmulated.cpp @@ -1,16 +1,7 @@ -// Copyright 2024 The Android Open Source Project -// -// 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. +/* + * Copyright 2024 Google LLC + * SPDX-License-Identifier: MIT + */ #include "ANativeWindowEmulated.h" diff --git a/src/gfxstream/guest/android/ANativeWindowEmulated.h b/src/gfxstream/guest/android/ANativeWindowEmulated.h index 8794e51765f..79076e3c0a2 100644 --- a/src/gfxstream/guest/android/ANativeWindowEmulated.h +++ b/src/gfxstream/guest/android/ANativeWindowEmulated.h @@ -1,16 +1,7 @@ -// Copyright 2024 The Android Open Source Project -// -// 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. +/* + * Copyright 2024 Google LLC + * SPDX-License-Identifier: MIT + */ #include #include diff --git a/src/gfxstream/guest/android/GfxStreamGralloc.cpp b/src/gfxstream/guest/android/GfxStreamGralloc.cpp index d3ace7ebdec..33166cd42cf 100644 --- a/src/gfxstream/guest/android/GfxStreamGralloc.cpp +++ b/src/gfxstream/guest/android/GfxStreamGralloc.cpp @@ -1,16 +1,7 @@ -// Copyright 2024 The Android Open Source Project -// -// 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. +/* + * Copyright 2024 Google LLC + * SPDX-License-Identifier: MIT + */ #include "gfxstream/guest/GfxStreamGralloc.h" diff --git a/src/gfxstream/guest/android/GrallocEmulated.cpp b/src/gfxstream/guest/android/GrallocEmulated.cpp index 97d26099f33..66dadbdfbeb 100644 --- a/src/gfxstream/guest/android/GrallocEmulated.cpp +++ b/src/gfxstream/guest/android/GrallocEmulated.cpp @@ -1,16 +1,7 @@ -// Copyright 2024 The Android Open Source Project -// -// 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. +/* + * Copyright 2024 Google LLC + * SPDX-License-Identifier: MIT + */ #include "GrallocEmulated.h" diff --git a/src/gfxstream/guest/android/GrallocEmulated.h b/src/gfxstream/guest/android/GrallocEmulated.h index 6ea1270bfb6..28f8df08dca 100644 --- a/src/gfxstream/guest/android/GrallocEmulated.h +++ b/src/gfxstream/guest/android/GrallocEmulated.h @@ -1,16 +1,7 @@ -// Copyright 2024 The Android Open Source Project -// -// 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. +/* + * Copyright 2024 Google LLC + * SPDX-License-Identifier: MIT + */ #include #include diff --git a/src/gfxstream/guest/android/GrallocGoldfish.cpp b/src/gfxstream/guest/android/GrallocGoldfish.cpp index 0ca61d62d8c..44a2924321f 100644 --- a/src/gfxstream/guest/android/GrallocGoldfish.cpp +++ b/src/gfxstream/guest/android/GrallocGoldfish.cpp @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #include "GrallocGoldfish.h" diff --git a/src/gfxstream/guest/android/GrallocGoldfish.h b/src/gfxstream/guest/android/GrallocGoldfish.h index 6c3210d3a5b..33fab3fcb73 100644 --- a/src/gfxstream/guest/android/GrallocGoldfish.h +++ b/src/gfxstream/guest/android/GrallocGoldfish.h @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #pragma once diff --git a/src/gfxstream/guest/android/GrallocMinigbm.cpp b/src/gfxstream/guest/android/GrallocMinigbm.cpp index e02e347aefd..7ddc6561cd2 100644 --- a/src/gfxstream/guest/android/GrallocMinigbm.cpp +++ b/src/gfxstream/guest/android/GrallocMinigbm.cpp @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #include "GrallocMinigbm.h" diff --git a/src/gfxstream/guest/android/GrallocMinigbm.h b/src/gfxstream/guest/android/GrallocMinigbm.h index 031fd46880d..82fcfb958a5 100644 --- a/src/gfxstream/guest/android/GrallocMinigbm.h +++ b/src/gfxstream/guest/android/GrallocMinigbm.h @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #pragma once diff --git a/src/gfxstream/guest/android/include/gfxstream/guest/ANativeWindow.h b/src/gfxstream/guest/android/include/gfxstream/guest/ANativeWindow.h index 3ddfc2f0f07..af0a65caeb9 100644 --- a/src/gfxstream/guest/android/include/gfxstream/guest/ANativeWindow.h +++ b/src/gfxstream/guest/android/include/gfxstream/guest/ANativeWindow.h @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #pragma once @@ -67,4 +58,4 @@ ANativeWindowHelper* createPlatformANativeWindowHelper(); } // namespace gfxstream -#endif // defined(ANDROID) \ No newline at end of file +#endif // defined(ANDROID) diff --git a/src/gfxstream/guest/android/include/gfxstream/guest/GfxStreamGralloc.h b/src/gfxstream/guest/android/include/gfxstream/guest/GfxStreamGralloc.h index b1d02038b5c..4036885feee 100644 --- a/src/gfxstream/guest/android/include/gfxstream/guest/GfxStreamGralloc.h +++ b/src/gfxstream/guest/android/include/gfxstream/guest/GfxStreamGralloc.h @@ -1,16 +1,7 @@ -// Copyright 2023 The Android Open Source Project -// -// 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 expresso or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * Copyright 2023 Google LLC + * SPDX-License-Identifier: MIT + */ #pragma once diff --git a/src/gfxstream/guest/android/include/gfxstream/guest/goldfish_sync.h b/src/gfxstream/guest/android/include/gfxstream/guest/goldfish_sync.h index 497a15b04ae..aaa4c07d97a 100644 --- a/src/gfxstream/guest/android/include/gfxstream/guest/goldfish_sync.h +++ b/src/gfxstream/guest/android/include/gfxstream/guest/goldfish_sync.h @@ -1,16 +1,7 @@ -// Copyright 2016 The Android Open Source Project -// -// 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. +/* + * Copyright 2016 Google LLC + * SPDX-License-Identifier: MIT + */ #ifndef ANDROID_INCLUDE_HARDWARE_GOLDFISH_SYNC_H #define ANDROID_INCLUDE_HARDWARE_GOLDFISH_SYNC_H