diff options
author | h.joshi <h.joshi@samsung.com> | 2014-12-11 21:12:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-12 05:12:58 +0000 |
commit | 3b6cd2d4bf9e0b4a9311343a2997ef9363530b14 (patch) | |
tree | 4531159624ce3ce4cca46cf9c78c1db69540180e /third_party/ots/ots.gyp | |
parent | 72837d96cf95f1bca49e9357b16172ad4b1a2202 (diff) | |
download | chromium_src-3b6cd2d4bf9e0b4a9311343a2997ef9363530b14.zip chromium_src-3b6cd2d4bf9e0b4a9311343a2997ef9363530b14.tar.gz chromium_src-3b6cd2d4bf9e0b4a9311343a2997ef9363530b14.tar.bz2 |
The original CL is https://codereview.chromium.org/658573004
Updating with to new OTS repo from https://github.com/khaledhosny/ots.git
Hash tag imported: c24a839b1c66c4de09e58fabaacb82bf3bd692a4
Some important differences between new and old version of OTS:
1. Support for MATH table
2. Implementation changes related to new WOFF 2.0
3. Bug fixes related to OTF tables (GDEF, GSUB etc) parsing
4. Accept platform 0 encoding 1 cmap subtables
5. Allow fonts with CMAP format-12 or format-13 table
A dummy version of EnableWOFF() is added to get Blink compiled.
After the following CL is landed in Blink, it'll be removed.
Blink CL: https://codereview.chromium.org/774253008
# TODO(jschuh): 4267, 4334 are 64-bit cleanness issue. http://crbug.com/167187
# TODO(h.joshi) : Make 4800 go away. <https://github.com/khaledhosny/ots/issues/44>.
Currently patch to github (https://github.com/himanshuispresent/ots/commit/02f724f758ddb1cb264cc0259ffd5ef1cafa164a) is
submitted so that taking OTS repository to Chromium should not cause issue on Windows bots.
TEST: Blink layout tests: fast/css/font-face*
BUG=339857
Review URL: https://codereview.chromium.org/775893002
Cr-Commit-Position: refs/heads/master@{#308054}
Diffstat (limited to 'third_party/ots/ots.gyp')
-rw-r--r-- | third_party/ots/ots.gyp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/third_party/ots/ots.gyp b/third_party/ots/ots.gyp new file mode 100644 index 0000000..1926b6a --- /dev/null +++ b/third_party/ots/ots.gyp @@ -0,0 +1,40 @@ +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + 'ots-common.gypi', + ], + 'targets': [ + { + 'target_name': 'ots', + 'type': 'static_library', + 'sources': [ + '<@(ots_sources)', + ], + 'include_dirs': [ + '../..', + '<@(ots_include_dirs)', + ], + 'direct_dependent_settings': { + 'include_dirs': [ + '<@(ots_include_dirs)', + ], + }, + 'dependencies': [ + '../brotli/brotli.gyp:brotli', + '../zlib/zlib.gyp:zlib', + ], + # TODO(jschuh): http://crbug.com/167187 + 'msvs_disabled_warnings': [ + 4267, + 4334, + 4800, + ], + }, + ], +} |