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

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: fix 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
« no previous file with comments | « no previous file | components/resource_provider/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "//mojo/platform_handle",
38 "//url",
39 ]
40 }
41
42 test("tests") {
43 output_name = "resource_provider_unittests"
44 sources = [
45 "file_utils_unittest.cc",
46 ]
47
48 deps = [
49 ":lib",
50 "//base",
51 "//base/test:test_config",
52 "//components/resource_provider/public/interfaces",
53 "//mojo/environment:chromium",
54 "//testing/gtest",
55 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
56 "//url",
57 ]
58 }
59
60 mojo_application_package("apptests") {
61 output_name = "resource_provider_apptests"
62 testonly = true
63
64 sources = [
65 "resource_provider_apptest.cc",
66 ]
67
68 resources = [
69 "//components/test/data/resource_provider/sample",
70 "//components/test/data/resource_provider/dir",
71 ]
72
73 deps = [
74 "//base",
75 "//base/test:test_config",
76 "//components/resource_provider/public/interfaces",
77 "//mojo/application",
78 "//mojo/application:test_support",
79 "//mojo/common",
80 "//mojo/platform_handle",
81 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
82 ]
83 }
OLDNEW
« no previous file with comments | « no previous file | components/resource_provider/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698