| 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'sql', | 11 'target_name': 'sql', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
| 15 '../third_party/sqlite/sqlite.gyp:sqlite', | 15 '../third_party/sqlite/sqlite.gyp:sqlite', |
| 16 ], | 16 ], |
| 17 'sources': [ | 17 'sources': [ |
| 18 '../app/sql/connection.cc', | 18 'connection.cc', |
| 19 '../app/sql/connection.h', | 19 'connection.h', |
| 20 '../app/sql/diagnostic_error_delegate.h', | 20 'diagnostic_error_delegate.h', |
| 21 '../app/sql/init_status.h', | 21 'init_status.h', |
| 22 '../app/sql/meta_table.cc', | 22 'meta_table.cc', |
| 23 '../app/sql/meta_table.h', | 23 'meta_table.h', |
| 24 '../app/sql/statement.cc', | 24 'statement.cc', |
| 25 '../app/sql/statement.h', | 25 'statement.h', |
| 26 '../app/sql/transaction.cc', | 26 'transaction.cc', |
| 27 '../app/sql/transaction.h', | 27 'transaction.h', |
| 28 ], | 28 ], |
| 29 }, | 29 }, |
| 30 { | 30 { |
| 31 'target_name': 'sql_unittests', | 31 'target_name': 'sql_unittests', |
| 32 'type': 'executable', | 32 'type': 'executable', |
| 33 'dependencies': [ | 33 'dependencies': [ |
| 34 'sql', | 34 'sql', |
| 35 '../base/base.gyp:test_support_base', | 35 '../base/base.gyp:test_support_base', |
| 36 '../testing/gtest.gyp:gtest', | 36 '../testing/gtest.gyp:gtest', |
| 37 ], | 37 ], |
| 38 'sources': [ | 38 'sources': [ |
| 39 '../app/run_all_unittests.cc', | 39 'run_all_unittests.cc', |
| 40 '../app/sql/connection_unittest.cc', | 40 'connection_unittest.cc', |
| 41 '../app/sql/sqlite_features_unittest.cc', | 41 'sqlite_features_unittest.cc', |
| 42 '../app/sql/statement_unittest.cc', | 42 'statement_unittest.cc', |
| 43 '../app/sql/transaction_unittest.cc', | 43 'transaction_unittest.cc', |
| 44 ], | 44 ], |
| 45 'include_dirs': [ | 45 'include_dirs': [ |
| 46 '..', | 46 '..', |
| 47 ], | 47 ], |
| 48 'conditions': [ | 48 'conditions': [ |
| 49 ['os_posix==1 and OS!="mac"', { | 49 ['os_posix==1 and OS!="mac"', { |
| 50 'conditions': [ | 50 'conditions': [ |
| 51 ['linux_use_tcmalloc==1', { | 51 ['linux_use_tcmalloc==1', { |
| 52 'dependencies': [ | 52 'dependencies': [ |
| 53 '../base/allocator/allocator.gyp:allocator', | 53 '../base/allocator/allocator.gyp:allocator', |
| 54 ], | 54 ], |
| 55 }], | 55 }], |
| 56 ], | 56 ], |
| 57 }], | 57 }], |
| 58 ], | 58 ], |
| 59 }, | 59 }, |
| 60 ], | 60 ], |
| 61 } | 61 } |
| OLD | NEW |