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 3# found in the LICENSE file. 4 5import("//build/config/features.gni") 6import("//content/common/common.gni") 7 8# See //content/BUILD.gn for how this works. 9group("common") { 10 if (is_component_build) { 11 public_deps = [ "//content" ] 12 } else { 13 public_deps = [ ":common_sources" ] 14 } 15} 16 17source_set("common_sources") { 18 visibility = [ "//content/*" ] 19 20 sources = rebase_path(content_common_gypi_values.public_common_sources, 21 ".", "//content") 22 23 configs += [ 24 "//content:content_implementation", 25 ] 26 27 public_deps = [ 28 "//content/common", 29 ] 30 deps = [ 31 "//net", 32 "//skia", 33 "//third_party/WebKit/public:blink_headers", 34 "//third_party/icu", 35 "//ui/base", 36 "//ui/gfx", 37 ] 38 39 if (!enable_plugins) { 40 sources -= [ 41 "pepper_plugin_info.cc", 42 "pepper_plugin_info.h", 43 ] 44 } 45} 46