| 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", |  | 
| 16     "//third_party/angle:libGLESv2", |  | 
| 17   ] | 15   ] | 
| 18   if (is_win) { | 16   if (is_win) { | 
| 19     copy("copy_files") { | 17     deps += [ | 
| 20       sources = [ | 18       ":copy_files", | 
| 21         "$root_shlib_dir/libEGL.dll", | 19       "//third_party/angle:libEGL", | 
| 22         "$root_shlib_dir/libGLESv2.dll", | 20       "//third_party/angle:libGLESv2", | 
| 23       ] | 21     ] | 
| 24       outputs = [ |  | 
| 25         "$root_out_dir/core_services/{{source_file_part}}", |  | 
| 26       ] |  | 
| 27     } |  | 
| 28     deps += [ ":copy_files" ] |  | 
| 29   } | 22   } | 
| 30 } | 23 } | 
| 31 | 24 | 
|  | 25 if (is_win) { | 
|  | 26   copy("copy_files") { | 
|  | 27     sources = [ | 
|  | 28       "$root_shlib_dir/libEGL.dll", | 
|  | 29       "$root_shlib_dir/libGLESv2.dll", | 
|  | 30     ] | 
|  | 31     outputs = [ | 
|  | 32       "$root_out_dir/core_services/{{source_file_part}}", | 
|  | 33     ] | 
|  | 34 | 
|  | 35     deps = [ | 
|  | 36       "//third_party/angle:libEGL", | 
|  | 37       "//third_party/angle:libGLESv2", | 
|  | 38     ] | 
|  | 39   } | 
|  | 40 } | 
|  | 41 | 
| 32 source_set("sources") { | 42 source_set("sources") { | 
| 33   sources = [ | 43   sources = [ | 
| 34     "application_delegate_factory.h", | 44     "application_delegate_factory.h", | 
| 35     "application_delegate_factory_linux.cc", | 45     "application_delegate_factory_linux.cc", | 
| 36     "core_services_application_delegate.cc", | 46     "core_services_application_delegate.cc", | 
| 37     "main.cc", | 47     "main.cc", | 
| 38   ] | 48   ] | 
| 39 | 49 | 
| 40   deps = [ | 50   deps = [ | 
| 41     "//base", | 51     "//base", | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
| 69 | 79 | 
| 70   if (use_aura) { | 80   if (use_aura) { | 
| 71     deps += [ | 81     deps += [ | 
| 72       "//components/mus/public/cpp", | 82       "//components/mus/public/cpp", | 
| 73       "//mandoline/ui/desktop_ui:lib", | 83       "//mandoline/ui/desktop_ui:lib", | 
| 74       "//mandoline/ui/omnibox:lib", | 84       "//mandoline/ui/omnibox:lib", | 
| 75     ] | 85     ] | 
| 76     sources += [ "application_delegate_factory_aura.cc" ] | 86     sources += [ "application_delegate_factory_aura.cc" ] | 
| 77   } | 87   } | 
| 78 } | 88 } | 
| OLD | NEW | 
|---|