Index: build/android/increase_size_for_speed.gypi |
diff --git a/build/android/increase_size_for_speed.gypi b/build/android/increase_size_for_speed.gypi |
deleted file mode 100644 |
index c5600b1b1a8d2f3de1eddbf0ba7dc753c76fc45c..0000000000000000000000000000000000000000 |
--- a/build/android/increase_size_for_speed.gypi |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-# This file is meant to be included to optimize a target for speed |
-# rather than for size on Android. |
-# This is used in some carefully tailored targets and is not meant |
-# to be included everywhere. Before adding the template to another target, |
-# please ask in chromium-dev@. See crbug.com/411909 |
- |
-{ |
- 'configurations': { |
- 'Release': { |
- 'target_conditions': [ |
- ['_toolset=="target"', { |
- 'conditions': [ |
- ['OS=="android"', { |
- 'cflags!': ['-Os'], |
- 'cflags': ['-O2'], |
- }], |
- # Do not merge -Os and -O2 in GCC LTO. |
- # LTO merges all optimization options at link-time. -O2 takes |
- # precedence over -Os. Avoid using LTO simultaneously |
- # on -Os and -O2 parts for that reason. |
- ['OS=="android" and clang==0 and use_lto==1', { |
- 'cflags!': [ |
- '-flto', |
- '-ffat-lto-objects', |
- ], |
- }], |
- ['OS=="android" and clang==0 and use_lto_o2==1', { |
- 'cflags': [ |
- '-flto', |
- '-ffat-lto-objects', |
- ], |
- }], |
- ], |
- }], |
- ], |
- }, |
- }, |
-} |