| 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', { |
| 11 'variables': { | 11 'variables': { |
| 12 # Snappy not used in Android WebView | 12 # Snappy not used in Android WebView |
| 13 # crbug.com/236780 | 13 # crbug.com/236780 |
| 14 'use_snappy': 0, | 14 'use_snappy': 0, |
| 15 }, | 15 }, |
| 16 }], | 16 }], |
| 17 ['OS=="android" and gtest_target_type == "shared_library"', { | 17 ['OS=="android"', { |
| 18 # Wrap env_chromium_unittests into an android apk for execution. | |
| 19 'targets': [{ | 18 'targets': [{ |
| 20 'target_name': 'env_chromium_unittests_apk', | 19 'target_name': 'env_chromium_unittests_apk', |
| 21 'type': 'none', | 20 'type': 'none', |
| 22 'dependencies': [ | 21 'dependencies': [ |
| 23 '<(DEPTH)/base/base.gyp:base_java', | 22 '<(DEPTH)/base/base.gyp:base_java', |
| 24 'env_chromium_unittests', | 23 'env_chromium_unittests', |
| 25 ], | 24 ], |
| 26 'variables': { | 25 'variables': { |
| 27 'test_suite_name': 'env_chromium_unittests', | 26 'test_suite_name': 'env_chromium_unittests', |
| 28 }, | 27 }, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 'type': '<(gtest_target_type)', | 188 'type': '<(gtest_target_type)', |
| 190 'dependencies': [ | 189 'dependencies': [ |
| 191 'leveldatabase', | 190 'leveldatabase', |
| 192 '../../base/base.gyp:test_support_base', | 191 '../../base/base.gyp:test_support_base', |
| 193 '../../testing/gtest.gyp:gtest', | 192 '../../testing/gtest.gyp:gtest', |
| 194 ], | 193 ], |
| 195 'sources': [ | 194 'sources': [ |
| 196 'env_chromium_unittest.cc', | 195 'env_chromium_unittest.cc', |
| 197 ], | 196 ], |
| 198 'conditions': [ | 197 'conditions': [ |
| 199 ['OS=="android" and gtest_target_type == "shared_library"', { | 198 ['OS=="android"', { |
| 200 'type': 'shared_library', | 199 'type': 'shared_library', |
| 201 'dependencies': [ | 200 'dependencies': [ |
| 202 '../../testing/android/native_test.gyp:native_test_native_code', | 201 '../../testing/android/native_test.gyp:native_test_native_code', |
| 203 '../../tools/android/forwarder2/forwarder.gyp:forwarder2', | 202 '../../tools/android/forwarder2/forwarder.gyp:forwarder2', |
| 204 ], | 203 ], |
| 205 }], | 204 }], |
| 206 ], | 205 ], |
| 207 }, | 206 }, |
| 208 { | 207 { |
| 209 'target_name': 'leveldb_testutil', | 208 'target_name': 'leveldb_testutil', |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 ], | 396 ], |
| 398 }, | 397 }, |
| 399 ], | 398 ], |
| 400 } | 399 } |
| 401 | 400 |
| 402 # Local Variables: | 401 # Local Variables: |
| 403 # tab-width:2 | 402 # tab-width:2 |
| 404 # indent-tabs-mode:nil | 403 # indent-tabs-mode:nil |
| 405 # End: | 404 # End: |
| 406 # vim: set expandtab tabstop=2 shiftwidth=2: | 405 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |