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

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

Issue 1152203003: Add script to validate installed Android SDK packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make the minimum version requirement more explicit Created 5 years, 6 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/install-android-sdks.sh ('k') | no next file » | 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 android_resources("google_play_services_default_resources") { 83 android_resources("google_play_services_default_resources") {
84 v14_skip = true 84 v14_skip = true
85 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ] 85 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ]
86 custom_package = "com.google.android.gms" 86 custom_package = "com.google.android.gms"
87 } 87 }
88 android_java_prebuilt("google_play_services_default_java") { 88 android_java_prebuilt("google_play_services_default_java") {
89 deps = [ 89 deps = [
90 ":android_support_v13_java", 90 ":android_support_v13_java",
91 ":google_play_services_default_resources", 91 ":google_play_services_default_resources",
92 ":check_sdk_extras_version",
92 ] 93 ]
93 jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/go ogle-play-services_lib/libs/google-play-services.jar" 94 jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/go ogle-play-services_lib/libs/google-play-services.jar"
94 } 95 }
96 action("check_sdk_extras_version") {
97 script = "//build/check_sdk_extras_version.py"
98 args = [
99 "--package-id",
100 "extra-google-google_play_services",
101 "--package-location",
102 rebase_path("$android_sdk_root/extras/google/google_play_services"),
103 "--stamp",
104 rebase_path("$target_gen_dir/checked_sdk_extras_version.stamp"),
105 ]
106 inputs = [
107 "//build/android_sdk_extras.json",
108 "$android_sdk_root/extras/google/google_play_services/libproject/google-play -services_lib/libs/google-play-services.jar",
aberent 2015/06/18 15:36:03 Strictly, I think, this should depend upon the who
dgn 2015/06/18 17:20:17 Good point, thanks. That being said, I'm having t
109 ]
110 outputs = [
111 "$target_gen_dir/checked_sdk_extras_version.stamp",
112 ]
113 }
OLDNEW
« no previous file with comments | « build/install-android-sdks.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698