Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: sql/sql.gyp

Issue 10443068: Add APK targets for sql_unittests and sync_unit_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ninja build fix. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sync/sync.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {
(...skipping 12 matching lines...) Expand all
23 'meta_table.cc', 23 'meta_table.cc',
24 'meta_table.h', 24 'meta_table.h',
25 'statement.cc', 25 'statement.cc',
26 'statement.h', 26 'statement.h',
27 'transaction.cc', 27 'transaction.cc',
28 'transaction.h', 28 'transaction.h',
29 ], 29 ],
30 }, 30 },
31 { 31 {
32 'target_name': 'sql_unittests', 32 'target_name': 'sql_unittests',
33 'type': 'executable', 33 'type': '<(gtest_target_type)',
34 'dependencies': [ 34 'dependencies': [
35 'sql', 35 'sql',
36 '../base/base.gyp:test_support_base', 36 '../base/base.gyp:test_support_base',
37 '../testing/gtest.gyp:gtest', 37 '../testing/gtest.gyp:gtest',
38 ], 38 ],
39 'sources': [ 39 'sources': [
40 'run_all_unittests.cc', 40 'run_all_unittests.cc',
41 'connection_unittest.cc', 41 'connection_unittest.cc',
42 'sqlite_features_unittest.cc', 42 'sqlite_features_unittest.cc',
43 'statement_unittest.cc', 43 'statement_unittest.cc',
44 'transaction_unittest.cc', 44 'transaction_unittest.cc',
45 ], 45 ],
46 'include_dirs': [ 46 'include_dirs': [
47 '..', 47 '..',
48 ], 48 ],
49 'conditions': [ 49 'conditions': [
50 ['os_posix==1 and OS!="mac"', { 50 ['os_posix==1 and OS!="mac"', {
51 'conditions': [ 51 'conditions': [
52 ['linux_use_tcmalloc==1', { 52 ['linux_use_tcmalloc==1', {
53 'dependencies': [ 53 'dependencies': [
54 '../base/allocator/allocator.gyp:allocator', 54 '../base/allocator/allocator.gyp:allocator',
55 ], 55 ],
56 }], 56 }],
57 ], 57 ],
58 }], 58 }],
59 ['OS == "android" and gtest_target_type == "shared_library"', {
60 'dependencies': [
61 '../testing/android/native_test.gyp:native_test_native_code',
62 ],
63 }],
59 ], 64 ],
60 }, 65 },
61 ], 66 ],
67 'conditions': [
68 # Special target to wrap a gtest_target_type==shared_library
69 # sql_unittests into an android apk for execution.
70 ['OS == "android" and gtest_target_type == "shared_library"', {
71 'targets': [
72 {
73 'target_name': 'sql_unittests_apk',
74 'type': 'none',
75 'dependencies': [
76 '../base/base.gyp:base_java',
77 'sql_unittests',
78 ],
79 'variables': {
80 'test_suite_name': 'sql_unittests',
81 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt ests<(SHARED_LIB_SUFFIX)',
82 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
83 },
84 'includes': [ '../build/apk_test.gypi' ],
85 },
86 ],
87 }],
88 ],
62 } 89 }
OLDNEW
« no previous file with comments | « no previous file | sync/sync.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698