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

Side by Side Diff: blimp/client/core/render_widget/BUILD.gn

Issue 2241623002: blimp: Move compositing, input and render widget feature to client/core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments from #7 Created 4 years, 4 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 2016 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 if (is_android) {
6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni")
8 }
9
10 source_set("render_widget") {
11 visibility = [
12 "//blimp/client/*",
13 "//blimp/engine:browser_tests",
14 ]
15
16 sources = [
17 "blimp_render_widget.cc",
18 "blimp_render_widget.h",
19 "blimp_render_widget_delegate.h",
20 "render_widget_feature.cc",
21 "render_widget_feature.h",
22 ]
23
24 deps = [
25 "//base:base",
26 "//blimp/client/core/compositor:compositor_support",
27 "//blimp/client/core/input",
28 "//blimp/common",
29 "//blimp/net",
30 "//cc",
31 "//cc/proto",
32 "//net:net",
33 ]
34
35 public_deps = [
36 "//blimp/client/core/compositor",
37 "//blimp/common/proto",
38 "//ui/gfx:native_widget_types",
39 ]
40 }
41
42 source_set("test_support") {
43 testonly = true
44
45 sources = [
46 "mock_render_widget_feature_delegate.cc",
47 "mock_render_widget_feature_delegate.h",
48 ]
49
50 deps = [
51 ":render_widget",
52 "//testing/gmock",
53 ]
54 }
55
56 source_set("unit_tests") {
57 visibility = [ "//blimp/client/core:unit_tests" ]
58
59 testonly = true
60
61 sources = [
62 "render_widget_feature_unittest.cc",
63 ]
64
65 if (is_linux) {
66 #TODO(khushalsagar): Run these tests for android.
67 sources += [ "blimp_render_widget_unittest.cc" ]
68 }
69
70 deps = [
71 ":render_widget",
72 ":test_support",
73 "//base",
74 "//base/test:test_support",
75 "//blimp/client/core/compositor:compositor_support",
76 "//blimp/common",
77 "//blimp/common/proto",
78 "//blimp/net",
79 "//blimp/net:test_support",
80 "//cc/proto",
81 "//net",
82 "//net:test_support",
83 "//testing/gmock",
84 "//testing/gtest",
85 ]
86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698