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

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

Issue 2633533002: Android: Instrumentation tests in gradle (Closed)
Patch Set: Fix per review. Created 3 years, 11 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 | « build/android/gradle/generate_gradle.py ('k') | build/android/gyp/write_build_config.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 // Generated by //build/android/generate_gradle.py 4 // Generated by //build/android/generate_gradle.py
5 5
6 apply plugin: "java" 6 apply plugin: "java"
7 {% if template_type == 'java_binary' %} 7 {% if template_type == 'java_binary' %}
8 apply plugin: "application" 8 apply plugin: "application"
9 {% endif %} 9 {% endif %}
10 10
11 sourceSets { 11 sourceSets {
12 main { 12 main {
13 java.srcDirs = [ 13 java.srcDirs = [
14 {% for path in java_dirs %} 14 {% for path in main.java_dirs %}
15 "{{ path }}", 15 "{{ path }}",
16 {% endfor %} 16 {% endfor %}
17 ] 17 ]
18 } 18 }
19 } 19 }
20 20
21 sourceCompatibility = JavaVersion.VERSION_1_7 21 sourceCompatibility = JavaVersion.VERSION_1_7
22 targetCompatibility = JavaVersion.VERSION_1_7 22 targetCompatibility = JavaVersion.VERSION_1_7
23 23
24 {% if template_type == 'java_binary' %} 24 {% if template_type == 'java_binary' %}
25 mainClassName = "{{ main_class }}" 25 mainClassName = "{{ main_class }}"
26 applicationName = "{{ target_name }}" 26 applicationName = "{{ target_name }}"
27 {% endif %} 27 {% endif %}
28 {% if template_type in ('java_binary', 'java_library') %} 28 {% if template_type in ('java_binary', 'java_library') %}
29 archivesBaseName = "{{ target_name }}" 29 archivesBaseName = "{{ target_name }}"
30 {% endif %} 30 {% endif %}
31 31
32 {% include 'dependencies.jinja' %} 32 {% include 'dependencies.jinja' %}
OLDNEW
« no previous file with comments | « build/android/gradle/generate_gradle.py ('k') | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698