• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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("//build/config/ui.gni")
7
8gypi_values = exec_script(
9    "//build/gypi_to_gn.py",
10    [ rebase_path("schemas.gypi") ],
11    "scope",
12    [ "schemas.gypi" ])
13
14# Common sources that are both bundled and compiled.
15sources = gypi_values.main_schema_files
16if (is_chromeos) {
17  sources += gypi_values.chromeos_schema_files
18}
19if (enable_webrtc) {
20  sources += gypi_values.webrtc_schema_files
21}
22if (!use_athena) {
23  sources += gypi_values.non_athena_schema_files
24}
25
26
27uncompiled_sources = gypi_values.main_non_compiled_schema_files
28
29root_namespace = "extensions::api::%(namespace)s"
30schema_include_rules =
31    "extensions/common/api:extensions::core_api::%(namespace)s"
32schema_dependencies = [ "//extensions/common/api" ]
33