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

Side by Side Diff: third_party/cld/BUILD.gn

Issue 1956183002: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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")
6
5 config("cld_config") { 7 config("cld_config") {
6 defines = [ "CLD_WINDOWS" ] 8 defines = [ "CLD_WINDOWS" ]
7 include_dirs = [ "." ] 9 include_dirs = [ "." ]
10 if (is_clang) {
11 cflags = [ "-Wno-unused-function" ]
12 }
8 } 13 }
9 14
10 source_set("cld") { 15 source_set("cld") {
11 # The /win/ directory is used on all platforms. 16 # The /win/ directory is used on all platforms.
12 set_sources_assignment_filter([]) 17 set_sources_assignment_filter([])
13 18
14 # This target includes its own copy of "base" which confuses the header 19 # This target includes its own copy of "base" which confuses the header
15 # checker. 20 # checker.
16 check_includes = false 21 check_includes = false
17 22
18 sources = [ 23 sources = [
19 "base/basictypes.h", 24 "base/basictypes.h",
20 "base/build_config.h", 25 "base/build_config.h",
21 "base/casts.h", 26 "base/casts.h",
22 "base/commandlineflags.h", 27 "base/commandlineflags.h",
23 "base/crash.h", 28 "base/crash.h",
24 "base/dynamic_annotations.h", 29 "base/dynamic_annotations.h",
25 "base/global_strip_options.h", 30 "base/global_strip_options.h",
26 "base/log_severity.h", 31 "base/log_severity.h",
27 "base/logging.h", 32 "base/logging.h",
28 "base/macros.h", 33 "base/macros.h",
29 "base/port.h", 34 "base/port.h",
30 "base/stl_decl_msvc.h", 35 "base/stl_decl_msvc.h",
31 "base/string_util.h", 36 "base/string_util.h",
32 "base/strtoint.h", 37 "base/strtoint.h",
33 "base/template_util.h", 38 "base/template_util.h",
34 "base/type_traits.h", 39 "base/type_traits.h",
35 "base/vlog_is_on.h", 40 "base/vlog_is_on.h",
41 "encodings/compact_enc_det/detail_head_string.inc",
42 "encodings/compact_enc_det/compact_enc_det.cc",
43 "encodings/compact_enc_det/compact_enc_det.h",
44 "encodings/compact_enc_det/compact_enc_det_generated_tables.h",
45 "encodings/compact_enc_det/compact_enc_det_generated_tables2.h",
46 "encodings/compact_enc_det/compact_enc_det_hint_code.h",
47 "encodings/compact_enc_det/compact_enc_det_hint_code.cc",
36 "encodings/compact_lang_det/cldutil.cc", 48 "encodings/compact_lang_det/cldutil.cc",
37 "encodings/compact_lang_det/cldutil.h", 49 "encodings/compact_lang_det/cldutil.h",
38 "encodings/compact_lang_det/cldutil_dbg.h", 50 "encodings/compact_lang_det/cldutil_dbg.h",
39 "encodings/compact_lang_det/cldutil_dbg_empty.cc", 51 "encodings/compact_lang_det/cldutil_dbg_empty.cc",
40 "encodings/compact_lang_det/compact_lang_det.cc", 52 "encodings/compact_lang_det/compact_lang_det.cc",
41 "encodings/compact_lang_det/compact_lang_det.h", 53 "encodings/compact_lang_det/compact_lang_det.h",
42 "encodings/compact_lang_det/compact_lang_det_impl.cc", 54 "encodings/compact_lang_det/compact_lang_det_impl.cc",
43 "encodings/compact_lang_det/compact_lang_det_impl.h", 55 "encodings/compact_lang_det/compact_lang_det_impl.h",
44 "encodings/compact_lang_det/ext_lang_enc.cc", 56 "encodings/compact_lang_det/ext_lang_enc.cc",
45 "encodings/compact_lang_det/ext_lang_enc.h", 57 "encodings/compact_lang_det/ext_lang_enc.h",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 "/wd4309", # Truncation of constant value. 115 "/wd4309", # Truncation of constant value.
104 ] 116 ]
105 } else { 117 } else {
106 defines = [ "COMPILER_GCC" ] 118 defines = [ "COMPILER_GCC" ]
107 } 119 }
108 120
109 public_deps = [ 121 public_deps = [
110 "//third_party/icu:icuuc", 122 "//third_party/icu:icuuc",
111 ] 123 ]
112 } 124 }
125
126 test("cld_unittests") {
127 sources = [
128 "encodings/compact_enc_det/compact_enc_det_unittest.cc",
129 "encodings/compact_lang_det/compact_lang_det_unittest_small.cc"
130 ]
131
132 deps = [
133 ":cld",
134 "//testing/gtest",
135 "//testing/gtest:gtest_main",
136 ]
137 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp ('k') | third_party/cld/base/basictypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698