Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 1 | // Copyright 2006 The Android Open Source Project |
| 2 | |
Bob Badour | 3c53823 | 2021-02-12 21:26:48 -0800 | [diff] [blame] | 3 | package { |
| 4 | default_applicable_licenses: [ |
| 5 | "frameworks_native_opengl_tests_angeles_license", |
| 6 | ], |
| 7 | } |
| 8 | |
| 9 | // Added automatically by a large-scale-change that took the approach of |
| 10 | // 'apply every license found to every target'. While this makes sure we respect |
| 11 | // every license restriction, it may not be entirely correct. |
| 12 | // |
| 13 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 14 | // |
| 15 | // Please consider splitting the single license below into multiple licenses, |
| 16 | // taking care not to lose any license_kind information, and overriding the |
| 17 | // default license using the 'licenses: [...]' property on targets as needed. |
| 18 | // |
| 19 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 20 | // to attach the license to, and including a comment whether the files may be |
| 21 | // used in the current project. |
| 22 | // |
| 23 | // large-scale-change included anything that looked like it might be a license |
| 24 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 25 | // |
| 26 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 27 | // |
| 28 | // large-scale-change filtered out the below license kinds as false-positives: |
| 29 | // SPDX-license-identifier-LGPL |
| 30 | // SPDX-license-identifier-LGPL-2.1 |
| 31 | // SPDX-license-identifier-LGPL-3.0 |
| 32 | // See: http://go/android-license-faq |
| 33 | license { |
| 34 | name: "frameworks_native_opengl_tests_angeles_license", |
| 35 | visibility: [":__subpackages__"], |
| 36 | license_kinds: [ |
| 37 | "SPDX-license-identifier-BSD", |
| 38 | "SPDX-license-identifier-MIT", |
| 39 | "legacy_notice", |
| 40 | ], |
| 41 | license_text: [ |
| 42 | "license-BSD.txt", |
| 43 | "license-LGPL.txt", |
| 44 | "license.txt", |
| 45 | ], |
| 46 | } |
| 47 | |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 48 | cc_test { |
| 49 | name: "angeles", |
| 50 | |
| 51 | srcs: [ |
| 52 | "app-linux.cpp", |
| 53 | "demo.c", |
| 54 | ], |
| 55 | |
Chih-Hung Hsieh | 7e9cd8e | 2017-11-14 15:08:56 -0800 | [diff] [blame] | 56 | cflags: [ |
| 57 | "-Wall", |
| 58 | "-Werror", |
| 59 | ], |
| 60 | |
Chih-Hung Hsieh | da3ad6f | 2017-10-26 15:01:12 -0700 | [diff] [blame] | 61 | gtest: false, |
| 62 | |
| 63 | shared_libs: [ |
| 64 | "libEGL", |
| 65 | "libGLESv1_CM", |
| 66 | "libui", |
| 67 | "libgui", |
| 68 | "libutils", |
| 69 | ], |
| 70 | |
| 71 | static_libs: ["libglTest"], |
| 72 | } |