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.
5 import("//build/config/features.gni")
6 import("//content/common/common.gni")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 # See //content/BUILD.gn for how this works.
11 if (is_component_build) {
22 # This target allows other targets to depend on result_codes.h which is a
23 # header-only dependency, without bringing in all of content.
24 source_set("result_codes") {
30 source_set("common_sources") {
31 visibility = [ "//content/*" ]
33 sources = rebase_path(content_common_gypi_values.public_common_sources,
38 "//build/config:precompiled_headers",
39 "//content:content_implementation",
44 "//third_party/mojo/src/mojo/public/cpp/bindings",
49 "//third_party/WebKit/public:blink_headers",
55 if (!enable_plugins) {
57 "pepper_plugin_info.cc",
58 "pepper_plugin_info.h",
63 mojom("mojo_bindings") {
65 "background_sync.mojom",
66 "mojo_geoposition.mojom",
67 "permission_status.mojom",
68 "service_worker_event_status.mojom",