OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'sql', |
| 12 'type': 'static_library', |
| 13 'dependencies': [ |
| 14 '../base/base.gyp:base', |
| 15 '../third_party/sqlite/sqlite.gyp:sqlite', |
| 16 ], |
| 17 'sources': [ |
| 18 '../app/sql/connection.cc', |
| 19 '../app/sql/connection.h', |
| 20 '../app/sql/diagnostic_error_delegate.h', |
| 21 '../app/sql/init_status.h', |
| 22 '../app/sql/meta_table.cc', |
| 23 '../app/sql/meta_table.h', |
| 24 '../app/sql/statement.cc', |
| 25 '../app/sql/statement.h', |
| 26 '../app/sql/transaction.cc', |
| 27 '../app/sql/transaction.h', |
| 28 ], |
| 29 }, |
| 30 { |
| 31 'target_name': 'sql_unittests', |
| 32 'type': 'executable', |
| 33 'dependencies': [ |
| 34 'sql', |
| 35 '../base/base.gyp:test_support_base', |
| 36 '../testing/gtest.gyp:gtest', |
| 37 ], |
| 38 'sources': [ |
| 39 '../app/run_all_unittests.cc', |
| 40 '../app/sql/connection_unittest.cc', |
| 41 '../app/sql/sqlite_features_unittest.cc', |
| 42 '../app/sql/statement_unittest.cc', |
| 43 '../app/sql/transaction_unittest.cc', |
| 44 ], |
| 45 'include_dirs': [ |
| 46 '..', |
| 47 ], |
| 48 'conditions': [ |
| 49 ['os_posix==1 and OS!="mac"', { |
| 50 'conditions': [ |
| 51 ['linux_use_tcmalloc==1', { |
| 52 'dependencies': [ |
| 53 '../base/allocator/allocator.gyp:allocator', |
| 54 ], |
| 55 }], |
| 56 ], |
| 57 }], |
| 58 ], |
| 59 }, |
| 60 ], |
| 61 } |
| 62 |
| 63 # Local Variables: |
| 64 # tab-width:2 |
| 65 # indent-tabs-mode:nil |
| 66 # End: |
| 67 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |