OLD | NEW |
1 # Copyright (c) 2011 The LevelDB Authors. All rights reserved. | 1 # Copyright (c) 2011 The LevelDB 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. See the AUTHORS file for names of contributors. | 3 # found in the LICENSE file. See the AUTHORS file for names of contributors. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'use_snappy%': 1, | 7 'use_snappy%': 1, |
8 }, | 8 }, |
9 'conditions': [ | 9 'conditions': [ |
10 ['OS == "android" and android_webview_build == 1', { | 10 ['OS == "android" and android_webview_build == 1', { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 # we need to explictly link in the code for dynamic_annotations. | 42 # we need to explictly link in the code for dynamic_annotations. |
43 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 43 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
44 '../re2/re2.gyp:re2', | 44 '../re2/re2.gyp:re2', |
45 ], | 45 ], |
46 'conditions': [ | 46 'conditions': [ |
47 ['use_snappy', { | 47 ['use_snappy', { |
48 'dependencies': [ | 48 'dependencies': [ |
49 '../../third_party/snappy/snappy.gyp:snappy', | 49 '../../third_party/snappy/snappy.gyp:snappy', |
50 ], | 50 ], |
51 }], | 51 }], |
| 52 ['OS=="win"', { |
| 53 'sources': [ |
| 54 'env_chromium_win.cc', |
| 55 'env_chromium_win.h', |
| 56 ], |
| 57 }], |
52 ], | 58 ], |
53 'direct_dependent_settings': { | 59 'direct_dependent_settings': { |
54 'include_dirs': [ | 60 'include_dirs': [ |
55 'src/include/', | 61 'src/include/', |
56 'src/', | 62 'src/', |
57 '.', | 63 '.', |
58 ], | 64 ], |
59 }, | 65 }, |
60 # Patch posted for upstream, can be removed once that's landed and | 66 # Patch posted for upstream, can be removed once that's landed and |
61 # rolled into Chromium. | 67 # rolled into Chromium. |
62 # Internal link: https://mondrian.corp.google.com/#review/29997992 | 68 # Internal link: https://mondrian.corp.google.com/#review/29997992 |
63 'msvs_disabled_warnings': [ | 69 'msvs_disabled_warnings': [ |
64 # Signed/unsigned comparison. | 70 # Signed/unsigned comparison. |
65 4018, | 71 4018, |
66 | 72 |
67 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 73 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
68 4267, | 74 4267, |
69 ], | 75 ], |
70 'sources': [ | 76 'sources': [ |
71 # Include and then exclude so that all files show up in IDEs, even if | 77 # Include and then exclude so that all files show up in IDEs, even if |
72 # they don't build. | 78 # they don't build. |
73 'env_chromium.cc', | 79 'env_chromium.cc', |
74 'env_chromium.h', | 80 'env_chromium.h', |
| 81 'env_chromium_stdio.cc', |
| 82 'env_chromium_stdio.h', |
75 'env_idb.h', | 83 'env_idb.h', |
76 'port/port_chromium.cc', | 84 'port/port_chromium.cc', |
77 'port/port_chromium.h', | 85 'port/port_chromium.h', |
78 'src/db/builder.cc', | 86 'src/db/builder.cc', |
79 'src/db/builder.h', | 87 'src/db/builder.h', |
80 'src/db/db_impl.cc', | 88 'src/db/db_impl.cc', |
81 'src/db/db_impl.h', | 89 'src/db/db_impl.h', |
82 'src/db/db_iter.cc', | 90 'src/db/db_iter.cc', |
83 'src/db/db_iter.h', | 91 'src/db/db_iter.h', |
84 'src/db/filename.cc', | 92 'src/db/filename.cc', |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 ], | 373 ], |
366 }, | 374 }, |
367 ], | 375 ], |
368 } | 376 } |
369 | 377 |
370 # Local Variables: | 378 # Local Variables: |
371 # tab-width:2 | 379 # tab-width:2 |
372 # indent-tabs-mode:nil | 380 # indent-tabs-mode:nil |
373 # End: | 381 # End: |
374 # vim: set expandtab tabstop=2 shiftwidth=2: | 382 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |