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

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

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fixed gn check failure Created 4 years, 3 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
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 source_set("contents") { 10 source_set("contents") {
11 visibility = [ "//blimp/client/*" ] 11 visibility = [ "//blimp/client/*" ]
12 12
13 sources = [ 13 sources = [
14 "blimp_contents_impl.cc", 14 "blimp_contents_impl.cc",
15 "blimp_contents_impl.h", 15 "blimp_contents_impl.h",
16 "blimp_contents_manager.cc", 16 "blimp_contents_manager.cc",
17 "blimp_contents_manager.h", 17 "blimp_contents_manager.h",
18 "blimp_contents_view.h", 18 "blimp_contents_view.h",
19 "blimp_navigation_controller_delegate.h", 19 "blimp_navigation_controller_delegate.h",
20 "blimp_navigation_controller_impl.cc", 20 "blimp_navigation_controller_impl.cc",
21 "blimp_navigation_controller_impl.h", 21 "blimp_navigation_controller_impl.h",
22 "ime_feature.cc", 22 "ime_feature.cc",
23 "ime_feature.h", 23 "ime_feature.h",
24 "navigation_feature.cc", 24 "navigation_feature.cc",
25 "navigation_feature.h", 25 "navigation_feature.h",
26 "tab_control_feature.cc",
27 "tab_control_feature.h",
26 ] 28 ]
27 29
28 public_deps = [ 30 public_deps = [
29 "//base", 31 "//base",
30 "//blimp/client:feature", 32 "//blimp/client/core/compositor",
31 "//blimp/client/public:public_headers", 33 "//blimp/client/public:public_headers",
32 "//blimp/net", 34 "//blimp/net",
33 "//net:net", 35 "//net:net",
34 "//ui/base/ime:text_input_types", 36 "//ui/base/ime:text_input_types",
35 "//ui/gfx/geometry:geometry", 37 "//ui/gfx/geometry:geometry",
36 "//url", 38 "//url",
37 ] 39 ]
38 40
39 deps = [ 41 deps = [
42 "//blimp/client/core/render_widget",
40 "//blimp/common", 43 "//blimp/common",
41 "//components/url_formatter", 44 "//components/url_formatter",
42 "//skia", 45 "//skia",
43 ] 46 ]
44 47
45 if (is_android) { 48 if (is_android) {
46 sources += [ 49 sources += [
47 "android/blimp_contents_impl_android.cc", 50 "android/blimp_contents_impl_android.cc",
48 "android/blimp_contents_impl_android.h", 51 "android/blimp_contents_impl_android.h",
49 "android/blimp_contents_jni_registrar.cc", 52 "android/blimp_contents_jni_registrar.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "mock_navigation_feature_delegate.h", 84 "mock_navigation_feature_delegate.h",
82 ] 85 ]
83 86
84 deps = [ 87 deps = [
85 "//base", 88 "//base",
86 "//skia", 89 "//skia",
87 "//url", 90 "//url",
88 ] 91 ]
89 92
90 public_deps = [ 93 public_deps = [
91 "//blimp/client/core/contents", 94 ":contents",
92 "//testing/gmock", 95 "//testing/gmock",
93 ] 96 ]
94 } 97 }
95 98
96 source_set("unit_tests") { 99 source_set("unit_tests") {
97 visibility = [ "//blimp/client/core:unit_tests" ] 100 visibility = [ "//blimp/client/core:unit_tests" ]
98 101
99 testonly = true 102 testonly = true
100 103
101 sources = [ 104 sources = [
102 "blimp_contents_impl_unittest.cc", 105 "blimp_contents_impl_unittest.cc",
103 "blimp_contents_manager_unittest.cc", 106 "blimp_contents_manager_unittest.cc",
104 "blimp_contents_observer_unittest.cc", 107 "blimp_contents_observer_unittest.cc",
105 "blimp_navigation_controller_impl_unittest.cc", 108 "blimp_navigation_controller_impl_unittest.cc",
106 "navigation_feature_unittest.cc", 109 "navigation_feature_unittest.cc",
110 "tab_control_feature_unittest.cc",
107 ] 111 ]
108 112
109 deps = [ 113 deps = [
110 ":contents", 114 ":contents",
111 ":test_support", 115 ":test_support",
112 "//base", 116 "//base",
113 "//blimp/client:feature",
114 "//blimp/client/public:public_headers", 117 "//blimp/client/public:public_headers",
118 "//blimp/client/support:test_support",
115 "//blimp/common", 119 "//blimp/common",
116 "//blimp/net:test_support", 120 "//blimp/net:test_support",
121 "//net",
117 "//net:test_support", 122 "//net:test_support",
118 "//testing/gtest", 123 "//testing/gtest",
119 "//ui/gfx:test_support", 124 "//ui/gfx:test_support",
120 "//ui/gfx/geometry:geometry", 125 "//ui/gfx/geometry:geometry",
121 "//url", 126 "//url",
122 ] 127 ]
123 } 128 }
124 129
125 if (is_android) { 130 if (is_android) {
126 android_library("contents_java") { 131 android_library("contents_java") {
(...skipping 16 matching lines...) Expand all
143 148
144 sources = [ 149 sources = [
145 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java" , 150 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java" ,
146 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverPr oxy.java", 151 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverPr oxy.java",
147 "android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControll erImpl.java", 152 "android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControll erImpl.java",
148 ] 153 ]
149 154
150 jni_package = "blimp/client/core/contents" 155 jni_package = "blimp/client/core/contents"
151 } 156 }
152 } 157 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698