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

Side by Side Diff: skia/skia_library_opts.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
« cc/blink/cc_blink.gyp ('K') | « skia/skia.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 # This gyp file contains the platform-specific optimizations for Skia 6 # This gyp file contains the platform-specific optimizations for Skia
7 { 7 {
8 'target_defaults': {
9 'configurations': {
10 'Release': {
11 'conditions': [
12 ['OS=="android"', {
13 'cflags!': ['-Os'],
14 'cflags': ['-O2'],
15 }],
16 ],
17 },
18 },
19 },
8 'targets': [ 20 'targets': [
9 # Due to an unfortunate intersection of lameness between gcc and gyp, 21 # Due to an unfortunate intersection of lameness between gcc and gyp,
10 # we have to build the *_SSE2.cpp files in a separate target. The 22 # we have to build the *_SSE2.cpp files in a separate target. The
11 # gcc lameness is that, in order to compile SSE2 intrinsics code, it 23 # gcc lameness is that, in order to compile SSE2 intrinsics code, it
12 # must be passed the -msse2 flag. However, with this flag, it may 24 # must be passed the -msse2 flag. However, with this flag, it may
13 # emit SSE2 instructions even for scalar code, such as the CPUID 25 # emit SSE2 instructions even for scalar code, such as the CPUID
14 # test used to test for the presence of SSE2. So that, and all other 26 # test used to test for the presence of SSE2. So that, and all other
15 # code must be compiled *without* -msse2. The gyp lameness is that it 27 # code must be compiled *without* -msse2. The gyp lameness is that it
16 # does not allow file-specific CFLAGS, so we must create this extra 28 # does not allow file-specific CFLAGS, so we must create this extra
17 # target for those files to be compiled with -msse2. 29 # target for those files to be compiled with -msse2.
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp', 339 '../third_party/skia/src/opts/SkTextureCompression_opts_neon.cpp',
328 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp', 340 '../third_party/skia/src/opts/SkXfermode_opts_arm_neon.cpp',
329 '../third_party/skia/src/opts/memset16_neon.S', 341 '../third_party/skia/src/opts/memset16_neon.S',
330 '../third_party/skia/src/opts/memset32_neon.S', 342 '../third_party/skia/src/opts/memset32_neon.S',
331 ], 343 ],
332 }, 344 },
333 ], 345 ],
334 }], 346 }],
335 ], 347 ],
336 } 348 }
OLDNEW
« cc/blink/cc_blink.gyp ('K') | « skia/skia.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698