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 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 assert(enable_extensions) | 8 assert(enable_extensions) |
9 | 9 |
10 gypi_values = exec_script("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
(...skipping 10 matching lines...) Expand all Loading... |
21 sources += gypi_values.chromeos_schema_files | 21 sources += gypi_values.chromeos_schema_files |
22 } else if (is_linux || is_win) { | 22 } else if (is_linux || is_win) { |
23 sources += gypi_values.input_ime_schema_file | 23 sources += gypi_values.input_ime_schema_file |
24 } | 24 } |
25 if (enable_service_discovery) { | 25 if (enable_service_discovery) { |
26 sources += gypi_values.service_discovery_schema_files | 26 sources += gypi_values.service_discovery_schema_files |
27 } | 27 } |
28 if (enable_webrtc) { | 28 if (enable_webrtc) { |
29 sources += gypi_values.webrtc_schema_files | 29 sources += gypi_values.webrtc_schema_files |
30 } | 30 } |
| 31 if (enable_app_list) { |
| 32 sources += gypi_values.app_list_schema_files |
| 33 } |
31 | 34 |
32 uncompiled_sources = gypi_values.main_non_compiled_schema_files | 35 uncompiled_sources = gypi_values.main_non_compiled_schema_files |
33 | 36 |
34 root_namespace = "extensions::api::%(namespace)s" | 37 root_namespace = "extensions::api::%(namespace)s" |
35 schema_include_rules = "extensions/common/api:extensions::api::%(namespace)s" | 38 schema_include_rules = "extensions/common/api:extensions::api::%(namespace)s" |
36 schema_dependencies = [ "//extensions/common/api" ] | 39 schema_dependencies = [ "//extensions/common/api" ] |
OLD | NEW |