@@ -71,7 +71,6 @@ def _make_app_runner(
7171 test_data = None ,
7272 test_args = None ,
7373 use_adb_root = True ,
74- use_studio_deployer = True ,
7574 is_test = False ):
7675 path_type = "path" if ctx .attr ._mi_is_cmd else "short_path"
7776
@@ -88,7 +87,6 @@ def _make_app_runner(
8887
8988 args ["studio_deployer" ] = getattr (ctx .file ._studio_deployer , path_type )
9089 args ["use_adb_root" ] = str (use_adb_root ).lower ()
91- args ["use_studio_deployer" ] = str (use_studio_deployer ).lower ()
9290
9391 if test_data :
9492 args ["data_files" ] = "," .join ([f .short_path for f in test_data ])
@@ -106,13 +104,6 @@ def _make_app_runner(
106104 out_launcher ,
107105 getattr (deploy , path_type ),
108106 flags = getattr (out_launcher_flags , path_type ),
109- # Converts the python array of args into a bash array. Each arg is
110- # wrapped with quotes to handle "space" separted flag value entries
111- # and as result also escapes existing quotes.
112- test_args = ("(%s)" % " " .join ([
113- '"--test_arg=%s"' % arg .replace ('"' , '\\ "' )
114- for arg in test_args
115- ])) if test_args else "" ,
116107 test_flags = getattr (out_launcher_flags , path_type ) if test_args or is_test else "" ,
117108 )
118109
@@ -184,7 +175,6 @@ def make_direct_launcher(
184175 test_data = test_data ,
185176 test_args = test_args ,
186177 use_adb_root = use_adb_root ,
187- use_studio_deployer = flags .get (ctx ).use_studio_deployer ,
188178 is_test = is_test ,
189179 ))
190180
0 commit comments