| 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 } | |
| 35 } | 30 } |
| 36 | 31 |
| 37 source_set("sources") { | 32 source_set("sources") { |
| 38 sources = [ | 33 sources = [ |
| 39 "application_delegate_factory.h", | 34 "application_delegate_factory.h", |
| 40 "application_delegate_factory_linux.cc", | 35 "application_delegate_factory_linux.cc", |
| 41 "core_services_application_delegate.cc", | 36 "core_services_application_delegate.cc", |
| 42 "main.cc", | 37 "main.cc", |
| 43 ] | 38 ] |
| 44 | 39 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 74 | 69 |
| 75 if (use_aura) { | 70 if (use_aura) { |
| 76 deps += [ | 71 deps += [ |
| 77 "//components/mus/public/cpp", | 72 "//components/mus/public/cpp", |
| 78 "//mandoline/ui/desktop_ui:lib", | 73 "//mandoline/ui/desktop_ui:lib", |
| 79 "//mandoline/ui/omnibox:lib", | 74 "//mandoline/ui/omnibox:lib", |
| 80 ] | 75 ] |
| 81 sources += [ "application_delegate_factory_aura.cc" ] | 76 sources += [ "application_delegate_factory_aura.cc" ] |
| 82 } | 77 } |
| 83 } | 78 } |
| OLD | NEW |