| 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build_overrides/v8.gni") |
| 6 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
| 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 8 | 9 |
| 9 # See //content/BUILD.gn for how this works. | 10 # See //content/BUILD.gn for how this works. |
| 10 group("common") { | 11 group("common") { |
| 11 if (is_component_build) { | 12 if (is_component_build) { |
| 12 public_deps = [ | 13 public_deps = [ |
| 13 "//content", | 14 "//content", |
| 14 ] | 15 ] |
| 15 } else { | 16 } else { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 56 |
| 56 sources = rebase_path(content_common_gypi_values.public_common_sources, | 57 sources = rebase_path(content_common_gypi_values.public_common_sources, |
| 57 ".", | 58 ".", |
| 58 "//content") | 59 "//content") |
| 59 | 60 |
| 60 configs += [ | 61 configs += [ |
| 61 "//build/config:precompiled_headers", | 62 "//build/config:precompiled_headers", |
| 62 "//content:content_implementation", | 63 "//content:content_implementation", |
| 63 ] | 64 ] |
| 64 | 65 |
| 66 if (v8_use_external_startup_data) { |
| 67 public_configs = [ "//v8:external_startup_data" ] |
| 68 } |
| 69 |
| 65 public_deps = [ | 70 public_deps = [ |
| 66 "//content/common", | 71 "//content/common", |
| 67 "//third_party/mojo/src/mojo/public/cpp/bindings", | 72 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 68 ] | 73 ] |
| 69 deps = [ | 74 deps = [ |
| 70 "//net", | 75 "//net", |
| 71 "//skia", | 76 "//skia", |
| 72 "//third_party/WebKit/public:blink_headers", | 77 "//third_party/WebKit/public:blink_headers", |
| 73 "//third_party/icu", | 78 "//third_party/icu", |
| 74 "//ui/base", | 79 "//ui/base", |
| 75 "//ui/gfx", | 80 "//ui/gfx", |
| 76 ] | 81 ] |
| 77 | 82 |
| 78 if (!enable_plugins) { | 83 if (!enable_plugins) { |
| 79 sources -= [ | 84 sources -= [ |
| 80 "pepper_plugin_info.cc", | 85 "pepper_plugin_info.cc", |
| 81 "pepper_plugin_info.h", | 86 "pepper_plugin_info.h", |
| 82 ] | 87 ] |
| 83 } | 88 } |
| 84 } | 89 } |
| 85 | 90 |
| 86 mojom("mojo_bindings") { | 91 mojom("mojo_bindings") { |
| 87 sources = [ | 92 sources = [ |
| 88 "background_sync.mojom", | 93 "background_sync.mojom", |
| 89 "mojo_geoposition.mojom", | 94 "mojo_geoposition.mojom", |
| 90 "permission_status.mojom", | 95 "permission_status.mojom", |
| 91 "service_worker_event_status.mojom", | 96 "service_worker_event_status.mojom", |
| 92 ] | 97 ] |
| 93 } | 98 } |
| OLD | NEW |