From d3e02b15fa925aab29dfe4ba7b93bc4cd7ff39cc Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Fri, 1 Feb 2019 10:37:40 -0800 Subject: [PATCH] Compile JNI bindings with `-Os` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: @public Compiles Yoga’s JNI bindings with `-Os`. This doesn’t have perf implications. Compressed APK size ~ -4KB, uncompressed ~ -40KB Reviewed By: astreet Differential Revision: D13862404 fbshipit-source-id: 43402478ab2b932f0ca79711c35dfb507bab818b --- java/BUCK | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/BUCK b/java/BUCK index 87a44ad6..59a1613b 100644 --- a/java/BUCK +++ b/java/BUCK @@ -17,7 +17,7 @@ yoga_cxx_library( "-fPIC", "-Wall", "-Werror", - "-O3", + "-Os", "-std=c++11", ], platforms = ANDROID,