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