Home
last modified time | relevance | path

Searched refs:import_style (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
DREADME.md102 $ protoc --js_out=import_style=commonjs,binary:. messages.proto base.proto
136 The `import_style` option is left to the default, which is `closure`.
137 - `--js_out=import_style=commonjs,binary:protos`: this contains the options
138 `import_style=commonjs` and `binary` and outputs to the directory `protos`.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.h76 } import_style; member
86 import_style(IMPORT_CLOSURE) {} in GeneratorOptions()
Djs_generator.cc276 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS && in MaybeCrossFileRef()
1551 GOOGLE_CHECK_EQ(options.import_style, GeneratorOptions::IMPORT_CLOSURE); in GenerateRequiresForLibrary()
1765 if (options.import_style != GeneratorOptions:: IMPORT_CLOSURE) { in GenerateClass()
3008 import_style = IMPORT_CLOSURE; in ParseFromOptions()
3010 import_style = IMPORT_COMMONJS; in ParseFromOptions()
3012 import_style = IMPORT_BROWSER; in ParseFromOptions()
3014 import_style = IMPORT_ES6; in ParseFromOptions()
3030 if (!library.empty() && import_style != IMPORT_CLOSURE) { in ParseFromOptions()
3084 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()
3129 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()
[all …]