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

Side by Side Diff: third_party/brotli/brotli.gyp

Issue 1269293003: Explicitly pass -Wno-unused-function to the targets that need it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnnnnnnnnnnn Created 5 years, 4 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 | « third_party/brotli/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'brotli', 8 'target_name': 'brotli',
9 'type': 'static_library', 9 'type': 'static_library',
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 11 matching lines...) Expand all
22 'dec/prefix.h', 22 'dec/prefix.h',
23 'dec/safe_malloc.c', 23 'dec/safe_malloc.c',
24 'dec/safe_malloc.h', 24 'dec/safe_malloc.h',
25 'dec/state.c', 25 'dec/state.c',
26 'dec/state.h', 26 'dec/state.h',
27 'dec/streams.c', 27 'dec/streams.c',
28 'dec/streams.h', 28 'dec/streams.h',
29 'dec/transform.h', 29 'dec/transform.h',
30 'dec/types.h', 30 'dec/types.h',
31 ], 31 ],
32 'variables': {
33 'clang_warning_flags': [
34 # IncrementalCopyFastPath in decode.c can be unused.
35 # (The file looks very different upstream, this is probably no longer
36 # needed after rolling brotli the next time.)
37 '-Wno-unused-function',
38 ],
39 },
32 'conditions': [ 40 'conditions': [
33 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_ arch=="arm64")', { 41 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_ arch=="arm64")', {
34 'cflags!': ['-Os'], 42 'cflags!': ['-Os'],
35 'cflags': ['-O2'], 43 'cflags': ['-O2'],
36 }], 44 }],
37 ], 45 ],
38 }, 46 },
39 ], 47 ],
40 } 48 }
OLDNEW
« no previous file with comments | « third_party/brotli/BUILD.gn ('k') | third_party/libusb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698