Merge changes Ia3ed3c1f,Ib802862d am: f517333c4d
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2428797 Change-Id: I73796c2556e54bbe70704865b8b0b15198b1d078 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -126,6 +126,20 @@ cflag_allowlist = [
|
|||||||
"-msse3",
|
"-msse3",
|
||||||
# needed for zlib:zlib
|
# needed for zlib:zlib
|
||||||
"-msse4.2",
|
"-msse4.2",
|
||||||
|
# flags to reduce binary size
|
||||||
|
"-O1",
|
||||||
|
"-O2",
|
||||||
|
"-O3",
|
||||||
|
"-Oz",
|
||||||
|
"-g1",
|
||||||
|
"-g2",
|
||||||
|
"-fdata-sections",
|
||||||
|
"-ffunction-sections",
|
||||||
|
"-fvisibility=hidden",
|
||||||
|
"-fvisibility-inlines-hidden",
|
||||||
|
"-fstack-protector",
|
||||||
|
"-mno-outline",
|
||||||
|
"-mno-outline-atomics"
|
||||||
]
|
]
|
||||||
|
|
||||||
# Linker flags which are passed through to the blueprint.
|
# Linker flags which are passed through to the blueprint.
|
||||||
@@ -1620,10 +1634,8 @@ def create_blueprint_for_targets(gn, targets):
|
|||||||
'-Wno-sign-promo',
|
'-Wno-sign-promo',
|
||||||
'-Wno-unused-parameter',
|
'-Wno-unused-parameter',
|
||||||
'-Wno-null-pointer-subtraction', # Needed to libevent
|
'-Wno-null-pointer-subtraction', # Needed to libevent
|
||||||
'-fvisibility=hidden',
|
|
||||||
'-Wno-ambiguous-reversed-operator', # needed for icui18n
|
'-Wno-ambiguous-reversed-operator', # needed for icui18n
|
||||||
'-Wno-unreachable-code-loop-increment', # needed for icui18n
|
'-Wno-unreachable-code-loop-increment', # needed for icui18n
|
||||||
'-O2',
|
|
||||||
'-fPIC',
|
'-fPIC',
|
||||||
]
|
]
|
||||||
# Chromium builds do not add a dependency for headers found inside the
|
# Chromium builds do not add a dependency for headers found inside the
|
||||||
|
|||||||
Reference in New Issue
Block a user