Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / api / schemas.gni
blob6ae826becf37906637c301d2f7c29a2f6b2f56d8
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("//build/config/ui.gni")
8 assert(enable_extensions)
10 gypi_values = exec_script("//build/gypi_to_gn.py",
11                           [ rebase_path("schemas.gypi") ],
12                           "scope",
13                           [ "schemas.gypi" ])
15 # Common sources that are both bundled and compiled.
16 sources = gypi_values.main_schema_files
17 if (is_chromeos) {
18   sources += gypi_values.chromeos_schema_files
20 if (enable_webrtc) {
21   sources += gypi_values.webrtc_schema_files
24 uncompiled_sources = gypi_values.main_non_compiled_schema_files
26 root_namespace = "extensions::api::%(namespace)s"
27 schema_include_rules = "extensions/common/api:extensions::api::%(namespace)s"
28 schema_dependencies = [ "//extensions/common/api" ]