| Index: services/ui/BUILD.gn
|
| diff --git a/services/ui/BUILD.gn b/services/ui/BUILD.gn
|
| index f8d88227ac86e4d7227d4d4ada39448cd63f8a8d..416f4750287eaead64fac46798ca1dcf1cb30c93 100644
|
| --- a/services/ui/BUILD.gn
|
| +++ b/services/ui/BUILD.gn
|
| @@ -24,7 +24,6 @@
|
| ]
|
|
|
| deps = [
|
| - ":copy_gl_libraries",
|
| ":lib",
|
| ":resources_100",
|
| ":resources_200",
|
| @@ -33,8 +32,11 @@
|
| "//services/tracing/public/interfaces",
|
| ]
|
|
|
| + if (is_win) {
|
| + deps += [ ":copy_gl_libraries" ]
|
| + }
|
| +
|
| data_deps = [
|
| - ":copy_gl_libraries",
|
| ":manifest",
|
| "//services/ui/ime/test_ime_driver",
|
| ]
|
| @@ -51,13 +53,9 @@
|
| source = "manifest.json"
|
| }
|
|
|
| -copy("copy_gl_libraries") {
|
| - deps = [
|
| - "//third_party/mesa:osmesa",
|
| - ]
|
| -
|
| - if (is_win) {
|
| - deps += [
|
| +if (is_win) {
|
| + copy("copy_gl_libraries") {
|
| + deps = [
|
| "//third_party/angle:libEGL",
|
| "//third_party/angle:libGLESv2",
|
| ]
|
| @@ -65,19 +63,12 @@
|
| 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",
|
| +
|
| + outputs = [
|
| + "$root_out_dir/$packages_directory/ui/{{source_file_part}}",
|
| ]
|
| - } else {
|
| - sources = []
|
| }
|
| -
|
| - outputs = [
|
| - "$root_out_dir/$packages_directory/ui/{{source_file_part}}",
|
| - ]
|
| }
|
|
|
| source_set("lib") {
|
|
|