1 # Copyright 2015 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.
5 import("//mojo/public/mojo_application.gni")
13 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
14 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
16 defines = [ "SQL_IMPLEMENTATION" ]
20 "//base/third_party/dynamic_annotations",
21 "//components/filesystem/public/interfaces",
22 "//mojo/application/public/cpp",
24 "//mojo/platform_handle",
25 "//third_party/sqlite",
29 mojo_native_application("apptests") {
30 output_name = "sql_apptests"
34 # Instead of using the code in //sql/test/sql_test_base.h, we should use the
35 # mojo test base class.
36 defines = [ "MOJO_APPTEST_IMPL" ]
39 "../connection_unittest.cc",
40 "../statement_unittest.cc",
43 "../transaction_unittest.cc",
52 "//base/test:test_support",
53 "//components/filesystem/public/interfaces",
54 "//mojo/application/public/cpp:sources",
55 "//mojo/application/public/cpp:test_support",
57 "//sql:redirection_header",
59 "//testing/gtest:gtest",
60 "//third_party/mojo/src/mojo/public/cpp/bindings",