Build media_profiles_V1_0.dtd with Soong

Bug: 335369205
Test: build
Change-Id: I217a902688bd9e3b9ecbcce3b869e2958f933cf7
This commit is contained in:
Inseob Kim 2024-04-18 16:36:21 +09:00
parent 5c93471127
commit af021acc42
2 changed files with 26 additions and 16 deletions

26
media/1.0/xml/Android.bp Normal file
View file

@ -0,0 +1,26 @@
// Copyright (C) 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.
package {
default_applicable_licenses: ["hardware_interfaces_license"],
}
///////////////////////////////////////
// media_profiles_V1_0.dtd
prebuilt_etc {
name: "media_profiles_V1_0.dtd",
src: "media_profiles.dtd",
filename: "media_profiles_V1_0.dtd",
}

View file

@ -1,16 +0,0 @@
LOCAL_PATH := $(call my-dir)
#######################################
# media_profiles_V1_0.dtd
include $(CLEAR_VARS)
LOCAL_MODULE := media_profiles_V1_0.dtd
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../NOTICE
LOCAL_SRC_FILES := media_profiles.dtd
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)
include $(BUILD_PREBUILT)