Skip to content

Commit

Permalink
disable prefab based builds in main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Dec 11, 2020
1 parent cc0cddd commit f1c9362
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion java/androidaudioplugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,26 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// FIXME: PREFAB: enable these sections once we migrate to prefab-based solution.
/*
buildFeatures {
prefabPublishing true
}
// Workaround for https://issuetracker.google.com/issues/168777344#comment5
packagingOptions {
exclude '**.so'
}
// WARNING: It's not working https://github.com/atsushieno/android-audio-plugin-framework/issues/57
prefab {
androidaudioplugin {
name 'androidaudioplugin'
// WARNING: It's not working https://github.com/atsushieno/android-audio-plugin-framework/issues/57
// There is no way to specify more than one include directory.
// headers '../../native/androidaudioplugin/android/include'
// FIXME: remove this dummy headers dir hack once https://issuetracker.google.com/issues/172105145 is supported.
headers '../../dummy-prefab-headers/include'
}
}
*/
}

afterEvaluate {
Expand Down
2 changes: 1 addition & 1 deletion java/samples/aapbarebonepluginsample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_compile_options(aapbarebonepluginsample
-Wshadow-field
)

if (TRUE)
if (BUILD_WITH_PREFAB)
if (ANDROID)
find_package (androidaudioplugin REQUIRED CONFIG)
set (aapbarebonepluginsample_LIBS
Expand Down
3 changes: 3 additions & 0 deletions java/samples/aapbarebonepluginsample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ android {
}
}
}
// FIXME: PREFAB: enable these sections once we migrate to prefab-based solution.
/*
buildFeatures {
prefab true
}
*/
externalNativeBuild {
cmake {
path "CMakeLists.txt"
Expand Down
2 changes: 1 addition & 1 deletion java/samples/aaphostsample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ target_compile_options(aaphostsample
-Wshadow-field
)

if (TRUE)
if (BUILD_WITH_PREFAB)
if (ANDROID)
find_package (androidaudioplugin REQUIRED CONFIG)
set (aaphostsample_LIBS
Expand Down
3 changes: 3 additions & 0 deletions java/samples/aaphostsample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ android {
}
}
}
// FIXME: PREFAB: enable these sections once we migrate to prefab-based solution.
/*
buildFeatures {
prefab true
}
*/
buildTypes {
release {
minifyEnabled false
Expand Down

0 comments on commit f1c9362

Please sign in to comment.