Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 79 ] | 79 ] |
| 80 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar" | 80 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar" |
| 81 } | 81 } |
| 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 = [ |
|
dgn
2015/06/11 16:23:30
gyp check: https://codereview.appspot.com/24313004
| |
| 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", | |
| 109 ] | |
| 110 outputs = [ | |
| 111 "$target_gen_dir/checked_sdk_extras_version.stamp", | |
| 112 ] | |
| 113 } | |
| OLD | NEW |