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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/sample_config.json

Issue 2251343003: [DevTools] Generate separate copies of inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile Created 4 years, 4 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
Index: third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json b/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
index 5ad6722cb27d5ca95f02fb06993d0f6808c03abc..f21398d199b53a337496150a2cb118aa43ffecd4 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
+++ b/third_party/WebKit/Source/platform/inspector_protocol/sample_config.json
@@ -1,34 +1,37 @@
{
"protocol": {
- "path": "protocol/sample_protocol.json",
+ "path": "./relative/path/protocol/sample_protocol.json",
"package": "include/generated/files/like/this",
- "output": "place/generated/files/here"
- },
-
- "imported": {
- "path": "../relative/path/imported_protocol.json",
- "package": "include/imported/files/like/this"
+ "output": "place/generated/files/here",
+ "namespace": ["sample_project", "protocol"]
},
"exported": {
"package": "include/exported/files/like/this",
- "output": "place/exported/files/here"
+ "output": "place/exported/files/here",
+ "string_header": "include/exported/string.h",
+ "string_in": "String",
+ "string_out": "String",
+ "to_string_out": "toString(%s)"
},
- "string": {
- "class_name": "String16"
+ "imported": {
+ "path": "../relative/path/imported_protocol.json",
+ "package": "include/imported/files/like/this",
+ "to_imported_string": "toImportedString(%s)",
+ "from_imported_string": "fromImportedString(%s)",
+ "namespace": ["imported_project", "protocol"]
},
"lib": {
+ "package": "include/lib/files/like/this",
"output": "place/generated/lib/files/here",
- "string16_header": "sting16/implementation.h",
+ "string_header": "string/implementation.h",
"platform_header": "platform/implementation.h"
},
- "lib_package": "include/lib/files/like/this",
-
"class_export": {
"macro": "LIB_EXPORT",
- "header": "lib/export.h"
+ "header": "lib/lib_export.h"
}
}

Powered by Google App Engine
This is Rietveld 408576698