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 }], | |
58 ], | 52 ], |
59 'direct_dependent_settings': { | 53 'direct_dependent_settings': { |
60 'include_dirs': [ | 54 'include_dirs': [ |
61 'src/include/', | 55 'src/include/', |
62 'src/', | 56 'src/', |
63 '.', | 57 '.', |
64 ], | 58 ], |
65 }, | 59 }, |
66 # Patch posted for upstream, can be removed once that's landed and | 60 # Patch posted for upstream, can be removed once that's landed and |
67 # rolled into Chromium. | 61 # rolled into Chromium. |
68 # Internal link: https://mondrian.corp.google.com/#review/29997992 | 62 # Internal link: https://mondrian.corp.google.com/#review/29997992 |
69 'msvs_disabled_warnings': [ | 63 'msvs_disabled_warnings': [ |
70 # Signed/unsigned comparison. | 64 # Signed/unsigned comparison. |
71 4018, | 65 4018, |
72 | 66 |
73 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 67 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
74 4267, | 68 4267, |
75 ], | 69 ], |
76 'sources': [ | 70 'sources': [ |
77 # Include and then exclude so that all files show up in IDEs, even if | 71 # Include and then exclude so that all files show up in IDEs, even if |
78 # they don't build. | 72 # they don't build. |
79 'env_chromium.cc', | 73 'env_chromium.cc', |
80 'env_chromium.h', | 74 'env_chromium.h', |
81 'env_chromium_stdio.cc', | |
82 'env_chromium_stdio.h', | |
83 'env_idb.h', | 75 'env_idb.h', |
84 'port/port_chromium.cc', | 76 'port/port_chromium.cc', |
85 'port/port_chromium.h', | 77 'port/port_chromium.h', |
86 'src/db/builder.cc', | 78 'src/db/builder.cc', |
87 'src/db/builder.h', | 79 'src/db/builder.h', |
88 'src/db/db_impl.cc', | 80 'src/db/db_impl.cc', |
89 'src/db/db_impl.h', | 81 'src/db/db_impl.h', |
90 'src/db/db_iter.cc', | 82 'src/db/db_iter.cc', |
91 'src/db/db_iter.h', | 83 'src/db/db_iter.h', |
92 'src/db/filename.cc', | 84 'src/db/filename.cc', |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 ], | 365 ], |
374 }, | 366 }, |
375 ], | 367 ], |
376 } | 368 } |
377 | 369 |
378 # Local Variables: | 370 # Local Variables: |
379 # tab-width:2 | 371 # tab-width:2 |
380 # indent-tabs-mode:nil | 372 # indent-tabs-mode:nil |
381 # End: | 373 # End: |
382 # vim: set expandtab tabstop=2 shiftwidth=2: | 374 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |