Infobar material design refresh: bg color
[chromium-blink-merge.git] / sql / mojo / BUILD.gn
blob18feaec10942938d05ef77d4cc6662929272d455
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")
7 source_set("mojo") {
8   sources = [
9     "mojo_vfs.cc",
10     "mojo_vfs.h",
11   ]
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" ]
18   deps = [
19     "//base",
20     "//base/third_party/dynamic_annotations",
21     "//components/filesystem/public/interfaces",
22     "//mojo/application/public/cpp",
23     "//mojo/common",
24     "//mojo/platform_handle",
25     "//third_party/sqlite",
26   ]
29 mojo_native_application("apptests") {
30   output_name = "sql_apptests"
32   testonly = true
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" ]
38   sources = [
39     "../connection_unittest.cc",
40     "../statement_unittest.cc",
41     "../test/paths.cc",
42     "../test/paths.h",
43     "../transaction_unittest.cc",
44     "sql_test_base.cc",
45     "sql_test_base.h",
46     "vfs_unittest.cc",
47   ]
49   deps = [
50     ":mojo",
51     "//base",
52     "//base/test:test_support",
53     "//components/filesystem/public/interfaces",
54     "//mojo/application/public/cpp:sources",
55     "//mojo/application/public/cpp:test_support",
56     "//sql",
57     "//sql:redirection_header",
58     "//sql:test_support",
59     "//testing/gtest:gtest",
60     "//third_party/mojo/src/mojo/public/cpp/bindings",
61   ]