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

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

Issue 2682183002: Android: Replace symlinks with gradle filters (Closed)
Patch Set: Fix per review Created 3 years, 10 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 manifest.srcFile "{{ variables.android_manifest }}" 7 manifest.srcFile "{{ variables.android_manifest }}"
8 java.srcDirs = [ 8 java.srcDirs = [
9 {% for path in variables.java_dirs %} 9 {% for path in variables.java_dirs %}
10 "{{ path }}", 10 "{{ path }}",
11 {% endfor %} 11 {% endfor %}
12 ] 12 ]
13 java.filter.exclude(
14 {% for path in variables.java_excludes %}
15 "{{ path }}",
16 {% endfor %}
17 )
13 jniLibs.srcDirs = [ 18 jniLibs.srcDirs = [
14 {% for path in variables.jni_libs %} 19 {% for path in variables.jni_libs %}
15 "{{ path }}", 20 "{{ path }}",
16 {% endfor %} 21 {% endfor %}
17 ] 22 ]
18 } 23 }
19 {% endif %} 24 {% endif %}
20 {% endmacro %} 25 {% endmacro %}
21 // Generated by //build/android/generate_gradle.py 26 // Generated by //build/android/generate_gradle.py
22 27
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 || it.name.endsWith('ResValues') 79 || it.name.endsWith('ResValues')
75 {% endif %} 80 {% endif %}
76 || it.name.endsWith('Aidl') 81 || it.name.endsWith('Aidl')
77 || it.name.endsWith('Renderscript') 82 || it.name.endsWith('Renderscript')
78 || it.name.endsWith('Shaders')) 83 || it.name.endsWith('Shaders'))
79 } 84 }
80 tasksToDisable.each { Task task -> 85 tasksToDisable.each { Task task ->
81 task.enabled = false 86 task.enabled = false
82 } 87 }
83 } 88 }
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