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

Side by Side Diff: gyp/sfntly.gyp

Issue 2273343002: SkPDF: Stop `#include PREPROCESSOR_DEFINE` pattern (Closed)
Patch Set: fix gyp/pdf.gyp syntax error Created 4 years, 3 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
« no previous file with comments | « gyp/pdf.gyp ('k') | public.bzl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'sfntly', 7 'target_name': 'sfntly',
8 'type': 'static_library', 8 'type': 'static_library',
9 'includes': [ 9 'includes': [
10 'common_conditions.gypi', 10 'common_conditions.gypi',
11 'common_variables.gypi', 11 'common_variables.gypi',
12 ], 12 ],
13 'variables': { 13 'variables': {
14 'sfntly_src_path': '../third_party/externals/sfntly/cpp/src', 14 'sfntly_src_path': '../third_party/externals/sfntly/cpp/src',
15 }, 15 },
16 'direct_dependent_settings': { 16 'direct_dependent_settings': {
17 'include_dirs': [ '<(sfntly_src_path)', ], 17 'include_dirs': [ '<(sfntly_src_path)', ],
18 'defines': [
19 'SK_SFNTLY_SUBSETTER="sample/chromium/font_subsetter.h"',
20 ],
21 }, 18 },
22 'sources': [ 19 'sources': [
23 '<(sfntly_src_path)/sample/chromium/font_subsetter.cc', 20 '<(sfntly_src_path)/sample/chromium/font_subsetter.cc',
24 '<(sfntly_src_path)/sample/chromium/subsetter_impl.cc', 21 '<(sfntly_src_path)/sample/chromium/subsetter_impl.cc',
25 '<!@(python find.py "*.c*" "<(sfntly_src_path)/sfntly")' 22 '<!@(python find.py "*.c*" "<(sfntly_src_path)/sfntly")'
26 ], 23 ],
27 'include_dirs': [ 24 'include_dirs': [
28 '<(sfntly_src_path)', 25 '<(sfntly_src_path)',
29 ], 26 ],
30 'defines': [ 27 'defines': [
(...skipping 15 matching lines...) Expand all
46 ], 43 ],
47 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', 44 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]',
48 { 'link_settings': { 'libraries': [ '-lpthread', ], }, }, 45 { 'link_settings': { 'libraries': [ '-lpthread', ], }, },
49 ], 46 ],
50 ], 47 ],
51 # TODO(jschuh): http://crbug.com/167187 48 # TODO(jschuh): http://crbug.com/167187
52 'msvs_disabled_warnings': [ 4267, 4244 ], 49 'msvs_disabled_warnings': [ 4267, 4244 ],
53 }, 50 },
54 ] 51 ]
55 } 52 }
OLDNEW
« no previous file with comments | « gyp/pdf.gyp ('k') | public.bzl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698