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,
37 configs += [ "//content:content_implementation" ]
41 "//third_party/mojo/src/mojo/public/cpp/bindings",
46 "//third_party/WebKit/public:blink_headers",
52 if (!enable_plugins) {
54 "pepper_plugin_info.cc",
55 "pepper_plugin_info.h",
60 mojom("mojo_bindings") {
62 "background_sync.mojom",
63 "mojo_geoposition.mojom",
64 "permission_status.mojom",
65 "service_worker_event_status.mojom",