| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # core_services should be thought of as a bundle of many of the services which | 5 # core_services should be thought of as a bundle of many of the services which |
| 6 # we ship with. | 6 # we ship with. |
| 7 | 7 |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
| 10 import("//mojo/public/mojo_application.gni") | 10 import("//mojo/public/mojo_application.gni") |
| 11 | 11 |
| 12 mojo_native_application("core_services") { | 12 mojo_native_application("core_services") { |
| 13 deps = [ | 13 deps = [ |
| 14 ":sources", | 14 ":sources", |
| 15 "//third_party/angle:libEGL", | 15 "//third_party/angle:libEGL", |
| 16 "//third_party/angle:libGLESv2", | 16 "//third_party/angle:libGLESv2", |
| 17 ] | 17 ] |
| 18 if (is_win) { | 18 if (is_win) { |
| 19 copy("copy_files") { | 19 copy("copy_files") { |
| 20 sources = [ | 20 sources = [ |
| 21 "$root_shlib_dir/libEGL.dll", | 21 "$root_shlib_dir/libEGL.dll", |
| 22 "$root_shlib_dir/libGLESv2.dll", | 22 "$root_shlib_dir/libGLESv2.dll", |
| 23 ] | 23 ] |
| 24 outputs = [ | 24 outputs = [ |
| 25 "$root_out_dir/core_services/{{source_file_part}}", | 25 "$root_out_dir/core_services/{{source_file_part}}", |
| 26 ] | 26 ] |
| 27 } | 27 } |
| 28 deps += [ ":copy_files" ] | 28 deps += [ ":copy_files" ] |
| 29 } | 29 } |
| 30 |
| 31 if (!is_android) { |
| 32 deps += [ "//third_party/icu:icudata" ] |
| 33 resources = [ "$root_out_dir/icudtl.dat" ] |
| 34 } |
| 30 } | 35 } |
| 31 | 36 |
| 32 source_set("sources") { | 37 source_set("sources") { |
| 33 sources = [ | 38 sources = [ |
| 34 "application_delegate_factory.h", | 39 "application_delegate_factory.h", |
| 35 "application_delegate_factory_linux.cc", | 40 "application_delegate_factory_linux.cc", |
| 36 "core_services_application_delegate.cc", | 41 "core_services_application_delegate.cc", |
| 37 "main.cc", | 42 "main.cc", |
| 38 ] | 43 ] |
| 39 | 44 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 69 | 74 |
| 70 if (use_aura) { | 75 if (use_aura) { |
| 71 deps += [ | 76 deps += [ |
| 72 "//components/mus/public/cpp", | 77 "//components/mus/public/cpp", |
| 73 "//mandoline/ui/desktop_ui:lib", | 78 "//mandoline/ui/desktop_ui:lib", |
| 74 "//mandoline/ui/omnibox:lib", | 79 "//mandoline/ui/omnibox:lib", |
| 75 ] | 80 ] |
| 76 sources += [ "application_delegate_factory_aura.cc" ] | 81 sources += [ "application_delegate_factory_aura.cc" ] |
| 77 } | 82 } |
| 78 } | 83 } |
| OLD | NEW |