OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <!-- | 6 <!-- |
7 Note: This is a jinja2 template, processed at build time into the final manifest . | 7 Note: This is a jinja2 template, processed at build time into the final manifest . |
8 | 8 |
9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden | 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden |
10 by a child template that "extends" this file. | 10 by a child template that "extends" this file. |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
617 <!-- NOTE: If you change the value of "android:process" for the below se rvices, | 617 <!-- NOTE: If you change the value of "android:process" for the below se rvices, |
618 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. --> | 618 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. --> |
619 {% set num_sandboxed_services = 20 %} | 619 {% set num_sandboxed_services = 20 %} |
620 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" | 620 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" |
621 android:value="{{ num_sandboxed_services }}"/> | 621 android:value="{{ num_sandboxed_services }}"/> |
622 {% for i in range(num_sandboxed_services) %} | 622 {% for i in range(num_sandboxed_services) %} |
623 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" | 623 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" |
624 android:process=":sandboxed_process{{ i }}" | 624 android:process=":sandboxed_process{{ i }}" |
625 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" | 625 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" |
626 android:isolatedProcess="true" | 626 android:isolatedProcess="true" |
627 android:exported="false" /> | 627 android:exported="{{sandboxed_service_exported|default(false)}}" |
628 tools:ignore="ExportedService" | |
mnaganov (inactive)
2016/01/26 18:25:50
I guess this is only needed when the service is ex
Robert Sesek
2016/01/26 18:30:39
It would be bad if android:exported="true" and and
boliu
2016/01/26 18:58:03
Couldn't figure out how to do jinja var with space
| |
629 {{sandboxed_service_extra_flags|default('')}} /> | |
628 {% endfor %} | 630 {% endfor %} |
629 | 631 |
630 {% set num_privileged_services = 3 %} | 632 {% set num_privileged_services = 3 %} |
631 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" | 633 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" |
632 android:value="{{ num_privileged_services }}"/> | 634 android:value="{{ num_privileged_services }}"/> |
633 {% for i in range(num_privileged_services) %} | 635 {% for i in range(num_privileged_services) %} |
634 {% set privileged_process_name = ':privileged_process%d' % i %} | 636 {% set privileged_process_name = ':privileged_process%d' % i %} |
635 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. --> | 637 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. --> |
636 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex" | 638 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex" |
637 android:value="true" /> | 639 android:value="true" /> |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
706 choose the first MediaRouteController that can play it, so the orde r of the list can be important. | 708 choose the first MediaRouteController that can play it, so the orde r of the list can be important. |
707 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. | 709 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. |
708 The downstream manifest replaces this block, and hence replaces the list of media route | 710 The downstream manifest replaces this block, and hence replaces the list of media route |
709 controllers with its own list. --> | 711 controllers with its own list. --> |
710 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" | 712 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" |
711 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> | 713 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> |
712 | 714 |
713 {% endblock %} | 715 {% endblock %} |
714 </application> | 716 </application> |
715 </manifest> | 717 </manifest> |
OLD | NEW |