Commit 2433e6ab authored by pcc's avatar pcc Committed by Commit bot

Pass -Oz flag to Clang when targeting Android.

The -Oz flag enables more aggressive size optimizations. Shrinks the
libchromeshell.so DSO by around 2.5MB.

BUG=481675
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/1103393002

Cr-Commit-Position: refs/heads/master@{#327183}
parent fec395b4
......@@ -3756,9 +3756,17 @@
],
}],
['OS=="android"', {
'variables': {
'release_optimize%': 's',
},
'conditions': [
['clang==1', {
'variables': {
'release_optimize%': 'z',
},
}, {
'variables': {
'release_optimize%': 's',
},
}],
],
}],
['profiling==1', {
'cflags': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment