Index: services/ui/BUILD.gn |
diff --git a/services/ui/BUILD.gn b/services/ui/BUILD.gn |
index 163c0dce3b45c67368c31c65a097ee31f4c85b73..d974d8a212ac820100208b88203e502c7a3e4939 100644 |
--- a/services/ui/BUILD.gn |
+++ b/services/ui/BUILD.gn |
@@ -6,7 +6,6 @@ import("//build/config/ui.gni") |
import("//testing/test.gni") |
import("//services/service_manager/public/cpp/service.gni") |
import("//services/service_manager/public/service_manifest.gni") |
-import("//services/service_manager/public/constants.gni") |
import("//tools/grit/repack.gni") |
group("all") { |
@@ -24,26 +23,17 @@ service("ui") { |
] |
deps = [ |
- ":copy_gl_libraries", |
":lib", |
- ":resources_100", |
- ":resources_200", |
- ":resources_strings", |
"//services/service_manager/public/cpp:sources", |
"//services/tracing/public/interfaces", |
] |
data_deps = [ |
- ":copy_gl_libraries", |
- ":manifest", |
+ ":resources_100", |
+ ":resources_200", |
+ ":resources_strings", |
"//services/ui/ime/test_ime_driver", |
] |
- |
- resources = [ |
- "$root_out_dir/mus_app_resources_strings.pak", |
- "$root_out_dir/mus_app_resources_100.pak", |
- "$root_out_dir/mus_app_resources_200.pak", |
- ] |
} |
service_manifest("manifest") { |
@@ -51,35 +41,6 @@ service_manifest("manifest") { |
source = "manifest.json" |
} |
-copy("copy_gl_libraries") { |
- deps = [ |
- "//third_party/mesa:osmesa", |
- ] |
- |
- if (is_win) { |
- deps += [ |
- "//third_party/angle:libEGL", |
- "//third_party/angle:libGLESv2", |
- ] |
- |
- sources = [ |
- "$root_shlib_dir/libEGL.dll", |
- "$root_shlib_dir/libGLESv2.dll", |
- "$root_shlib_dir/osmesa.dll", |
- ] |
- } else if (is_android || is_linux) { |
- sources = [ |
- "$root_shlib_dir/libosmesa.so", |
- ] |
- } else { |
- sources = [] |
- } |
- |
- outputs = [ |
- "$root_out_dir/$packages_directory/ui/{{source_file_part}}", |
- ] |
-} |
- |
source_set("lib") { |
sources = [ |
"service.cc", |