Skip to content

Commit

Permalink
Remove .so libraries from layoutlib_data.
Browse files Browse the repository at this point in the history
The .so libraries are not used as native dependencies (the tests
continue to pass).

Bazel is undergoing modification where those file won't be collected
anymore (not added to --java.library.path parameter when executin JVM).

Additional information on bazelbuild/bazel#13043
  • Loading branch information
comius committed Feb 15, 2021
1 parent b3cabaf commit a8e7e1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions intellij_platform_sdk/BUILD.android_studio203
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ java_import(

filegroup(
name = "layoutlib_data",
srcs = glob([
"android-studio/plugins/android/lib/layoutlib/**/*",
]),
srcs = glob(
[
"android-studio/plugins/android/lib/layoutlib/**/*",
],
exclude = ["**/*.so"],
),
)

java_import(
Expand Down
9 changes: 6 additions & 3 deletions intellij_platform_sdk/BUILD.android_studio42
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ java_import(

filegroup(
name = "layoutlib_data",
srcs = glob([
"android-studio/plugins/android/lib/layoutlib/**/*",
]),
srcs = glob(
[
"android-studio/plugins/android/lib/layoutlib/**/*",
],
exclude = ["**/*.so"],
),
)

java_import(
Expand Down

0 comments on commit a8e7e1b

Please sign in to comment.