summaryrefslogtreecommitdiffstats
path: root/extensions/common/api/schemas.gni
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/api/schemas.gni')
-rw-r--r--extensions/common/api/schemas.gni17
1 files changed, 17 insertions, 0 deletions
diff --git a/extensions/common/api/schemas.gni b/extensions/common/api/schemas.gni
new file mode 100644
index 0000000..2227b71
--- /dev/null
+++ b/extensions/common/api/schemas.gni
@@ -0,0 +1,17 @@
+# 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.
+
+gypi_values = exec_script(
+ "//build/gypi_to_gn.py",
+ [ rebase_path("schemas.gypi") ],
+ "scope",
+ [ "schemas.gypi" ])
+
+if (is_android) {
+ sources = gypi_values.android_schema_files
+} else {
+ sources = gypi_values.main_schema_files
+}
+
+root_namespace = "extensions::core_api::%(namespace)s"