| OLD | NEW |
| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 allow_circular_includes_from = [ | 65 allow_circular_includes_from = [ |
| 66 ":internal", | 66 ":internal", |
| 67 ":internal_or_test", | 67 ":internal_or_test", |
| 68 ] | 68 ] |
| 69 } | 69 } |
| 70 | 70 |
| 71 # This target is for use internally and by tests. | 71 # This target is for use internally and by tests. |
| 72 source_set("internal_or_test") { | 72 source_set("internal_or_test") { |
| 73 visibility = [ | 73 visibility = [ |
| 74 "./*", | 74 "./*", |
| 75 "//services/ui/ws:mus_ws_unittests", | 75 |
| 76 # We have to be visible to * because the test rule on Android generates |
| 77 # sub-targets prefixed with mus_ws_unittests, but mus_ws_unittests* won't |
| 78 # work in GN. |
| 79 "//services/ui/ws/*", |
| 76 "//ui/views/mus:views_mus_unittests", | 80 "//ui/views/mus:views_mus_unittests", |
| 77 ] | 81 ] |
| 78 | 82 |
| 79 sources = [ | 83 sources = [ |
| 80 "window_private.h", | 84 "window_private.h", |
| 81 ] | 85 ] |
| 82 | 86 |
| 83 deps = [ | 87 deps = [ |
| 84 "//base", | 88 "//base", |
| 85 "//mojo/public/cpp/bindings", | 89 "//mojo/public/cpp/bindings", |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 data_deps = [ | 151 data_deps = [ |
| 148 "//services/ui", | 152 "//services/ui", |
| 149 ] | 153 ] |
| 150 | 154 |
| 151 defines = [ "GL_GLEXT_PROTOTYPES" ] | 155 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 152 | 156 |
| 153 if (use_ozone) { | 157 if (use_ozone) { |
| 154 deps += [ "//ui/ozone" ] | 158 deps += [ "//ui/ozone" ] |
| 155 } | 159 } |
| 156 } | 160 } |
| OLD | NEW |