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

Side by Side Diff: components/resource_provider/BUILD.gn

Issue 1108403008: Adds resource_provider::ResourceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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("//testing/test.gni")
6 import("//mojo/mojo_application_package.gni")
7
8 mojo_native_application("resource_provider") {
9 sources = [
10 "main.cc",
11 "resource_provider_app.cc",
12 "resource_provider_app.h",
13 ]
14
15 deps = [
16 ":lib",
17 "//base",
18 "//components/resource_provider/public/interfaces",
19 "//mojo/application",
20 "//mojo/environment:chromium",
21 "//url",
22 ]
23 }
24
25 source_set("lib") {
26 sources = [
27 "file_utils.cc",
28 "file_utils.h",
29 "resource_provider_impl.cc",
30 "resource_provider_impl.h",
31 ]
32
33 deps = [
34 "//base",
35 "//components/resource_provider/public/interfaces",
36 "//mojo/common:common_base",
37 "//url",
38 ]
39 }
40
41 test("tests") {
42 output_name = "resource_provider_unittests"
43 sources = [
44 "file_utils_unittest.cc",
45 ]
46
47 deps = [
48 ":lib",
49 "//base",
50 "//base/test:test_config",
51 "//components/resource_provider/public/interfaces",
52 "//mojo/environment:chromium",
53 "//testing/gtest",
54 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
55 "//url",
56 ]
57 }
58
59 mojo_application_package("apptests") {
60 output_name = "resource_provider_apptests"
61 testonly = true
62
63 sources = [
64 "resource_provider_apptest.cc",
65 ]
66
67 resources = [
68 "//components/test/data/resource_provider/sample",
69 "//components/test/data/resource_provider/dir",
70 ]
71
72 deps = [
73 "//base",
74 "//base/test:test_config",
75 "//components/resource_provider/public/interfaces",
76 "//mojo/application",
77 "//mojo/application:test_support",
78 "//mojo/common",
79 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
80 ]
81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698