summaryrefslogtreecommitdiffstats
path: root/build/android/increase_size_for_speed.gypi
blob: f5f2d6263322bd53270e1bc38348619e800113dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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'],
            }],
          ],
        }],
      ],
    },
  },
}