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

Side by Side Diff: ots-standalone.gyp

Issue 658573004: Updating to new OTS repo from https://github.com/khaledhosny/ots.git (Closed) Base URL: https://chromium.googlesource.com/external/ots@master
Patch Set: Adding Colored Emoji changes from external/git repo Created 6 years, 2 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
« .gitmodules ('K') | « ots-common.gypi ('k') | src/cbdt.h » ('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) 2012 The Chromium Authors. All rights reserved. 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 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 'variables': { 6 'variables': {
7 'gcc_cflags': [ 7 'gcc_cflags': [
8 '-ggdb', 8 '-ggdb',
9 '-W', 9 '-W',
10 '-Wall', 10 '-Wall',
11 '-Werror', 11 '-Wshadow',
12 '-Wno-unused-parameter', 12 '-Wno-unused-parameter',
13 '-fPIE', 13 '-fPIE',
14 '-fstack-protector', 14 '-fstack-protector',
15 ], 15 ],
16 'gcc_ldflags': [ 16 'gcc_ldflags': [
17 '-ggdb', 17 '-ggdb',
18 '-fpie', 18 '-fpie',
19 '-Wl,-z,relro', 19 '-Wl,-z,relro',
20 '-Wl,-z,now', 20 '-Wl,-z,now',
21 ], 21 ],
22 }, 22 },
23 'includes': [ 23 'includes': [
24 'ots-common.gypi', 24 'ots-common.gypi',
25 ], 25 ],
26 'target_defaults': { 26 'target_defaults': {
27 'include_dirs': [
28 '.',
29 ],
27 'conditions': [ 30 'conditions': [
28 ['OS=="linux"', { 31 ['OS=="linux"', {
29 'cflags': [ 32 'cflags': [
30 '<@(gcc_cflags)', 33 '<@(gcc_cflags)',
34 '-O',
31 ], 35 ],
32 'ldflags': [ 36 'ldflags': [
33 '<@(gcc_ldflags)', 37 '<@(gcc_ldflags)',
34 ], 38 ],
35 'defines': [ 39 'defines': [
36 '_FORTIFY_SOURCE=2', 40 '_FORTIFY_SOURCE=2',
37 ], 41 ],
38 'link_settings': { 42 'link_settings': {
39 'libraries': ['-lz'], 43 'libraries': ['-lz'],
40 }, 44 },
(...skipping 19 matching lines...) Expand all
60 '-lzdll.lib', 64 '-lzdll.lib',
61 ], 65 ],
62 }, 66 },
63 'msvs_settings': { 67 'msvs_settings': {
64 'VCLinkerTool': { 68 'VCLinkerTool': {
65 'AdditionalLibraryDirectories': ['third_party/zlib'], 69 'AdditionalLibraryDirectories': ['third_party/zlib'],
66 'DelayLoadDLLs': ['zlib1.dll'], 70 'DelayLoadDLLs': ['zlib1.dll'],
67 }, 71 },
68 }, 72 },
69 'include_dirs': [ 73 'include_dirs': [
70 'third_party/zlib' 74 'third_party/zlib',
71 ], 75 ],
72 'defines': [ 76 'defines': [
73 'NOMINMAX', # To suppress max/min macro definition. 77 'NOMINMAX', # To suppress max/min macro definition.
74 'WIN32', 78 'WIN32',
75 ], 79 ],
76 }], 80 }],
77 ], 81 ],
78 }, 82 },
79 'targets': [ 83 'targets': [
80 { 84 {
81 'target_name': 'ots', 85 'target_name': 'ots',
82 'type': 'static_library', 86 'type': 'static_library',
83 'sources': [ 87 'sources': [
84 '<@(ots_sources)', 88 '<@(ots_sources)',
85 ], 89 ],
86 'defines': [
87 'OTS_DEBUG',
88 ],
89 'dependencies': [ 90 'dependencies': [
90 'third_party/lzma_sdk/lzma_sdk.gyp:ots_lzma_sdk', 91 'third_party/brotli/brotli.gyp:brotli',
91 ], 92 ],
92 'include_dirs': [ 93 'include_dirs': [
93 '<@(ots_include_dirs)', 94 '<@(ots_include_dirs)',
94 ], 95 ],
95 'direct_dependent_settings': { 96 'direct_dependent_settings': {
96 'include_dirs': [ 97 'include_dirs': [
97 '<@(ots_include_dirs)', 98 '<@(ots_include_dirs)',
98 ], 99 ],
99 }, 100 },
100 }, 101 },
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ], 195 ],
195 'dependencies': [ 196 'dependencies': [
196 'freetype2', 197 'freetype2',
197 'ots', 198 'ots',
198 ], 199 ],
199 }, 200 },
200 ], 201 ],
201 }], 202 }],
202 ], 203 ],
203 } 204 }
OLDNEW
« .gitmodules ('K') | « ots-common.gypi ('k') | src/cbdt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698