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

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

Issue 1413723002: Add gflags dependency (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Fix .gitignore Created 5 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
« no previous file with comments | « third_party/gflags/gen/win/include/private/config.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #
2 # Copyright 2014 The LibYuv Project Authors. All rights reserved.
3 #
4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree.
9
10 # This is a copy of WebRTC's gflags.gyp.
11
12 {
13 'variables': {
14 'gflags_root': '<(DEPTH)/third_party/gflags',
15 'conditions': [
16 ['OS=="win"', {
17 'gflags_gen_arch_root': '<(gflags_root)/gen/win',
18 }, {
19 'gflags_gen_arch_root': '<(gflags_root)/gen/posix',
20 }],
21 ],
22 },
23 'targets': [
24 {
25 'target_name': 'gflags',
26 'type': 'static_library',
27 'include_dirs': [
28 '<(gflags_gen_arch_root)/include/private', # For config.h
29 '<(gflags_gen_arch_root)/include', # For configured files.
30 '<(gflags_root)/src', # For everything else.
31 ],
32 'defines': [
33 # These macros exist so flags and symbols are properly
34 # exported when building DLLs. Since we don't build DLLs, we
35 # need to disable them.
36 'GFLAGS_DLL_DECL=',
37 'GFLAGS_DLL_DECLARE_FLAG=',
38 'GFLAGS_DLL_DEFINE_FLAG=',
39 ],
40 'direct_dependent_settings': {
41 'include_dirs': [
42 '<(gflags_gen_arch_root)/include', # For configured files.
43 '<(gflags_root)/src', # For everything else.
44 ],
45 'defines': [
46 'GFLAGS_DLL_DECL=',
47 'GFLAGS_DLL_DECLARE_FLAG=',
48 'GFLAGS_DLL_DEFINE_FLAG=',
49 ],
50 },
51 'sources': [
52 'src/gflags.cc',
53 'src/gflags_completions.cc',
54 'src/gflags_reporting.cc',
55 ],
56 'conditions': [
57 ['OS=="win"', {
58 'sources': [
59 'src/windows/port.cc',
60 ],
61 # Suppress warnings about WIN32_LEAN_AND_MEAN and size_t truncation.
62 'msvs_disabled_warnings': [4005, 4267],
63 }],
64 # TODO(andrew): Look into fixing this warning upstream:
65 # http://code.google.com/p/webrtc/issues/detail?id=760
66 ['clang==1', {
67 'cflags!': ['-Wheader-hygiene',],
68 'xcode_settings': {
69 'WARNING_CFLAGS!': ['-Wheader-hygiene',],
70 },
71 }],
72 ],
73 },
74 ],
75 }
OLDNEW
« no previous file with comments | « third_party/gflags/gen/win/include/private/config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698