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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 deps += [ "//components/font_service:lib" ] | 65 deps += [ "//components/font_service:lib" ] |
65 } | 66 } |
66 | 67 |
67 if (use_aura) { | 68 if (use_aura) { |
68 deps += [ | 69 deps += [ |
69 "//components/view_manager/public/cpp", | 70 "//components/view_manager/public/cpp", |
70 "//mandoline/ui/omnibox:lib", | 71 "//mandoline/ui/omnibox:lib", |
71 ] | 72 ] |
72 } | 73 } |
73 } | 74 } |
OLD | NEW |