{% set enable_screen_capture = enable_screen_capture|default(0) %} {% if enable_screen_capture == "true" %} {% endif %} {% set enable_vr = enable_vr|default(0) %} {% if enable_vr == "true" %} {% endif %} {% block extra_uses_permissions %} {% endblock %} {% block extra_keyset_definitions %} {% endblock %} {% if channel in ['default'] %} {% if enable_vr == "true" %} {% endif %} {% endif %} {% if channel in ['canary', 'dev', 'default'] %} {% endif %} {% macro application_definitions() %} {% block common_view_intent_shared_filter_body %} {% if channel in ['stable', 'default'] %}{% endif %} {% endblock %} {{ self.common_view_intent_shared_filter_body() }} {% block mhtml_view_intent_shared_filter_body %} {% for i in range(10) %} {% endfor %} {% endblock %} {{ self.mhtml_view_intent_shared_filter_body() }} {% if channel in ['dev', 'canary', 'default'] %} {% block wbn_view_intent_shared_filter_body %} {% for i in range(10) %} {% endfor %} {% endblock %} {{ self.wbn_view_intent_shared_filter_body() }} {% endif %} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {% block supports_vr %} {% endblock %} {% block extra_web_rendering_activity_definitions %} {% endblock %} {% if channel in ['dev', 'canary', 'default'] %} {% endif %} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {% set enable_cardboard = enable_cardboard|default(0) %} {% if enable_cardboard == "true" %} {% endif %} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {{ self.supports_vr() }} {{ self.extra_web_rendering_activity_definitions() }} {% if channel in ['default'] %} {% endif %} {% set enable_openxr = enable_openxr|default(0) %} {% if enable_openxr == "true" %} {% endif %} {% block extra_application_definitions %} {% endblock %} {% endmacro %} {% if not definitions_in_split %} {{ application_definitions() }} {% endif %} {% set num_sandboxed_services = 40 %} {% for i in range(num_sandboxed_services) %} {% endfor %} {% if javaless_renderers is defined %} {% for i in range(2) %} {% endfor %} {% endif %} {% set num_privileged_services = 10 %} {% for i in range(num_privileged_services) %} {% set privileged_process_name = ':privileged_process%d' % i %} {% endfor %} {% if backup_key is defined %} {% endif %} {% if channel in ['dev', 'canary', 'default'] %} {% endif %} {% if enable_arcore == 'true' %} {% block base_application_extra_arcore_definitions %} {% endblock base_application_extra_arcore_definitions %} {% endif %} {% if enable_vr == "true" %} {% endif %} {% block base_application_definitions %} {% endblock %} {% block extra_application_definitions_for_test %} {% endblock %} {% block extra_root_definitions %} {% endblock %}