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

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

Issue 2392643003: Removes files from //build that we don't need (Closed)
Patch Set: Created 4 years, 2 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/sanitize-win-build-log.sh ('k') | build/set_clang_warning_flags.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/android/rules.gni")
6
7 config("cpu_features_include") {
8 include_dirs = [ "ndk/sources/android/cpufeatures" ]
9 }
10
11 # This is the GN version of
12 # //build/android/ndk.gyp:cpu_features
13 source_set("cpu_features") {
14 sources = [
15 "ndk/sources/android/cpufeatures/cpu-features.c",
16 ]
17 public_configs = [ ":cpu_features_include" ]
18
19 configs -= [ "//build/config/compiler:chromium_code" ]
20 configs += [ "//build/config/compiler:no_chromium_code" ]
21 }
22
23 android_java_prebuilt("android_gcm_java") {
24 jar_path = "$android_sdk_root/extras/google/gcm/gcm-client/dist/gcm.jar"
25 }
26
27 android_java_prebuilt("uiautomator_java") {
28 jar_path = "$android_sdk/uiautomator.jar"
29 }
30
31 android_java_prebuilt("android_support_annotations_javalib") {
32 jar_path = "$android_sdk_root/extras/android/support/annotations/android-suppo rt-annotations.jar"
33 }
34
35 java_prebuilt("android_support_multidex_java") {
36 jar_path = "$android_sdk_root/extras/android/support/multidex/library/libs/and roid-support-multidex.jar"
37 }
38
39 android_java_prebuilt("android_support_v13_java") {
40 jar_path =
41 "$android_sdk_root/extras/android/support/v13/android-support-v13.jar"
42 }
43
44 android_resources("android_support_v7_appcompat_resources") {
45 v14_skip = true
46 resource_dirs =
47 [ "$android_sdk_root/extras/android/support/v7/appcompat/res" ]
48 custom_package = "android.support.v7.appcompat"
49 }
50
51 android_java_prebuilt("android_support_v7_appcompat_java") {
52 deps = [
53 ":android_support_v7_appcompat_resources",
54 ]
55 jar_path = "$android_sdk_root/extras/android/support/v7/appcompat/libs/android -support-v7-appcompat.jar"
56 }
57
58 android_resources("android_support_v7_mediarouter_resources") {
59 v14_skip = true
60 resource_dirs =
61 [ "$android_sdk_root/extras/android/support/v7/mediarouter/res" ]
62 deps = [
63 ":android_support_v7_appcompat_resources",
64 ]
65 custom_package = "android.support.v7.mediarouter"
66 }
67
68 android_java_prebuilt("android_support_v7_mediarouter_java") {
69 deps = [
70 ":android_support_v7_mediarouter_resources",
71 ":android_support_v7_appcompat_java",
72 ]
73 jar_path = "$android_sdk_root/extras/android/support/v7/mediarouter/libs/andro id-support-v7-mediarouter.jar"
74 }
75
76 android_resources("android_support_v7_recyclerview_resources") {
77 v14_skip = true
78 resource_dirs =
79 [ "$android_sdk_root/extras/android/support/v7/recyclerview/res" ]
80 custom_package = "android.support.v7.recyclerview"
81 }
82
83 android_java_prebuilt("android_support_v7_recyclerview_java") {
84 deps = [
85 ":android_support_v7_appcompat_java",
86 ":android_support_v7_recyclerview_resources",
87 ]
88 jar_path = "$android_sdk_root/extras/android/support/v7/recyclerview/libs/andr oid-support-v7-recyclerview.jar"
89 }
90
91 android_resources("google_play_services_default_resources") {
92 v14_skip = true
93 resource_dirs = [ "$android_sdk_root/extras/google/google_play_services/libpro ject/google-play-services_lib/res" ]
94 custom_package = "com.google.android.gms"
95 }
96 android_java_prebuilt("google_play_services_default_java") {
97 deps = [
98 ":android_support_v13_java",
99 ":android_support_v7_mediarouter_java",
100 ":google_play_services_default_resources",
101 ]
102 proguard_preprocess = false
103 jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/go ogle-play-services_lib/libs/google-play-services.jar"
104 }
OLDNEW
« no previous file with comments | « build/sanitize-win-build-log.sh ('k') | build/set_clang_warning_flags.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698