| OLD | NEW |
| 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 {% if template_type == 'root' %} | 5 {% if template_type == 'root' %} |
| 6 | 6 |
| 7 buildscript { | 7 buildscript { |
| 8 repositories { | 8 repositories { |
| 9 jcenter() | 9 jcenter() |
| 10 } | 10 } |
| 11 dependencies { | 11 dependencies { |
| 12 classpath "com.android.tools.build:gradle:2.1.2" | 12 classpath "com.android.tools.build:gradle:2.2.0" |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 | 15 |
| 16 {% elif template_type == 'java_library' %} | 16 {% elif template_type == 'java_library' %} |
| 17 | 17 |
| 18 apply plugin: "java" | 18 apply plugin: "java" |
| 19 | 19 |
| 20 sourceSets { | 20 sourceSets { |
| 21 main { | 21 main { |
| 22 java.srcDirs = {{ java_dirs }} | 22 java.srcDirs = {{ java_dirs }} |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 || it.name.endsWith('Aidl') | 89 || it.name.endsWith('Aidl') |
| 90 || it.name.endsWith('Renderscript') | 90 || it.name.endsWith('Renderscript') |
| 91 || it.name.endsWith('Shaders')) | 91 || it.name.endsWith('Shaders')) |
| 92 } | 92 } |
| 93 tasksToDisable.each { Task task -> | 93 tasksToDisable.each { Task task -> |
| 94 task.enabled = false | 94 task.enabled = false |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 | 97 |
| 98 {% endif %} | 98 {% endif %} |
| OLD | NEW |