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

Unified Diff: sample_config.json

Issue 2448273002: [inspector_protocol] initial commit (Closed)
Patch Set: addressed comments Created 4 years, 2 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 | « lib/Values_h.template ('k') | sample_expected_errors.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sample_config.json
diff --git a/sample_config.json b/sample_config.json
new file mode 100644
index 0000000000000000000000000000000000000000..82d7845da3cbcd18b1c27a8a646d52c60b51cdc8
--- /dev/null
+++ b/sample_config.json
@@ -0,0 +1,39 @@
+{
+ "protocol": {
+ "path": "./relative/path/protocol/sample_protocol.json",
+ "package": "include/generated/files/like/this",
+ "output": "place/generated/files/here",
+ "namespace": ["sample_project", "protocol"],
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
+ },
+
+ "exported": {
+ "package": "include/exported/files/like/this",
+ "output": "place/exported/files/here",
+ "string_header": "include/exported/string.h",
+ "string_in": "String",
+ "string_out": "String",
+ "to_string_out": "toString(%s)",
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
+ },
+
+ "imported": {
+ "path": "../relative/path/imported_protocol.json",
+ "package": "either/include/imported/files/from/here",
+ "header": "or/include/them/all/together/like/this/imported_protocol.h",
+ "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",
+ "string_header": "string/implementation.h",
+ "platform_header": "platform/implementation.h",
+ "export_macro": "LIB_EXPORT",
+ "export_header": "lib/lib_export.h"
+ }
+}
« no previous file with comments | « lib/Values_h.template ('k') | sample_expected_errors.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698