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

Side by Side Diff: third_party/ced/ced.gyp

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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2016 The Chromium Authors. All rights reserved. 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 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 { 5 {
6 'includes': [ 6 'includes': [
7 'ced.gypi',
7 '../../build/win_precompile.gypi', 8 '../../build/win_precompile.gypi',
8 ], 9 ],
9 'targets': [ 10 'targets': [
10 { 11 {
11 'target_name': 'ced', 12 'target_name': 'ced',
12 'type': 'static_library', 13 'type': 'static_library',
13 'include_dirs': [ 14 'include_dirs': [
14 'src', 15 'src',
15 ], 16 ],
16 'sources': [ 17 'sources': [
17 "src/compact_enc_det/compact_enc_det.cc", 18 '<@(ced_sources)',
18 "src/compact_enc_det/compact_enc_det.h",
19 "src/compact_enc_det/compact_enc_det_generated_tables.h",
20 "src/compact_enc_det/compact_enc_det_generated_tables2.h",
21 "src/compact_enc_det/compact_enc_det_hint_code.cc",
22 "src/compact_enc_det/compact_enc_det_hint_code.h",
23 "src/compact_enc_det/detail_head_string.inc",
24 "src/util/basictypes.h",
25 "src/util/build_config.h",
26 "src/util/commandlineflags.h",
27 "src/util/encodings/encodings.cc",
28 "src/util/encodings/encodings.h",
29 "src/util/encodings/encodings.pb.h",
30 "src/util/languages/languages.cc",
31 "src/util/languages/languages.h",
32 "src/util/languages/languages.pb.h",
33 "src/util/logging.h",
34 "src/util/port.h",
35 "src/util/string_util.h",
36 "src/util/varsetter.h",
37 ], 19 ],
38 'direct_dependent_settings': { 20 'direct_dependent_settings': {
39 'include_dirs': [ 21 'include_dirs': [
40 'src', 22 'src',
41 ], 23 ],
42 }, 24 },
43 'conditions': [ 25 'conditions': [
26 ['OS == "ios"', {
27 'toolsets': ['host', 'target'],
28 }],
44 ['OS=="win"', { 29 ['OS=="win"', {
45 'direct_dependent_settings': { 30 'direct_dependent_settings': {
46 'defines': [ 31 'defines': [
47 'COMPILER_MSVC', 32 'COMPILER_MSVC',
48 ], 33 ],
49 }, 34 },
50 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800, 4267], 35 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800, 4267],
51 }, { 36 }, {
52 'direct_dependent_settings': { 37 'direct_dependent_settings': {
53 'defines': [ 38 'defines': [
54 'COMPILER_GCC', 39 'COMPILER_GCC',
55 ], 40 ],
56 }, 41 },
57 }], 42 }],
58 ], 43 ],
59 }, 44 },
60 { 45 {
61 'target_name': 'ced_unittests', 46 'target_name': 'ced_unittests',
62 'type': 'executable', 47 'type': 'executable',
63 'dependencies': [ 48 'dependencies': [
64 '<(DEPTH)/testing/gtest.gyp:gtest', 49 '<(DEPTH)/testing/gtest.gyp:gtest',
65 '<(DEPTH)/testing/gtest.gyp:gtest_main', 50 '<(DEPTH)/testing/gtest.gyp:gtest_main',
66 'ced', 51 'ced',
67 ], 52 ],
68 'include_dirs': [ 53 'include_dirs': [
69 '<(DEPTH)', 54 '<(DEPTH)',
70 ], 55 ],
71 'sources': [ 56 'sources': [
72 "src/compact_enc_det/compact_enc_det_fuzz_test.cc", 57 'src/compact_enc_det/compact_enc_det_fuzz_test.cc',
73 "src/compact_enc_det/compact_enc_det_unittest.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',
74 ], 61 ],
75 }, 62 },
76 ], 63 ],
77 } 64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698