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

Side by Side Diff: gyp/icu.gyp

Issue 1134683006: SkPDF: Add Sfntly to DEPS, gyp, SkUserConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-05-18 (Monday) 13:33:42 EDT Created 5 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
« no previous file with comments | « DEPS ('k') | gyp/pdf.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 'common_variables.gypi',
8 ],
9 'variables': {
10 'component%': 'static_library',
11 'icu_directory': '../third_party/externals/icu'
12 },
13 'targets': [
14 {
15 'target_name': 'icuuc',
16 'type': '<(component)',
17 'sources': [
18 '<!@(python find.py ../third_party/externals/icu/source/common "*.c*")'
19 ],
20 'defines': [
21 'U_COMMON_IMPLEMENTATION',
22 'U_HIDE_DATA_SYMBOL',
23 'U_USING_ICU_NAMESPACE=0',
24 'HAVE_DLOPEN=0',
25 'UCONFIG_NO_NON_HTML5_CONVERSION=1',
26 ],
27 'include_dirs': [ '<(icu_directory)/source/common', ],
28 'direct_dependent_settings': {
29 'defines': [
30 'U_USING_ICU_NAMESPACE=0',
31 'U_ENABLE_DYLOAD=0',
32 ],
33 'include_dirs': [ '<(icu_directory)/source/common', ],
34 'conditions': [
35 [
36 'component=="static_library"', {
37 'defines': [
38 'U_STATIC_IMPLEMENTATION',
39 ],
40 }
41 ],
42 ],
43 },
44 'cflags': [ '-w' ],
45 'cflags_cc': [ '-frtti', ],
46 'conditions': [
47 [
48 'component=="static_library"', {
49 'defines': [ 'U_STATIC_IMPLEMENTATION', ],
50 }
51 ],
52 [
53 'OS == "win"', {
54 'sources': [
55 '<(icu_directory)/source/stubdata/stubdata.c',
56 ],
57 'copies': [
58 {
59 'destination': '<(PRODUCT_DIR)',
60 'files': [ '<(icu_directory)/windows/icudt.dll', ],
61 },
62 ],
63 'msvs_disabled_warnings': [4005, 4068, 4244, 4355, 4996, 4267],
64 'msvs_settings': {
65 'VCCLCompilerTool': {
66 'RuntimeTypeInfo': 'true',
67 'AdditionalOptions!': [ '/GR-' ],
68 'AdditionalOptions': [ '/EHsc', '/GR', '/w', ],
69 },
70 },
71 'all_dependent_settings': {
72 'msvs_settings': {
73 'VCLinkerTool': {
74 'AdditionalDependencies': [
75 'advapi32.lib',
76 ],
77 },
78 },
79 },
80 }
81 ],
82 [
83 'OS == "win" and skia_clang_build', {
84 'msvs_settings': {
85 'VCCLCompilerTool': {
86 'AdditionalOptions': [
87 # See http://bugs.icu-project.org/trac/ticket/11122
88 '-Wno-inline-new-delete',
89 '-Wno-implicit-exception-spec-mismatch',
90 ],
91 },
92 },
93 }
94 ],
95 [
96 'skia_os == "android"', {
97 'sources': [ '<(icu_directory)/android/icudtl_dat.S', ],
98 }
99 ],
100 [
101 'skia_os in ["linux", "chromeos"]', {
102 'sources': [ '<(icu_directory)/linux/icudtl_dat.S', ],
103 }
104 ],
105 [
106 'skia_os == "mac"', {
107 'sources': [ '<(icu_directory)/mac/icudtl_dat.S', ],
108 'xcode_settings': {
109 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti
110 'WARNING_CFLAGS': [ '-w' ],
111 },
112 }
113 ],
114 ], # conditions
115 },
116 ], # targets
117 }
OLDNEW
« no previous file with comments | « DEPS ('k') | gyp/pdf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698