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

Side by Side Diff: sql/mojo/BUILD.gn

Issue 1176653002: mandoline filesystem: add a sqlite3 vfs to proxy filesystem usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT and fix the test import. Created 5 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
OLDNEW
(Empty)
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.
4
5 import("//mojo/public/mojo_application.gni")
6
7 source_set("mojo") {
8 sources = [
9 "enable_mojo_fs.cc",
10 "enable_mojo_fs.h",
11 ]
12
13 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
14 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
15
16 defines = [ "SQL_IMPLEMENTATION" ]
17
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 ]
27 }
28
29 mojo_native_application("apptests") {
30 output_name = "sql_apptests"
31
32 testonly = true
33
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" ]
37
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 ]
48
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 ]
62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698