Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: build/android/increase_size_for_speed.gypi

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/host_heartbeat.py ('k') | build/android/insert_chromium_version.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This file is meant to be included to optimize a target for speed
6 # rather than for size on Android.
7 # This is used in some carefully tailored targets and is not meant
8 # to be included everywhere. Before adding the template to another target,
9 # please ask in chromium-dev@. See crbug.com/411909
10
11 {
12 'configurations': {
13 'Release': {
14 'target_conditions': [
15 ['_toolset=="target"', {
16 'conditions': [
17 ['OS=="android"', {
18 'cflags!': ['-Os'],
19 'cflags': ['-O2'],
20 }],
21 # Do not merge -Os and -O2 in LTO.
22 # LTO merges all optimization options at link-time. -O2 takes
23 # precedence over -Os. Avoid using LTO simultaneously
24 # on -Os and -O2 parts for that reason.
25 ['OS=="android" and use_lto==1', {
26 'cflags!': [
27 '-flto',
28 '-ffat-lto-objects',
29 ],
30 }],
31 ['OS=="android" and use_lto_o2==1', {
32 'cflags': [
33 '-flto',
34 '-ffat-lto-objects',
35 ],
36 }],
37 ],
38 }],
39 ],
40 },
41 },
42 }
OLDNEW
« no previous file with comments | « build/android/host_heartbeat.py ('k') | build/android/insert_chromium_version.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698