OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("sdch_config") { | 5 config("sdch_config") { |
6 include_dirs = [ "open-vcdiff/src" ] | 6 include_dirs = [ "open-vcdiff/src" ] |
7 } | 7 } |
8 | 8 |
9 # gn orders flags on a target before flags from configs. The default config | 9 # gn orders flags on a target before flags from configs. The default config |
10 # adds -Wall, and these flags have to be after -Wall -- so they need to come | 10 # adds -Wall, and these flags have to be after -Wall -- so they need to come |
(...skipping 12 matching lines...) Expand all Loading... |
23 "open-vcdiff/src/addrcache.cc", | 23 "open-vcdiff/src/addrcache.cc", |
24 "open-vcdiff/src/blockhash.cc", | 24 "open-vcdiff/src/blockhash.cc", |
25 "open-vcdiff/src/blockhash.h", | 25 "open-vcdiff/src/blockhash.h", |
26 "open-vcdiff/src/checksum.h", | 26 "open-vcdiff/src/checksum.h", |
27 "open-vcdiff/src/codetable.cc", | 27 "open-vcdiff/src/codetable.cc", |
28 "open-vcdiff/src/codetable.h", | 28 "open-vcdiff/src/codetable.h", |
29 "open-vcdiff/src/compile_assert.h", | 29 "open-vcdiff/src/compile_assert.h", |
30 "open-vcdiff/src/decodetable.cc", | 30 "open-vcdiff/src/decodetable.cc", |
31 "open-vcdiff/src/decodetable.h", | 31 "open-vcdiff/src/decodetable.h", |
32 "open-vcdiff/src/encodetable.cc", | 32 "open-vcdiff/src/encodetable.cc", |
33 "open-vcdiff/src/encodetable.h", | 33 "open-vcdiff/src/google/encodetable.h", |
| 34 "open-vcdiff/src/google/jsonwriter.h", |
34 "open-vcdiff/src/google/output_string.h", | 35 "open-vcdiff/src/google/output_string.h", |
35 "open-vcdiff/src/google/vcdecoder.h", | 36 "open-vcdiff/src/google/vcdecoder.h", |
36 "open-vcdiff/src/google/vcencoder.h", | 37 "open-vcdiff/src/google/vcencoder.h", |
37 "open-vcdiff/src/headerparser.cc", | 38 "open-vcdiff/src/headerparser.cc", |
38 "open-vcdiff/src/headerparser.h", | 39 "open-vcdiff/src/headerparser.h", |
39 "open-vcdiff/src/instruction_map.cc", | 40 "open-vcdiff/src/instruction_map.cc", |
40 "open-vcdiff/src/instruction_map.h", | 41 "open-vcdiff/src/instruction_map.h", |
41 "open-vcdiff/src/jsonwriter.cc", | 42 "open-vcdiff/src/jsonwriter.cc", |
42 "open-vcdiff/src/jsonwriter.h", | |
43 "open-vcdiff/src/rolling_hash.h", | 43 "open-vcdiff/src/rolling_hash.h", |
44 "open-vcdiff/src/testing.h", | 44 "open-vcdiff/src/testing.h", |
45 "open-vcdiff/src/varint_bigendian.cc", | 45 "open-vcdiff/src/varint_bigendian.cc", |
46 "open-vcdiff/src/varint_bigendian.h", | 46 "open-vcdiff/src/varint_bigendian.h", |
47 "open-vcdiff/src/vcdecoder.cc", | 47 "open-vcdiff/src/vcdecoder.cc", |
48 "open-vcdiff/src/vcdiff_defs.h", | 48 "open-vcdiff/src/vcdiff_defs.h", |
49 "open-vcdiff/src/vcdiffengine.cc", | 49 "open-vcdiff/src/vcdiffengine.cc", |
50 "open-vcdiff/src/vcdiffengine.h", | 50 "open-vcdiff/src/vcdiffengine.h", |
51 "open-vcdiff/src/vcencoder.cc", | 51 "open-vcdiff/src/vcencoder.cc", |
52 "open-vcdiff/vsprojects/config.h", | |
53 "open-vcdiff/vsprojects/stdint.h", | |
54 ] | 52 ] |
55 | 53 |
56 configs += [ ":sdch_warnings" ] | 54 configs += [ ":sdch_warnings" ] |
57 public_configs = [ ":sdch_config" ] | 55 public_configs = [ ":sdch_config" ] |
58 | 56 |
59 deps = [ | 57 deps = [ |
60 "//base", | 58 "//base", |
61 "//third_party/zlib", | 59 "//third_party/zlib", |
62 ] | 60 ] |
63 | 61 |
(...skipping 21 matching lines...) Expand all Loading... |
85 "sdch/logging_forward.h", | 83 "sdch/logging_forward.h", |
86 ] | 84 ] |
87 } else { | 85 } else { |
88 logging_file = rebase_path("logging_forward.h", root_build_dir) | 86 logging_file = rebase_path("logging_forward.h", root_build_dir) |
89 cflags = [ | 87 cflags = [ |
90 "-include", | 88 "-include", |
91 logging_file, | 89 logging_file, |
92 ] | 90 ] |
93 } | 91 } |
94 } | 92 } |
OLD | NEW |