Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1074)

Unified Diff: third_party/ced/BUILD.gn

Issue 2168003003: Replace ICU encoding detection with CED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments/add datafiles back Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698