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

Side by Side Diff: skia/skia.gyp

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'target_defaults': {
7 'configurations': {
8 'Release': {
9 'conditions': [
10 ['OS=="android"', {
11 'cflags!': ['-Os'],
12 'cflags': ['-O2'],
13 }],
14 ],
15 },
16 },
17 },
6 'conditions': [ 18 'conditions': [
7 # In component mode (shared_lib), we build all of skia as a single DLL. 19 # In component mode (shared_lib), we build all of skia as a single DLL.
8 # However, in the static mode, we need to build skia as multiple targets 20 # However, in the static mode, we need to build skia as multiple targets
9 # in order to support the use case where a platform (e.g. Android) may 21 # in order to support the use case where a platform (e.g. Android) may
10 # already have a copy of skia as a system library. 22 # already have a copy of skia as a system library.
11 ['component=="static_library" and use_system_skia==0', { 23 ['component=="static_library" and use_system_skia==0', {
12 'targets': [ 24 'targets': [
13 { 25 {
14 'target_name': 'skia_library', 26 'target_name': 'skia_library',
15 'type': 'static_library', 27 'type': 'static_library',
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 'dependencies': [ 153 'dependencies': [
142 '../base/base.gyp:base', 154 '../base/base.gyp:base',
143 'skia.gyp:skia', 155 'skia.gyp:skia',
144 ], 156 ],
145 'sources': [ 157 'sources': [
146 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', 158 'tools/filter_fuzz_stub/filter_fuzz_stub.cc',
147 ], 159 ],
148 }, 160 },
149 ], 161 ],
150 } 162 }
OLDNEW
« cc/blink/cc_blink.gyp ('K') | « cc/cc_tests.gyp ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698