Index: third_party/ced/BUILD.gn |
diff --git a/third_party/ced/BUILD.gn b/third_party/ced/BUILD.gn |
index c2ed9a20c97af4b9d666bac1262ab57de1eafef7..a9f51a0863bb69da746a3f0f31366de795329225 100644 |
--- a/third_party/ced/BUILD.gn |
+++ b/third_party/ced/BUILD.gn |
@@ -13,14 +13,15 @@ config("ced_config") { |
static_library("ced") { |
sources = [ |
+ # find src -maxdepth 3 ! -type d | egrep '\.(h|cc)$' | grep -v test.cc |\ |
+ # LC_COLLATE=c sort | sed 's/^\(.*\)$/ "\1",/' |
"src/compact_enc_det/compact_enc_det.cc", |
- "src/compact_enc_det/compact_enc_det.h", |
"src/compact_enc_det/compact_enc_det_generated_tables.h", |
"src/compact_enc_det/compact_enc_det_generated_tables2.h", |
"src/compact_enc_det/compact_enc_det_hint_code.cc", |
"src/compact_enc_det/compact_enc_det_hint_code.h", |
"src/util/basictypes.h", |
- "src/util/build_config.h", |
+ "src/util/case_insensitive_hash.h", |
"src/util/commandlineflags.h", |
"src/util/encodings/encodings.cc", |
"src/util/encodings/encodings.h", |
@@ -33,7 +34,9 @@ static_library("ced") { |
"src/util/string_util.h", |
"src/util/varsetter.h", |
] |
- |
+ public = [ |
+ "src/compact_enc_det/compact_enc_det.h", |
+ ] |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ "//build/config/compiler:no_chromium_code" ] |
@@ -57,6 +60,7 @@ test("ced_unittests") { |
"src/compact_enc_det/compact_enc_det_fuzz_test.cc", |
"src/compact_enc_det/compact_enc_det_unittest.cc", |
"src/compact_enc_det/detail_head_string.inc", |
+ "src/util/encodings/encodings_unittest.cc", |
] |
if (is_win) { |