| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium 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. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 'app_base.gypi', | 10 'app_base.gypi', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 'target_name': 'app_unittests', | 14 'target_name': 'app_unittests', |
| 15 'type': 'executable', | 15 'type': 'executable', |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 'app_base', | 17 'app_base', |
| 18 '../base/base.gyp:test_support_base', | 18 '../base/base.gyp:test_support_base', |
| 19 '../testing/gtest.gyp:gtest', | 19 '../testing/gtest.gyp:gtest', |
| 20 ], | 20 ], |
| 21 'sources': [ | 21 'sources': [ |
| 22 'run_all_unittests.cc', | 22 '../sql/run_all_unittests.cc', |
| 23 'sql/connection_unittest.cc', | 23 '../sql/connection_unittest.cc', |
| 24 'sql/sqlite_features_unittest.cc', | 24 '../sql/sqlite_features_unittest.cc', |
| 25 'sql/statement_unittest.cc', | 25 '../sql/statement_unittest.cc', |
| 26 'sql/transaction_unittest.cc', | 26 '../sql/transaction_unittest.cc', |
| 27 ], | 27 ], |
| 28 'include_dirs': [ | 28 'include_dirs': [ |
| 29 '..', | 29 '..', |
| 30 ], | 30 ], |
| 31 'conditions': [ | 31 'conditions': [ |
| 32 ['os_posix==1 and OS!="mac"', { | 32 ['os_posix==1 and OS!="mac"', { |
| 33 'conditions': [ | 33 'conditions': [ |
| 34 ['linux_use_tcmalloc==1', { | 34 ['linux_use_tcmalloc==1', { |
| 35 'dependencies': [ | 35 'dependencies': [ |
| 36 '../base/allocator/allocator.gyp:allocator', | 36 '../base/allocator/allocator.gyp:allocator', |
| 37 ], | 37 ], |
| 38 }], | 38 }], |
| 39 ], | 39 ], |
| 40 }], | 40 }], |
| 41 ], | 41 ], |
| 42 }, | 42 }, |
| 43 ], | 43 ], |
| 44 } | 44 } |
| OLD | NEW |