Mike Fleming | 3933d92 | 2018-04-02 10:53:08 -0700 | [diff] [blame] | 1 | # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
Andrew Top | 3afedff | 2019-08-29 16:48:11 -0700 | [diff] [blame] | 6 | 'variables': { |
| 7 | 'optimize_target_for_speed': 1, |
| 8 | }, |
Mike Fleming | 3933d92 | 2018-04-02 10:53:08 -0700 | [diff] [blame] | 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'woff2_dec', |
| 12 | 'type': 'static_library', |
| 13 | 'include_dirs': [ |
| 14 | 'src', |
| 15 | 'include', |
| 16 | '../brotli/c/dec', |
| 17 | '../brotli/c/include', |
| 18 | ], |
| 19 | 'dependencies': [ |
| 20 | '../brotli/brotli.gyp:dec', |
| 21 | ], |
| 22 | 'sources': [ |
| 23 | 'src/buffer.h', |
| 24 | 'src/file.h', |
| 25 | 'src/round.h', |
| 26 | 'src/store_bytes.h', |
| 27 | 'src/table_tags.cc', |
| 28 | 'src/table_tags.h', |
| 29 | 'src/variable_length.cc', |
| 30 | 'src/variable_length.h', |
| 31 | 'src/woff2_common.cc', |
| 32 | 'src/woff2_common.h', |
| 33 | 'src/woff2_dec.cc', |
| 34 | 'src/woff2_out.cc', |
| 35 | 'woff2/include/decode.h', |
| 36 | 'woff2/include/encode.h', |
| 37 | 'woff2/include/output.h', |
| 38 | ], |
| 39 | # TODO(ksakamoto): http://crbug.com/167187 |
| 40 | 'msvs_disabled_warnings': [ |
| 41 | 4267, |
| 42 | ], |
| 43 | }, |
| 44 | ], |
| 45 | } |