diff options
Diffstat (limited to 'cmds/installd/Android.bp')
-rw-r--r-- | cmds/installd/Android.bp | 57 |
1 files changed, 10 insertions, 47 deletions
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp index 3f180d94a7..8ff4dd862d 100644 --- a/cmds/installd/Android.bp +++ b/cmds/installd/Android.bp @@ -1,12 +1,3 @@ -package { - // See: http://go/android-license-faq - // A large-scale-change added 'default_applicable_licenses' to import - // all of the 'license_kinds' from "frameworks_native_license" - // to get the below license kinds: - // SPDX-license-identifier-Apache-2.0 - default_applicable_licenses: ["frameworks_native_license"], -} - cc_defaults { name: "installd_defaults", @@ -26,15 +17,15 @@ cc_defaults { "InstalldNativeService.cpp", "QuotaUtils.cpp", "dexopt.cpp", - "execv_helper.cpp", "globals.cpp", - "run_dex2oat.cpp", - "unique_file.cpp", "utils.cpp", "utils_default.cpp", "view_compiler.cpp", ":installd_aidl", ], + header_libs: [ + "dex2oat_headers", + ], shared_libs: [ "libbase", "libbinder", @@ -47,12 +38,6 @@ cc_defaults { "libutils", "server_configurable_flags", ], - static_libs: [ - "libasync_safe", - ], - export_shared_lib_headers: [ - "libbinder", - ], product_variables: { arc: { @@ -118,28 +103,6 @@ cc_library_headers { } // -// Unit tests -// - -cc_test_host { - name: "run_dex2oat_test", - test_suites: ["general-tests"], - clang: true, - srcs: [ - "run_dex2oat_test.cpp", - "run_dex2oat.cpp", - "unique_file.cpp", - "execv_helper.cpp", - ], - cflags: ["-Wall", "-Werror"], - shared_libs: [ - "libbase", - "server_configurable_flags", - ], - test_config: "run_dex2oat_test.xml", -} - -// // Executable // @@ -192,15 +155,16 @@ cc_binary { "liblog", "libutils", ], - required: [ - "apexd" + static_libs: [ + "libapexd", ], } filegroup { name: "installd_aidl", srcs: [ - "binder/**/*.aidl", + "binder/android/os/IInstalld.aidl", + "binder/android/os/storage/CrateMetadata.aidl", ], path: "binder", } @@ -241,19 +205,18 @@ cc_binary { srcs: [ "dexopt.cpp", - "execv_helper.cpp", "globals.cpp", "otapreopt.cpp", "otapreopt_utils.cpp", - "run_dex2oat.cpp", - "unique_file.cpp", "utils.cpp", "utils_default.cpp", "view_compiler.cpp", ], + header_libs: ["dex2oat_headers"], + static_libs: [ - "libasync_safe", + "libartimagevalues", "libdiskusage", "libotapreoptparameters", ], |