Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: chrome/common/extensions/api/schemas.gni

Issue 2316293002: Inline extensions API gyp into GN build. (Closed)
Patch Set: input private Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/BUILD.gn ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/schemas.gni
diff --git a/chrome/common/extensions/api/schemas.gni b/chrome/common/extensions/api/schemas.gni
deleted file mode 100644
index f0e60a97ff81f0d428e0316b9fc5de0ac5d8619a..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/schemas.gni
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import("//build/config/features.gni")
-import("//build/config/ui.gni")
-
-assert(enable_extensions)
-
-gypi_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("schemas.gypi") ],
- "scope",
- [ "schemas.gypi" ])
-
-# Common sources that are both bundled and compiled.
-schema_sources = gypi_values.main_schema_files
-if (enable_task_manager) {
- schema_sources += gypi_values.task_manager_dependent_schema_files
-}
-if (is_chromeos) {
- schema_sources += gypi_values.chromeos_schema_files
-} else if (is_linux || is_win) {
- schema_sources += gypi_values.input_ime_schema_file
-}
-if (enable_service_discovery) {
- schema_sources += gypi_values.service_discovery_schema_files
-}
-if (enable_webrtc) {
- schema_sources += gypi_values.webrtc_schema_files
-}
-if (enable_app_list) {
- schema_sources += gypi_values.app_list_schema_files
-}
-
-uncompiled_sources = gypi_values.main_non_compiled_schema_files
-if (is_chromeos) {
- uncompiled_sources += gypi_values.chromeos_non_compiled_schema_files
-}
-
-uncompiled_bundle_schema_sources = gypi_values.non_compiled_bundle_schema_files
-if (!is_chromeos) {
- uncompiled_bundle_schema_sources +=
- gypi_values.non_chromeos_non_compiled_bundle_schema_files
-}
-
-root_namespace = "extensions::api::%(namespace)s"
-schema_include_rules = "extensions/common/api:extensions::api::%(namespace)s"
-schema_dependencies = [ "//extensions/common/api" ]
« no previous file with comments | « chrome/common/extensions/api/BUILD.gn ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698