Index: tools/json_schema_compiler/cpp_namespace_environment.py |
diff --git a/components/enhanced_bookmarks/proto/BUILD.gn b/tools/json_schema_compiler/cpp_namespace_environment.py |
similarity index 56% |
copy from components/enhanced_bookmarks/proto/BUILD.gn |
copy to tools/json_schema_compiler/cpp_namespace_environment.py |
index ddea52b709202ca815497173e84b2760e72bfbad..20e77bb6893c99f338342267f2a3ae465bb541ec 100644 |
--- a/components/enhanced_bookmarks/proto/BUILD.gn |
+++ b/tools/json_schema_compiler/cpp_namespace_environment.py |
@@ -2,10 +2,6 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//third_party/protobuf/proto_library.gni") |
- |
-proto_library("proto") { |
- sources = [ |
- "metadata.proto", |
- ] |
-} |
+class CppNamespaceEnvironment(object): |
+ def __init__(self, namespace_pattern): |
+ self.namespace_pattern = namespace_pattern |