| 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" and gtest_target_type == "shared_library"', { |
| 18 # Wrap env_chromium_unittests into an android apk for execution. | 18 # Wrap env_chromium_unittests into an android apk for execution. |
| 19 'targets': [{ | 19 'targets': [{ |
| 20 'target_name': 'env_chromium_unittests_apk', | 20 'target_name': 'env_chromium_unittests_apk', |
| 21 'type': 'none', | 21 'type': 'none', |
| 22 'dependencies': [ | 22 'dependencies': [ |
| 23 '<(DEPTH)/base/base.gyp:base_java', | 23 '<(DEPTH)/base/base.gyp:base_java', |
| 24 'env_chromium_unittests', | 24 'env_chromium_unittests', |
| 25 ], | 25 ], |
| 26 'variables': { | 26 'variables': { |
| 27 'test_suite_name': 'env_chromium_unittests', | 27 'test_suite_name': 'env_chromium_unittests', |
| 28 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)env_chromiu
m_unittests<(SHARED_LIB_SUFFIX)', | |
| 29 }, | 28 }, |
| 30 'includes': [ '../../build/apk_test.gypi' ], | 29 'includes': [ '../../build/apk_test.gypi' ], |
| 31 }], | 30 }], |
| 32 }], | 31 }], |
| 33 ], | 32 ], |
| 34 'target_defaults': { | 33 'target_defaults': { |
| 35 'defines': [ | 34 'defines': [ |
| 36 'LEVELDB_PLATFORM_CHROMIUM=1', | 35 'LEVELDB_PLATFORM_CHROMIUM=1', |
| 37 ], | 36 ], |
| 38 'include_dirs': [ | 37 'include_dirs': [ |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 ], | 397 ], |
| 399 }, | 398 }, |
| 400 ], | 399 ], |
| 401 } | 400 } |
| 402 | 401 |
| 403 # Local Variables: | 402 # Local Variables: |
| 404 # tab-width:2 | 403 # tab-width:2 |
| 405 # indent-tabs-mode:nil | 404 # indent-tabs-mode:nil |
| 406 # End: | 405 # End: |
| 407 # vim: set expandtab tabstop=2 shiftwidth=2: | 406 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |