Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zlib
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
la
platform
external
zlib
Commits
9f3b5dd4
Commit
9f3b5dd4
authored
6 months ago
by
Android Build Coastguard Worker
Browse files
Options
Downloads
Plain Diff
Snap for 12245356 from
2c068738
to mainline-neuralnetworks-release
Change-Id: I9004d2a08bbcb2014532199000a9342ced7db868
parents
6de37ab7
2c068738
No related branches found
Tags
aml_neu_351010000
aml_neu_351010040
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Android.bp
+24
-28
24 additions, 28 deletions
Android.bp
with
24 additions
and
28 deletions
Android.bp
+
24
−
28
View file @
9f3b5dd4
...
...
@@ -104,6 +104,9 @@ libz_srcs = [
cc_defaults {
name: "libz_defaults",
defaults: [
"bug_24465209_workaround",
],
cflags: cflags_shared,
stl: "none",
...
...
@@ -120,11 +123,6 @@ cc_defaults {
arch: {
arm: {
// TODO: This is to work around b/24465209. Remove after root cause
// is fixed.
pack_relocations: false,
ldflags: ["-Wl,--hash-style=both"],
cflags: cflags_arm,
},
arm64: {
...
...
@@ -177,26 +175,9 @@ cc_defaults {
},
}
// TODO: Remove this when b/328163089 is fixed.
// Thin lto will be enabled by default in the future.
cc_defaults {
name: "libz_thin_lto_defaults",
target: {
android_arm64: {
lto: {
thin: true,
},
},
},
}
cc_library {
name: "libz",
defaults: [
"libz_defaults",
"libz_thin_lto_defaults",
],
defaults: ["libz_defaults"],
whole_static_libs: ["libz_static"],
...
...
@@ -224,15 +205,14 @@ cc_library {
no_stubs: true,
},
},
afdo: true,
}
cc_library {
name: "libz_static",
defaults: ["libz_defaults"],
visibility: [
"//external/angle",
"//system/unwinding/libunwindstack",
],
visibility: ["//visibility:private"],
srcs: libz_srcs,
...
...
@@ -255,7 +235,6 @@ cc_library {
// can and do differ over time.
cc_library {
name: "libz_stable",
defaults: ["libz_thin_lto_defaults"],
visibility: [
"//bootable/recovery/applypatch",
"//bootable/recovery/tests",
...
...
@@ -315,6 +294,23 @@ cc_library {
],
}
cc_library_static {
name: "tflite_support_libz",
defaults: ["libz_defaults"],
srcs: [
"contrib/minizip/ioapi.c",
"contrib/minizip/unzip.c",
],
sdk_version: "current",
// TODO: switch this to "apex_inherit".
min_sdk_version: "30",
apex_available: [
"//apex_available:platform",
"com.android.adservices",
"com.android.extservices",
],
}
cc_test {
name: "zlib_tests",
srcs: [
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment