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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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
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
11 # This is the GN version of 11 # This is the GN version of
12 # //build/android/ndk.gyp:cpu_features 12 # //build/android/ndk.gyp:cpu_features
13 source_set("cpu_features") { 13 source_set("cpu_features") {
14 sources = [ 14 sources = [
15 "ndk/sources/android/cpufeatures/cpu-features.c", 15 "ndk/sources/android/cpufeatures/cpu-features.c",
16 ] 16 ]
17 public_configs = [ ":cpu_features_include" ] 17 public_configs = [ ":cpu_features_include" ]
18 18
19 configs -= [ "//build/config/compiler:chromium_code" ] 19 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ] 20 configs += [ "//build/config/compiler:no_chromium_code" ]
21 } 21 }
22 22
23 android_java_prebuilt("android_gcm_java") { 23 # TODO(vtl): This doesn't seem to exist. Can we just get rid of it?
24 jar_path = "$android_sdk_root/extras/google/gcm/gcm-client/dist/gcm.jar" 24 #android_java_prebuilt("android_gcm_java") {
25 } 25 # jar_path = "$android_sdk_root/extras/google/gcm/gcm-client/dist/gcm.jar"
26 #}
26 27
27 android_java_prebuilt("uiautomator_java") { 28 android_java_prebuilt("uiautomator_java") {
28 jar_path = "$android_sdk/uiautomator.jar" 29 jar_path = "$android_sdk/uiautomator.jar"
29 } 30 }
30 31
31 android_java_prebuilt("android_support_v13_java") { 32 android_java_prebuilt("android_support_v13_java") {
32 jar_path = 33 jar_path =
33 "$android_sdk_root/extras/android/support/v13/android-support-v13.jar" 34 "$android_sdk_root/extras/android/support/v13/android-support-v13.jar"
34 } 35 }
35 36
(...skipping 22 matching lines...) Expand all
58 } 59 }
59 60
60 android_java_prebuilt("android_support_v7_mediarouter_java") { 61 android_java_prebuilt("android_support_v7_mediarouter_java") {
61 deps = [ 62 deps = [
62 ":android_support_v7_mediarouter_resources", 63 ":android_support_v7_mediarouter_resources",
63 ":android_support_v7_appcompat_java", 64 ":android_support_v7_appcompat_java",
64 ] 65 ]
65 jar_path = "$android_sdk_root/extras/android/support/v7/mediarouter/libs/andro id-support-v7-mediarouter.jar" 66 jar_path = "$android_sdk_root/extras/android/support/v7/mediarouter/libs/andro id-support-v7-mediarouter.jar"
66 } 67 }
67 68
69 android_resources("android_support_v7_recyclerview_resources") {
70 v14_skip = true
71 resource_dirs =
72 [ "$android_sdk_root/extras/android/support/v7/recyclerview/res" ]
73 custom_package = "android.support.v7.recyclerview"
74 }
75
68 android_java_prebuilt("android_support_v7_recyclerview_java") { 76 android_java_prebuilt("android_support_v7_recyclerview_java") {
69 deps = [ 77 deps = [
70 ":android_support_v7_appcompat_java", 78 ":android_support_v7_appcompat_java",
79 ":android_support_v7_recyclerview_resources",
71 ] 80 ]
72 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar" 81 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar"
73 } 82 }
74 83
75 android_resources("google_play_services_default_resources") { 84 android_resources("google_play_services_default_resources") {
76 v14_skip = true 85 v14_skip = true
77 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ] 86 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ]
78 custom_package = "com.google.android.gms" 87 custom_package = "com.google.android.gms"
79 } 88 }
80 android_java_prebuilt("google_play_services_default_java") { 89 android_java_prebuilt("google_play_services_default_java") {
81 deps = [ 90 deps = [
82 ":android_support_v13_java", 91 ":android_support_v13_java",
83 ":google_play_services_default_resources", 92 ":google_play_services_default_resources",
84 ] 93 ]
85 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"
86 } 95 }
OLDNEW
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | build/secondary/third_party/leveldatabase/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698