OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 config("ced_config") { | 7 config("ced_config") { |
8 include_dirs = [ "src" ] | 8 include_dirs = [ "src" ] |
9 if (is_clang) { | 9 if (is_clang) { |
10 cflags = [ "-Wno-unused-function" ] | 10 cflags = [ "-Wno-unused-function" ] |
11 } | 11 } |
12 } | 12 } |
13 | 13 |
14 source_set("ced") { | 14 static_library("ced") { |
15 sources = [ | 15 sources = [ |
16 "src/compact_enc_det/compact_enc_det.cc", | 16 "src/compact_enc_det/compact_enc_det.cc", |
17 "src/compact_enc_det/compact_enc_det.h", | 17 "src/compact_enc_det/compact_enc_det.h", |
18 "src/compact_enc_det/compact_enc_det_generated_tables.h", | 18 "src/compact_enc_det/compact_enc_det_generated_tables.h", |
19 "src/compact_enc_det/compact_enc_det_generated_tables2.h", | 19 "src/compact_enc_det/compact_enc_det_generated_tables2.h", |
20 "src/compact_enc_det/compact_enc_det_hint_code.cc", | 20 "src/compact_enc_det/compact_enc_det_hint_code.cc", |
21 "src/compact_enc_det/compact_enc_det_hint_code.h", | 21 "src/compact_enc_det/compact_enc_det_hint_code.h", |
22 "src/util/basictypes.h", | 22 "src/util/basictypes.h", |
23 "src/util/build_config.h", | 23 "src/util/build_config.h", |
24 "src/util/commandlineflags.h", | 24 "src/util/commandlineflags.h", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 } else { | 68 } else { |
69 defines = [ "COMPILER_GCC" ] | 69 defines = [ "COMPILER_GCC" ] |
70 } | 70 } |
71 | 71 |
72 deps = [ | 72 deps = [ |
73 ":ced", | 73 ":ced", |
74 "//testing/gtest", | 74 "//testing/gtest", |
75 "//testing/gtest:gtest_main", | 75 "//testing/gtest:gtest_main", |
76 ] | 76 ] |
77 } | 77 } |
OLD | NEW |