OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
9 [ rebase_path("schemas.gypi") ], | 9 [ rebase_path("schemas.gypi") ], |
10 "scope", | 10 "scope", |
(...skipping 11 matching lines...) Expand all Loading... |
22 if (enable_webrtc) { | 22 if (enable_webrtc) { |
23 sources += gypi_values.webrtc_schema_files | 23 sources += gypi_values.webrtc_schema_files |
24 } | 24 } |
25 } | 25 } |
26 | 26 |
27 if (!is_android) { | 27 if (!is_android) { |
28 uncompiled_sources = gypi_values.main_non_compiled_schema_files | 28 uncompiled_sources = gypi_values.main_non_compiled_schema_files |
29 } | 29 } |
30 | 30 |
31 root_namespace = "extensions::api::%(namespace)s" | 31 root_namespace = "extensions::api::%(namespace)s" |
| 32 schema_include_rules = |
| 33 "extensions/common/api:extensions::core_api::%(namespace)s" |
| 34 schema_dependencies = [ "//extensions/common/api" ] |
OLD | NEW |