| 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("//content/utility/utility.gni") | 5 import("//content/utility/utility.gni") |
| 6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
| 7 | 7 |
| 8 source_set("utility") { | 8 source_set("utility") { |
| 9 # Only the public target should depend on this. All other targets (even | 9 # Only the public target should depend on this. All other targets (even |
| 10 # internal content ones) should depend on the public one. | 10 # internal content ones) should depend on the public one. |
| 11 visibility = [ "//content/public/utility:utility_sources" ] | 11 visibility = [ "//content/public/utility:utility_sources" ] |
| 12 | 12 |
| 13 sources = | 13 sources = |
| 14 rebase_path(content_utility_gypi_values.utility_sources, ".", "//content") | 14 rebase_path(content_utility_gypi_values.utility_sources, ".", "//content") |
| 15 | 15 |
| 16 configs += [ | 16 configs += [ "//content:content_implementation" ] |
| 17 "//content:content_implementation", | |
| 18 "//content/public/common:mojo_shell_client", | |
| 19 ] | |
| 20 | 17 |
| 21 deps = [ | 18 deps = [ |
| 22 "//base", | 19 "//base", |
| 23 "//content:export", | 20 "//content:export", |
| 24 "//content/public/child:child_sources", | 21 "//content/public/child:child_sources", |
| 25 "//content/public/common:common_sources", | 22 "//content/public/common:common_sources", |
| 26 "//content/public/common:mojo_bindings", | 23 "//content/public/common:mojo_bindings", |
| 27 "//courgette:courgette_lib", | 24 "//courgette:courgette_lib", |
| 28 "//mojo/application/public/cpp:cpp_for_chromium", | 25 "//mojo/application/public/cpp:cpp_for_chromium", |
| 29 "//mojo/application/public/interfaces", | 26 "//mojo/application/public/interfaces", |
| 30 "//mojo/common", | 27 "//mojo/common", |
| 31 "//mojo/public/cpp/bindings", | 28 "//mojo/public/cpp/bindings", |
| 32 "//mojo/shell", | 29 "//mojo/shell", |
| 33 "//third_party/WebKit/public:blink_headers", | 30 "//third_party/WebKit/public:blink_headers", |
| 34 "//url", | 31 "//url", |
| 35 ] | 32 ] |
| 36 | 33 |
| 37 if (enable_mojo_media == "utility") { | 34 if (enable_mojo_media == "utility") { |
| 38 deps += [ "//media/mojo/services:application" ] | 35 deps += [ "//media/mojo/services:application" ] |
| 39 } | 36 } |
| 40 } | 37 } |
| OLD | NEW |