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 'target_defaults': { | 9 'target_defaults': { |
10 'defines': [ | 10 'defines': [ |
11 'LEVELDB_PLATFORM_CHROMIUM=1', | 11 'LEVELDB_PLATFORM_CHROMIUM=1', |
12 ], | 12 ], |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '.', | 14 '.', |
15 'src/', | 15 'src/', |
16 'src/include/', | 16 'src/include/', |
17 ], | 17 ], |
18 'conditions': [ | 18 'conditions': [ |
19 ['OS == "win"', { | 19 ['OS == "win"', { |
20 'include_dirs': [ | 20 'include_dirs': [ |
21 'src/port/win', | 21 'src/port/win', |
22 ], | 22 ], |
23 }], | 23 }], |
| 24 ['OS == "android" and android_webview_build == 1', { |
| 25 'variables': { |
| 26 # Snappy not used in Android WebView |
| 27 # crbug.com/236780 |
| 28 'use_snappy': 0, |
| 29 }, |
| 30 }], |
24 ['use_snappy', { | 31 ['use_snappy', { |
25 'defines': [ | 32 'defines': [ |
26 'USE_SNAPPY=1', | 33 'USE_SNAPPY=1', |
27 ], | 34 ], |
28 }], | 35 }], |
29 ], | 36 ], |
30 }, | 37 }, |
31 'targets': [ | 38 'targets': [ |
32 { | 39 { |
33 'target_name': 'leveldatabase', | 40 'target_name': 'leveldatabase', |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 ], | 361 ], |
355 }, | 362 }, |
356 ], | 363 ], |
357 } | 364 } |
358 | 365 |
359 # Local Variables: | 366 # Local Variables: |
360 # tab-width:2 | 367 # tab-width:2 |
361 # indent-tabs-mode:nil | 368 # indent-tabs-mode:nil |
362 # End: | 369 # End: |
363 # vim: set expandtab tabstop=2 shiftwidth=2: | 370 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |