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

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

Issue 113373002: Unrevert r245135 "Created new Windows LevelDB environment." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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
OLDNEW
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
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_win32.cc',
55 'env_chromium_win32.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_posix.cc',
82 'env_chromium_posix.h',
75 'env_idb.h', 83 'env_idb.h',
84 'leveldb_switches.cc',
85 'leveldb_switches.h',
76 'port/port_chromium.cc', 86 'port/port_chromium.cc',
77 'port/port_chromium.h', 87 'port/port_chromium.h',
78 'src/db/builder.cc', 88 'src/db/builder.cc',
79 'src/db/builder.h', 89 'src/db/builder.h',
80 'src/db/db_impl.cc', 90 'src/db/db_impl.cc',
81 'src/db/db_impl.h', 91 'src/db/db_impl.h',
82 'src/db/db_iter.cc', 92 'src/db/db_iter.cc',
83 'src/db/db_iter.h', 93 'src/db/db_iter.h',
84 'src/db/filename.cc', 94 'src/db/filename.cc',
85 'src/db/filename.h', 95 'src/db/filename.h',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 'src/util/hash.h', 162 'src/util/hash.h',
153 'src/util/logging.cc', 163 'src/util/logging.cc',
154 'src/util/logging.h', 164 'src/util/logging.h',
155 'src/util/mutexlock.h', 165 'src/util/mutexlock.h',
156 'src/util/options.cc', 166 'src/util/options.cc',
157 'src/util/random.h', 167 'src/util/random.h',
158 'src/util/status.cc', 168 'src/util/status.cc',
159 ], 169 ],
160 'sources/': [ 170 'sources/': [
161 ['exclude', '_(android|example|portable|posix)\\.cc$'], 171 ['exclude', '_(android|example|portable|posix)\\.cc$'],
172 ['include', 'env_chromium_posix.cc'],
162 ], 173 ],
163 }, 174 },
164 { 175 {
165 'target_name': 'env_chromium_unittests', 176 'target_name': 'env_chromium_unittests',
166 'type': '<(gtest_target_type)', 177 'type': '<(gtest_target_type)',
167 'dependencies': [ 178 'dependencies': [
168 'leveldatabase', 179 'leveldatabase',
169 '../../base/base.gyp:test_support_base', 180 '../../base/base.gyp:test_support_base',
170 '../../testing/gtest.gyp:gtest', 181 '../../testing/gtest.gyp:gtest',
171 ], 182 ],
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 ], 376 ],
366 }, 377 },
367 ], 378 ],
368 } 379 }
369 380
370 # Local Variables: 381 # Local Variables:
371 # tab-width:2 382 # tab-width:2
372 # indent-tabs-mode:nil 383 # indent-tabs-mode:nil
373 # End: 384 # End:
374 # vim: set expandtab tabstop=2 shiftwidth=2: 385 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698