WebKit roll 90808:90810
[chromium-blink-merge.git] / app / app.gyp
blob0f37bd7a7691da70989c283eef4f6d8fb683bd0a
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'includes': [
10     'app_base.gypi',
11   ],
12   'targets': [
13     {
14       'target_name': 'app_unittests',
15       'type': 'executable',
16       'dependencies': [
17         'app_base',
18         '../base/base.gyp:test_support_base',
19         '../testing/gtest.gyp:gtest',
20       ],
21       'sources': [
22         'run_all_unittests.cc',
23         'sql/connection_unittest.cc',
24         'sql/sqlite_features_unittest.cc',
25         'sql/statement_unittest.cc',
26         'sql/transaction_unittest.cc',
27       ],
28       'include_dirs': [
29         '..',
30       ],
31       'conditions': [
32         ['os_posix==1 and OS!="mac"', {
33           'conditions': [
34             ['linux_use_tcmalloc==1', {
35               'dependencies': [
36                 '../base/allocator/allocator.gyp:allocator',
37               ],
38             }],
39           ],
40         }],
41       ],
42     },
43   ],