Chromium Code Reviews| 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 '../base/base.gyp:base_static', | |
| 16 '../third_party/sqlite/sqlite.gyp:sqlite', | |
| 17 ], | |
| 18 'export_dependent_settings': [ | |
|
Mark Mentovai
2011/06/29 23:09:29
Really? What do you need to export?
Robert Sesek
2011/06/29 23:36:21
It was copied from app_base. I dunno. Nothing? Rem
| |
| 19 '../base/base.gyp:base', | |
| 20 '../base/base.gyp:base_static', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 '../app/sql/connection.cc', | |
| 24 '../app/sql/connection.h', | |
| 25 '../app/sql/diagnostic_error_delegate.h', | |
| 26 '../app/sql/init_status.h', | |
| 27 '../app/sql/meta_table.cc', | |
| 28 '../app/sql/meta_table.h', | |
| 29 '../app/sql/statement.cc', | |
| 30 '../app/sql/statement.h', | |
| 31 '../app/sql/transaction.cc', | |
| 32 '../app/sql/transaction.h', | |
| 33 ], | |
| 34 }, | |
| 35 { | |
| 36 'target_name': 'sql_unittests', | |
| 37 'type': 'executable', | |
| 38 'dependencies': [ | |
| 39 'sql', | |
| 40 '../base/base.gyp:test_support_base', | |
| 41 '../testing/gtest.gyp:gtest', | |
| 42 ], | |
| 43 'sources': [ | |
| 44 '../app/run_all_unittests.cc', | |
| 45 '../app/sql/connection_unittest.cc', | |
| 46 '../app/sql/sqlite_features_unittest.cc', | |
| 47 '../app/sql/statement_unittest.cc', | |
| 48 '../app/sql/transaction_unittest.cc', | |
| 49 ], | |
| 50 'include_dirs': [ | |
| 51 '..', | |
| 52 ], | |
| 53 'conditions': [ | |
| 54 ['os_posix==1 and OS!="mac"', { | |
| 55 'conditions': [ | |
| 56 ['linux_use_tcmalloc==1', { | |
| 57 'dependencies': [ | |
| 58 '../base/allocator/allocator.gyp:allocator', | |
| 59 ], | |
| 60 }], | |
| 61 ], | |
| 62 }], | |
| 63 ], | |
| 64 }, | |
| 65 ], | |
| 66 } | |
| 67 | |
| 68 # Local Variables: | |
| 69 # tab-width:2 | |
| 70 # indent-tabs-mode:nil | |
| 71 # End: | |
| 72 # vim: set expandtab tabstop=2 shiftwidth=2: | |
| OLD | NEW |