Home | History | Annotate | Download | only in services
      1 // merge all required services into one jar
      2 // ============================================================
      3 java_library {
      4     name: "services",
      5 
      6     dex_preopt: {
      7         app_image: true,
      8         profile: "art-profile",
      9     },
     10 
     11     srcs: [
     12         "java/**/*.java",
     13     ],
     14 
     15     // The convention is to name each service module 'services.$(module_name)'
     16     static_libs: [
     17         "services.core",
     18         "services.accessibility",
     19         "services.appwidget",
     20         "services.autofill",
     21         "services.backup",
     22         "services.companion",
     23         "services.coverage",
     24         "services.devicepolicy",
     25         "services.midi",
     26         "services.net",
     27         "services.print",
     28         "services.restrictions",
     29         "services.usage",
     30         "services.usb",
     31         "services.voiceinteraction",
     32         "android.hidl.base-V1.0-java",
     33     ],
     34 
     35     libs: [
     36         "android.hidl.manager-V1.0-java",
     37     ],
     38 
     39     // Uncomment to enable output of certain warnings (deprecated, unchecked)
     40     //javacflags: ["-Xlint"],
     41 
     42 }
     43 
     44 // native library
     45 // =============================================================
     46 
     47 cc_library_shared {
     48     name: "libandroid_servers",
     49     defaults: ["libservices.core-libs"],
     50     whole_static_libs: ["libservices.core"],
     51 }
     52