Skip to content

Commit

Permalink
Add the screen cast binary so and APK
Browse files Browse the repository at this point in the history
Tracked-On: OAM-122966
Signed-off-by: He, Yue <[email protected]>
  • Loading branch information
yhe39 authored and sysopenci committed Sep 14, 2024
1 parent 105411a commit 48c4546
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions screencast/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
cc_prebuilt_library_shared {
name: "libacrn_dm_backend",
arch: {
x86_64: {
srcs: ["libacrn_dm_backend.so"],
},
},
shared_libs: [
"libEGL",
"libGLESv3",
"liblog",
"libz",
"libsync",
"libc",
],

strip: {
none:true,
},
allow_undefined_symbols: true,
check_elf_files: false,
}

android_app_import {
name: "DmBackendApp",

// this needs to be a privileged application
privileged: true,

// Make sure the build system doesn't try to resign the APK
dex_preopt: {
enabled: false,
},

arch: {
x86_64: {
apk: "DmBackendApp.apk",
},
},
presigned: true,
apex_available: [
"//apex_available:platform",
"com.intel.dm_backend",
],
}

cc_prebuilt_library_shared {
name: "libCastFrontClientJni",
arch: {
x86_64: {
srcs: ["libCastFrontClientJni.so"],
},
},
shared_libs: [
"liblog",
],

strip: {
none:true,
},
allow_undefined_symbols: true,
check_elf_files: false,
}

android_app_import {
name: "ScreenCastClient",

// this needs to be a privileged application
privileged: true,

// Make sure the build system doesn't try to resign the APK
dex_preopt: {
enabled: false,
},

arch: {
x86_64: {
apk: "ScreenCastClient.apk",
},
},
presigned: true,

apex_available: [
"//apex_available:platform",
"com.intel.screencastfrontclient",
],

}
cc_prebuilt_binary {
name: "dm-backend",
srcs: ["dm-backend"],
shared_libs: ["libEGL", "libGLESv3", "libandroid", "liblog", "libsync", "libz"],
check_elf_files: false,
}
cc_prebuilt_binary {
name: "acrn-bkend-server",
srcs: ["acrn-bkend-server"],
shared_libs: [
"libEGL",
"libGLESv3",
"liblog",
"libz",
"libsync",
"libc",
"libandroid",
],
check_elf_files: false,
}
Binary file added screencast/DmBackendApp.apk
Binary file not shown.
Binary file added screencast/ScreenCastClient.apk
Binary file not shown.
Binary file added screencast/acrn-bkend-server
Binary file not shown.
Binary file added screencast/dm-backend
Binary file not shown.
Binary file added screencast/libCastFrontClientJni.so
Binary file not shown.
Binary file added screencast/libacrn_dm_backend.so
Binary file not shown.

0 comments on commit 48c4546

Please sign in to comment.