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

Side by Side Diff: build/secondary/third_party/android_tools/BUILD.gn

Issue 1299003003: [GN] Don't hardcode google_play_services dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/config/android/config.gni ('k') | chrome/android/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 4
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 config("cpu_features_include") { 7 config("cpu_features_include") {
8 include_dirs = [ "ndk/sources/android/cpufeatures" ] 8 include_dirs = [ "ndk/sources/android/cpufeatures" ]
9 } 9 }
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ":android_support_v7_appcompat_java", 98 ":android_support_v7_appcompat_java",
99 ":android_support_v7_recyclerview_resources", 99 ":android_support_v7_recyclerview_resources",
100 ] 100 ]
101 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar" 101 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar"
102 } 102 }
103 103
104 android_resources("google_play_services_default_resources") { 104 android_resources("google_play_services_default_resources") {
105 v14_skip = true 105 v14_skip = true
106 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ] 106 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ]
107 custom_package = "com.google.android.gms" 107 custom_package = "com.google.android.gms"
108 deps = [
109 ":check_sdk_extras_version",
110 ]
108 } 111 }
109 android_java_prebuilt("google_play_services_default_java") { 112 android_java_prebuilt("google_play_services_default_java") {
110 deps = [ 113 deps = [
111 ":android_support_v13_java", 114 ":android_support_v13_java",
112 ":android_support_v7_mediarouter_java", 115 ":android_support_v7_mediarouter_java",
113 ":google_play_services_default_resources", 116 ":google_play_services_default_resources",
114 ] 117 ]
115 proguard_preprocess = true 118 proguard_preprocess = true
116 proguard_config = "//third_party/android_tools/proguard.flags" 119 proguard_config = "//third_party/android_tools/proguard.flags"
117 120
(...skipping 14 matching lines...) Expand all
132 rebase_path("$target_gen_dir/checked_sdk_extras_version.stamp"), 135 rebase_path("$target_gen_dir/checked_sdk_extras_version.stamp"),
133 ] 136 ]
134 inputs = [ 137 inputs = [
135 "//build/android_sdk_extras.json", 138 "//build/android_sdk_extras.json",
136 "$android_sdk_root/extras/google/google_play_services/source.properties", 139 "$android_sdk_root/extras/google/google_play_services/source.properties",
137 ] 140 ]
138 outputs = [ 141 outputs = [
139 "$target_gen_dir/checked_sdk_extras_version.stamp", 142 "$target_gen_dir/checked_sdk_extras_version.stamp",
140 ] 143 ]
141 } 144 }
OLDNEW
« no previous file with comments | « build/config/android/config.gni ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698