Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Side by Side Diff: build/android/gradle/android.jinja

Issue 2837863002: Android: Remove apk modules for Android Studio (Closed)
Patch Set: Update docs. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/android/gradle/generate_gradle.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# Copyright 2016 The Chromium Authors. All rights reserved. #} 1 {# Copyright 2016 The Chromium Authors. All rights reserved. #}
2 {# Use of this source code is governed by a BSD-style license that can be #} 2 {# Use of this source code is governed by a BSD-style license that can be #}
3 {# found in the LICENSE file. #} 3 {# found in the LICENSE file. #}
4 {% macro expand_sourceset(variables, prefix) %} 4 {% macro expand_sourceset(variables, prefix) %}
5 {% if variables is defined %} 5 {% if variables is defined %}
6 {{ prefix }} { 6 {{ prefix }} {
7 {% if variables.android_manifest is defined %}
7 manifest.srcFile "{{ variables.android_manifest }}" 8 manifest.srcFile "{{ variables.android_manifest }}"
9 {% endif %}
8 {% if variables.java_dirs is defined %} 10 {% if variables.java_dirs is defined %}
9 java.srcDirs = [ 11 java.srcDirs = [
10 {% for path in variables.java_dirs %} 12 {% for path in variables.java_dirs %}
11 "{{ path }}", 13 "{{ path }}",
12 {% endfor %} 14 {% endfor %}
13 ] 15 ]
14 {% endif %} 16 {% endif %}
15 {% if variables.java_excludes is defined %} 17 {% if variables.java_excludes is defined %}
16 java.filter.exclude( 18 java.filter.exclude(
17 {% for path in variables.java_excludes %} 19 {% for path in variables.java_excludes %}
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 101 }
100 tasksToDisable.each { Task task -> 102 tasksToDisable.each { Task task ->
101 task.enabled = false 103 task.enabled = false
102 } 104 }
103 {% if bootclasspath is defined %} 105 {% if bootclasspath is defined %}
104 tasks.withType(JavaCompile) { 106 tasks.withType(JavaCompile) {
105 options.bootClasspath = "{{ bootclasspath }}" 107 options.bootClasspath = "{{ bootclasspath }}"
106 } 108 }
107 {% endif %} 109 {% endif %}
108 } 110 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gradle/generate_gradle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698