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

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

Issue 1992703003: Added gyp build rules for brotli. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed double quotes and tabs Created 4 years, 7 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/bro.gypi ('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 '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 16 matching lines...) Expand all
27 'dec/transform.h', 27 'dec/transform.h',
28 'dec/types.h', 28 'dec/types.h',
29 ], 29 ],
30 'conditions': [ 30 'conditions': [
31 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_ arch=="arm64")', { 31 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_ arch=="arm64")', {
32 'cflags!': ['-Os'], 32 'cflags!': ['-Os'],
33 'cflags': ['-O2'], 33 'cflags': ['-O2'],
34 }], 34 }],
35 ], 35 ],
36 }, 36 },
37 {
38 'target_name': 'bro',
39 'type': 'executable',
40 'dependencies': [
41 'brotli',
42 ],
43 'sources': [
44 'enc/backward_references.cc',
45 'enc/backward_references.h',
46 'enc/bit_cost.h',
47 'enc/block_splitter.cc',
48 'enc/block_splitter.h',
49 'enc/brotli_bit_stream.cc',
50 'enc/brotli_bit_stream.h',
51 'enc/cluster.h',
52 'enc/command.h',
53 'enc/compress_fragment.cc',
54 'enc/compress_fragment.h',
55 'enc/compress_fragment_two_pass.cc',
56 'enc/compress_fragment_two_pass.h',
57 'enc/compressor.h',
58 'enc/context.h',
59 'enc/dictionary_hash.h',
60 'enc/encode.cc',
61 'enc/encode.h',
62 'enc/encode_parallel.cc',
63 'enc/encode_parallel.h',
64 'enc/entropy_encode.cc',
65 'enc/entropy_encode.h',
66 'enc/entropy_encode_static.h',
67 'enc/fast_log.h',
68 'enc/find_match_length.h',
69 'enc/hash.h ',
70 'enc/histogram.cc',
71 'enc/histogram.h',
72 'enc/literal_cost.cc',
73 'enc/literal_cost.h',
74 'enc/metablock.cc',
75 'enc/metablock.h',
76 'enc/port.h ',
77 'enc/prefix.h',
78 'enc/ringbuffer.h',
79 'enc/static_dict.cc',
80 'enc/static_dict.h',
81 'enc/static_dict_lut.h',
82 'enc/streams.cc',
83 'enc/streams.h',
84 'enc/transform.h',
85 'enc/types.h',
86 'enc/utf8_util.cc',
87 'enc/utf8_util.h',
88 'enc/write_bits.h',
89 'tools/bro.cc',
90 ],
91 'conditions': [
92 ['OS=="win"', {
93 'msvs_settings': {
94 'VCCLCompilerTool': {
95 'AdditionalOptions': [ '/EHsc', ],
96 },
97 },
98 }],
99 ['os_posix==1', {
100 'cflags_cc!': [ '-fno-exceptions', ],
101 }],
102 ],
103 }
37 ], 104 ],
38 } 105 }
OLDNEW
« no previous file with comments | « third_party/brotli/bro.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698