1*260189e9STreehugger Robot// Copyright (C) 2012 The Android Open Source Project 2*260189e9STreehugger Robot// 3*260189e9STreehugger Robot// Licensed under the Apache License, Version 2.0 (the "License"); 4*260189e9STreehugger Robot// you may not use this file except in compliance with the License. 5*260189e9STreehugger Robot// You may obtain a copy of the License at 6*260189e9STreehugger Robot// 7*260189e9STreehugger Robot// http://www.apache.org/licenses/LICENSE-2.0 8*260189e9STreehugger Robot// 9*260189e9STreehugger Robot// Unless required by applicable law or agreed to in writing, software 10*260189e9STreehugger Robot// distributed under the License is distributed on an "AS IS" BASIS, 11*260189e9STreehugger Robot// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*260189e9STreehugger Robot// See the License for the specific language governing permissions and 13*260189e9STreehugger Robot// limitations under the License. 14*260189e9STreehugger Robot 15*260189e9STreehugger Robotpackage { 16*260189e9STreehugger Robot default_applicable_licenses: ["external_mp4parser_license"], 17*260189e9STreehugger Robot} 18*260189e9STreehugger Robot 19*260189e9STreehugger Robot// Added automatically by a large-scale-change that took the approach of 20*260189e9STreehugger Robot// 'apply every license found to every target'. While this makes sure we respect 21*260189e9STreehugger Robot// every license restriction, it may not be entirely correct. 22*260189e9STreehugger Robot// 23*260189e9STreehugger Robot// e.g. GPL in an MIT project might only apply to the contrib/ directory. 24*260189e9STreehugger Robot// 25*260189e9STreehugger Robot// Please consider splitting the single license below into multiple licenses, 26*260189e9STreehugger Robot// taking care not to lose any license_kind information, and overriding the 27*260189e9STreehugger Robot// default license using the 'licenses: [...]' property on targets as needed. 28*260189e9STreehugger Robot// 29*260189e9STreehugger Robot// For unused files, consider creating a 'fileGroup' with "//visibility:private" 30*260189e9STreehugger Robot// to attach the license to, and including a comment whether the files may be 31*260189e9STreehugger Robot// used in the current project. 32*260189e9STreehugger Robot// See: http://go/android-license-faq 33*260189e9STreehugger Robotlicense { 34*260189e9STreehugger Robot name: "external_mp4parser_license", 35*260189e9STreehugger Robot visibility: [":__subpackages__"], 36*260189e9STreehugger Robot license_kinds: [ 37*260189e9STreehugger Robot "SPDX-license-identifier-Apache-2.0", 38*260189e9STreehugger Robot "SPDX-license-identifier-MIT", 39*260189e9STreehugger Robot ], 40*260189e9STreehugger Robot license_text: [ 41*260189e9STreehugger Robot "NOTICE", 42*260189e9STreehugger Robot ], 43*260189e9STreehugger Robot} 44*260189e9STreehugger Robot 45*260189e9STreehugger Robotjava_library { 46*260189e9STreehugger Robot name: "mp4parser", 47*260189e9STreehugger Robot sdk_version: "9", 48*260189e9STreehugger Robot srcs: ["isoparser/src/main/java/**/*.java"], 49*260189e9STreehugger Robot java_resource_dirs: ["isoparser/src/main/resources"], 50*260189e9STreehugger Robot 51*260189e9STreehugger Robot errorprone: { 52*260189e9STreehugger Robot javacflags: [ 53*260189e9STreehugger Robot "-Xep:ArrayToString:WARN", 54*260189e9STreehugger Robot ], 55*260189e9STreehugger Robot }, 56*260189e9STreehugger Robot} 57