Add missing import to InferenceCalculator.proto
PiperOrigin-RevId: 493649869
This commit is contained in:
committed by
Copybara-Service
parent
d9688b769f
commit
d84eec387b
@@ -17,6 +17,7 @@ syntax = "proto2";
|
||||
package mediapipe;
|
||||
|
||||
import "mediapipe/framework/calculator.proto";
|
||||
import "mediapipe/framework/calculator_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.calculator.proto";
|
||||
option java_outer_classname = "InferenceCalculatorProto";
|
||||
|
||||
@@ -44,7 +44,6 @@ rollup_bundle(
|
||||
":audio_lib",
|
||||
"@npm//@rollup/plugin-commonjs",
|
||||
"@npm//@rollup/plugin-node-resolve",
|
||||
"@npm//@rollup/plugin-replace",
|
||||
"@npm//@rollup/plugin-terser",
|
||||
"@npm//google-protobuf",
|
||||
],
|
||||
@@ -88,7 +87,6 @@ rollup_bundle(
|
||||
":text_lib",
|
||||
"@npm//@rollup/plugin-commonjs",
|
||||
"@npm//@rollup/plugin-node-resolve",
|
||||
"@npm//@rollup/plugin-replace",
|
||||
"@npm//@rollup/plugin-terser",
|
||||
"@npm//google-protobuf",
|
||||
],
|
||||
@@ -132,7 +130,6 @@ rollup_bundle(
|
||||
":vision_lib",
|
||||
"@npm//@rollup/plugin-commonjs",
|
||||
"@npm//@rollup/plugin-node-resolve",
|
||||
"@npm//@rollup/plugin-replace",
|
||||
"@npm//@rollup/plugin-terser",
|
||||
"@npm//google-protobuf",
|
||||
],
|
||||
|
||||
@@ -1,15 +1,9 @@
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import terser from '@rollup/plugin-terser';
|
||||
|
||||
export default {
|
||||
plugins: [
|
||||
// Workaround for https://github.com/protocolbuffers/protobuf-javascript/issues/151
|
||||
replace({
|
||||
'var calculator_options_pb = {};': 'var calculator_options_pb = {}; var mediapipe_framework_calculator_options_pb = calculator_options_pb;',
|
||||
delimiters: ['', '']
|
||||
}),
|
||||
resolve(),
|
||||
commonjs(),
|
||||
terser()
|
||||
|
||||
Reference in New Issue
Block a user