| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2016 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 { | |
| 6 'includes': [ | |
| 7 'ced.gypi', | |
| 8 '../../build/win_precompile.gypi', | |
| 9 ], | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'ced', | |
| 13 'type': 'static_library', | |
| 14 'include_dirs': [ | |
| 15 'src', | |
| 16 ], | |
| 17 'sources': [ | |
| 18 '<@(ced_sources)', | |
| 19 ], | |
| 20 'direct_dependent_settings': { | |
| 21 'include_dirs': [ | |
| 22 'src', | |
| 23 ], | |
| 24 }, | |
| 25 'conditions': [ | |
| 26 ['OS == "ios"', { | |
| 27 'toolsets': ['host', 'target'], | |
| 28 }], | |
| 29 ['OS=="win"', { | |
| 30 'direct_dependent_settings': { | |
| 31 'defines': [ | |
| 32 'COMPILER_MSVC', | |
| 33 ], | |
| 34 }, | |
| 35 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800, 4267], | |
| 36 }, { | |
| 37 'direct_dependent_settings': { | |
| 38 'defines': [ | |
| 39 'COMPILER_GCC', | |
| 40 ], | |
| 41 }, | |
| 42 }], | |
| 43 ], | |
| 44 }, | |
| 45 { | |
| 46 'target_name': 'ced_unittests', | |
| 47 'type': 'executable', | |
| 48 'dependencies': [ | |
| 49 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 50 '<(DEPTH)/testing/gtest.gyp:gtest_main', | |
| 51 'ced', | |
| 52 ], | |
| 53 'include_dirs': [ | |
| 54 '<(DEPTH)', | |
| 55 ], | |
| 56 'sources': [ | |
| 57 'src/compact_enc_det/compact_enc_det_fuzz_test.cc', | |
| 58 'src/compact_enc_det/compact_enc_det_unittest.cc', | |
| 59 'src/compact_enc_det/detail_head_string.inc', | |
| 60 'src/util/encodings/encodings_unittest.cc', | |
| 61 ], | |
| 62 }, | |
| 63 ], | |
| 64 } | |
| OLD | NEW |