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

Side by Side Diff: services/ui/public/cpp/BUILD.gn

Issue 2431753002: Mus experiment in content shell on Android.
Patch Set: Fixed gn check Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 # This is the public target. It contains only the public headers. The 7 # This is the public target. It contains only the public headers. The
8 # implementation (and private haders) are in 'internal'. 8 # implementation (and private haders) are in 'internal'.
9 source_set("cpp") { 9 source_set("cpp") {
10 sources = [ 10 sources = [
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 allow_circular_includes_from = [ 66 allow_circular_includes_from = [
67 ":internal", 67 ":internal",
68 ":internal_or_test", 68 ":internal_or_test",
69 ] 69 ]
70 } 70 }
71 71
72 # This target is for use internally and by tests. 72 # This target is for use internally and by tests.
73 source_set("internal_or_test") { 73 source_set("internal_or_test") {
74 visibility = [ 74 visibility = [
75 "./*", 75 "./*",
76 "//services/ui/ws:mus_ws_unittests", 76
77 # We have to be visible to * because the test rule on Android generates
78 # sub-targets prefixed with mus_ws_unittests, but mus_ws_unittests* won't
79 # work in GN.
80 "//services/ui/ws/*",
sky 2016/10/18 21:52:30 Is this working around a bug in gn? Can't we list
Jay Civelli 2016/10/18 22:28:03 We can... but there are a bunch and there are synt
sky 2016/10/18 22:54:52 Ugh! Ok, keep what you have.
77 "//ui/views/mus:views_mus_unittests", 81 "//ui/views/mus:views_mus_unittests",
78 ] 82 ]
79 83
80 sources = [ 84 sources = [
81 "window_private.h", 85 "window_private.h",
82 ] 86 ]
83 87
84 deps = [ 88 deps = [
85 "//base", 89 "//base",
86 "//mojo/public/cpp/bindings", 90 "//mojo/public/cpp/bindings",
87 ] 91 ]
88 } 92 }
89 93
90 source_set("internal") { 94 source_set("internal") {
91 # This target is an implementation detail and is intended only to be used by 95 # This target is an implementation detail and is intended only to be used by
92 # the 'cpp' target. 96 # the 'cpp' target.
93 visibility = [ 97 visibility = [
94 ":cpp", 98 ":cpp",
99 "//services/ui/demo:mus_demo_lib",
95 "//services/ui/demo:mus_demo_library", 100 "//services/ui/demo:mus_demo_library",
96 ] 101 ]
97 102
98 sources = [ 103 sources = [
99 "compositor_frame_sink.cc", 104 "compositor_frame_sink.cc",
100 "context_provider.cc", 105 "context_provider.cc",
101 "context_provider.h", 106 "context_provider.h",
102 "gles2_context.cc", 107 "gles2_context.cc",
103 "gles2_context.h", 108 "gles2_context.h",
104 "gpu_memory_buffer_impl.cc", 109 "gpu_memory_buffer_impl.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 data_deps = [ 156 data_deps = [
152 "//services/ui", 157 "//services/ui",
153 ] 158 ]
154 159
155 defines = [ "GL_GLEXT_PROTOTYPES" ] 160 defines = [ "GL_GLEXT_PROTOTYPES" ]
156 161
157 if (use_ozone) { 162 if (use_ozone) {
158 deps += [ "//ui/ozone" ] 163 deps += [ "//ui/ozone" ]
159 } 164 }
160 } 165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698