OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("sql") { | 7 component("sql") { |
8 sources = [ | 8 sources = [ |
9 "connection.cc", | 9 "connection.cc", |
10 "connection.h", | 10 "connection.h", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 deps = [ | 73 deps = [ |
74 ":sql", | 74 ":sql", |
75 ":test_support", | 75 ":test_support", |
76 "//base/allocator", | 76 "//base/allocator", |
77 "//base/test:test_support", | 77 "//base/test:test_support", |
78 "//testing/gtest", | 78 "//testing/gtest", |
79 "//third_party/sqlite", | 79 "//third_party/sqlite", |
80 ] | 80 ] |
81 | 81 |
| 82 if (is_android) { |
| 83 isolate_file = "sql_unittests.isolate" |
| 84 } |
| 85 |
82 # TODO(GYP) | 86 # TODO(GYP) |
83 #['OS == "android"', { | 87 #['OS == "android"', { |
84 # 'dependencies': [ | 88 # 'dependencies': [ |
85 # '../testing/android/native_test.gyp:native_test_native_code', | 89 # '../testing/android/native_test.gyp:native_test_native_code', |
86 # ], | 90 # ], |
87 #}], | 91 #}], |
88 } | 92 } |
89 | 93 |
90 if (is_android) { | 94 if (is_android) { |
91 #TODO(GYP) | 95 #TODO(GYP) |
92 #'target_name': 'sql_unittests_apk', | 96 #'target_name': 'sql_unittests_apk', |
93 #'type': 'none', | 97 #'type': 'none', |
94 #'dependencies': [ | 98 #'dependencies': [ |
95 # 'sql_unittests', | 99 # 'sql_unittests', |
96 #], | 100 #], |
97 #'variables': { | 101 #'variables': { |
98 # 'test_suite_name': 'sql_unittests', | 102 # 'test_suite_name': 'sql_unittests', |
99 #}, | 103 #}, |
100 #'includes': [ '../build/apk_test.gypi' ], | 104 #'includes': [ '../build/apk_test.gypi' ], |
101 } | 105 } |
OLD | NEW |