blob: 6bb09da7a3138616721e106c702b1b1605ab99e3 [file] [log] [blame]
// Copyright (C) 2018 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.
apex {
name: "apex.test",
manifest: "testdata/manifest.json",
binaries: ["surfaceflinger", "vold"],
multilib: {
lib32: {
binaries: ["drmserver"],
},
prefer32: {
binaries: ["dex2oat"],
},
},
native_shared_libs: ["libc", "libcutils"],
java_libs: ["core-oj"],
prebuilts: ["sample_prebuilt_file", "apex.test.ld.config.txt", "apex.test.init.rc"],
compile_multilib: "both",
key: "apex.test.key",
certificate: ":apex.test.certificate",
}
apex_key {
name: "apex.test.key",
public_key: "testdata/testkey.avbpubkey",
private_key: "testdata/testkey.pem",
}
android_app_certificate {
name: "apex.test.certificate",
// will use testcert.pk8 and testcert.x509.pem
certificate: "testdata/testcert",
}
prebuilt_etc {
name: "apex.test.ld.config.txt",
src: "testdata/ld.config.txt",
filename: "ld.config.txt",
installable: false,
}
prebuilt_etc {
name: "sample_prebuilt_file",
src: "testdata/sample_prebuilt_file",
}
prebuilt_etc {
name: "apex.test.init.rc",
src: "testdata/init.rc",
filename: "init.rc",
installable: false,
}