| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 shared_library("viewer") { | 7 shared_library("viewer") { |
| 8 output_name = "sky_viewer" | 8 output_name = "sky_viewer" |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 "services/tracing_impl.cc", | 35 "services/tracing_impl.cc", |
| 36 "services/tracing_impl.h", | 36 "services/tracing_impl.h", |
| 37 "services/inspector_impl.cc", | 37 "services/inspector_impl.cc", |
| 38 "services/inspector_impl.h", | 38 "services/inspector_impl.h", |
| 39 "viewer.cc", | 39 "viewer.cc", |
| 40 ] | 40 ] |
| 41 | 41 |
| 42 include_dirs = [ ".." ] | 42 include_dirs = [ ".." ] |
| 43 | 43 |
| 44 deps = [ | 44 deps = [ |
| 45 ":bindings", |
| 46 ":sky_modules", |
| 45 "//base:i18n", | 47 "//base:i18n", |
| 46 "//cc", | 48 "//cc", |
| 47 "//cc/surfaces", | 49 "//cc/surfaces", |
| 48 "//gin", | 50 "//gin", |
| 49 "//mojo/application", | 51 "//mojo/application", |
| 50 "//mojo/edk/js", | |
| 51 "//mojo/cc", | 52 "//mojo/cc", |
| 52 "//mojo/common", | 53 "//mojo/common", |
| 53 "//mojo/converters/geometry", | 54 "//mojo/converters/geometry", |
| 54 "//mojo/converters/surfaces", | 55 "//mojo/converters/surfaces", |
| 56 "//mojo/edk/js", |
| 55 "//mojo/public/c/system:for_shared_library", | 57 "//mojo/public/c/system:for_shared_library", |
| 56 "//mojo/public/cpp/bindings", | 58 "//mojo/public/cpp/bindings", |
| 57 "//mojo/public/cpp/system", | 59 "//mojo/public/cpp/system", |
| 58 "//mojo/public/cpp/utility", | 60 "//mojo/public/cpp/utility", |
| 59 "//mojo/public/interfaces/application", | 61 "//mojo/public/interfaces/application", |
| 60 "//mojo/services/public/cpp/view_manager", | 62 "//mojo/services/public/cpp/view_manager", |
| 61 "//mojo/services/public/interfaces/content_handler", | 63 "//mojo/services/public/interfaces/content_handler", |
| 62 "//mojo/services/public/interfaces/gpu", | 64 "//mojo/services/public/interfaces/gpu", |
| 63 "//mojo/services/public/interfaces/input_events", | 65 "//mojo/services/public/interfaces/input_events", |
| 64 "//mojo/services/public/interfaces/navigation", | 66 "//mojo/services/public/interfaces/navigation", |
| 65 "//mojo/services/public/interfaces/network", | 67 "//mojo/services/public/interfaces/network", |
| 66 "//mojo/services/public/interfaces/surfaces", | 68 "//mojo/services/public/interfaces/surfaces", |
| 67 "//net", | 69 "//net", |
| 68 "//skia", | 70 "//skia", |
| 69 "//sky/engine/public:blink", | 71 "//sky/engine/public:blink", |
| 72 "//sky/services/inspector:bindings", |
| 70 "//sky/viewer/cc", | 73 "//sky/viewer/cc", |
| 71 "//third_party/icu", | 74 "//third_party/icu", |
| 72 "//ui/native_theme", | 75 "//ui/native_theme", |
| 73 "//url", | 76 "//url", |
| 74 ":bindings", | |
| 75 ":sky_modules", | |
| 76 ] | 77 ] |
| 77 } | 78 } |
| 78 | 79 |
| 79 mojom("bindings") { | 80 mojom("bindings") { |
| 80 sources = [ | 81 sources = [ |
| 81 "test_observer.mojom", | 82 "test_observer.mojom", |
| 82 "services/tracing.mojom", | 83 "services/tracing.mojom", |
| 83 "services/inspector.mojom", | 84 "services/inspector.mojom", |
| 84 ] | 85 ] |
| 85 } | 86 } |
| 86 | 87 |
| 87 copy("sky_modules") { | 88 copy("sky_modules") { |
| 88 sources = [ | 89 sources = [ |
| 89 "script/core.sky", | 90 "script/core.sky", |
| 90 "script/support.sky", | 91 "script/support.sky", |
| 91 ] | 92 ] |
| 92 outputs = [ | 93 outputs = [ |
| 93 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", | 94 "$root_gen_dir/mojo/public/sky/{{source_file_part}}", |
| 94 ] | 95 ] |
| 95 } | 96 } |
| OLD | NEW |