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

Unified Diff: services/ui/BUILD.gn

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/BUILD.gn
diff --git a/services/ui/BUILD.gn b/services/ui/BUILD.gn
index 163c0dce3b45c67368c31c65a097ee31f4c85b73..65a7563ef26d2a3df98399baa793d57c4846987b 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,7 +23,6 @@ service("ui") {
]
deps = [
- ":copy_gl_libraries",
":lib",
":resources_100",
":resources_200",
@@ -34,16 +32,9 @@ service("ui") {
]
data_deps = [
- ":copy_gl_libraries",
":manifest",
"//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 +42,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",

Powered by Google App Engine
This is Rietveld 408576698