| 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("//mojo/public/mojo_application.gni") | 10 import("//mojo/public/mojo_application.gni") |
| 10 | 11 |
| 11 mojo_native_application("core_services") { | 12 mojo_native_application("core_services") { |
| 12 deps = [ | 13 deps = [ |
| 13 ":sources", | 14 ":sources", |
| 14 "//third_party/angle:libEGL", | 15 "//third_party/angle:libEGL", |
| 15 "//third_party/angle:libGLESv2", | 16 "//third_party/angle:libGLESv2", |
| 16 ] | 17 ] |
| 17 if (is_win) { | 18 if (is_win) { |
| 18 copy("copy_files") { | 19 copy("copy_files") { |
| 19 sources = [ | 20 sources = [ |
| 20 "$root_out_dir/libEGL.dll", | 21 "$root_shlib_dir/libEGL.dll", |
| 21 "$root_out_dir/libGLESv2.dll", | 22 "$root_shlib_dir/libGLESv2.dll", |
| 22 ] | 23 ] |
| 23 outputs = [ | 24 outputs = [ |
| 24 "$root_out_dir/core_services/{{source_file_part}}", | 25 "$root_out_dir/core_services/{{source_file_part}}", |
| 25 ] | 26 ] |
| 26 } | 27 } |
| 27 deps += [ ":copy_files" ] | 28 deps += [ ":copy_files" ] |
| 28 } | 29 } |
| 29 | 30 |
| 30 if (!is_android) { | 31 if (!is_android) { |
| 31 deps += [ "//third_party/icu:icudata" ] | 32 deps += [ "//third_party/icu:icudata" ] |
| (...skipping 27 matching lines...) Expand all Loading... |
| 59 ] | 60 ] |
| 60 } | 61 } |
| 61 | 62 |
| 62 if (use_aura) { | 63 if (use_aura) { |
| 63 deps += [ | 64 deps += [ |
| 64 "//components/view_manager/public/cpp", | 65 "//components/view_manager/public/cpp", |
| 65 "//mandoline/ui/omnibox:lib", | 66 "//mandoline/ui/omnibox:lib", |
| 66 ] | 67 ] |
| 67 } | 68 } |
| 68 } | 69 } |
| OLD | NEW |