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

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

Issue 1358243006: Port custom_tabs_client from GYP to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/gn_migration.gypi ('k') | third_party/custom_tabs_client/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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 android_java_prebuilt("android_support_design_java") { 44 android_java_prebuilt("android_support_design_java") {
45 deps = [ 45 deps = [
46 ":android_support_v7_appcompat_java", 46 ":android_support_v7_appcompat_java",
47 ":android_support_design_resources", 47 ":android_support_design_resources",
48 ] 48 ]
49 jar_path = "$android_sdk_root/extras/android/support/design/libs/android-suppo rt-design.jar" 49 jar_path = "$android_sdk_root/extras/android/support/design/libs/android-suppo rt-design.jar"
50 } 50 }
51 51
52 android_java_prebuilt("android_support_annotations_javalib") {
53 jar_path = "$android_sdk_root/extras/android/support/annotations/android-suppo rt-annotations.jar"
54 }
55
52 java_prebuilt("android_support_multidex_java") { 56 java_prebuilt("android_support_multidex_java") {
53 supports_android = true 57 supports_android = true
54 jar_path = "$android_sdk_root/extras/android/support/multidex/library/libs/and roid-support-multidex.jar" 58 jar_path = "$android_sdk_root/extras/android/support/multidex/library/libs/and roid-support-multidex.jar"
55 } 59 }
56 60
57 android_java_prebuilt("android_support_v13_java") { 61 android_java_prebuilt("android_support_v13_java") {
58 jar_path = 62 jar_path =
59 "$android_sdk_root/extras/android/support/v13/android-support-v13.jar" 63 "$android_sdk_root/extras/android/support/v13/android-support-v13.jar"
60 } 64 }
61 65
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 ":android_support_v13_java", 123 ":android_support_v13_java",
120 ":android_support_v7_mediarouter_java", 124 ":android_support_v7_mediarouter_java",
121 ":google_play_services_default_resources", 125 ":google_play_services_default_resources",
122 ":legacy_http_javalib", 126 ":legacy_http_javalib",
123 ] 127 ]
124 proguard_preprocess = true 128 proguard_preprocess = true
125 proguard_config = "//third_party/android_tools/proguard.flags" 129 proguard_config = "//third_party/android_tools/proguard.flags"
126 130
127 # TODO(dgn) deps should not complain about having a custom action here 131 # TODO(dgn) deps should not complain about having a custom action here
128 # Currently, there is no guarantee that the data_deps actions will complete be fore the current one runs 132 # Currently, there is no guarantee that the data_deps actions will complete be fore the current one runs
129 data_deps = [ ":check_sdk_extras_version" ] 133 data_deps = [
134 ":check_sdk_extras_version",
135 ]
130 jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/go ogle-play-services_lib/libs/google-play-services.jar" 136 jar_path = "$android_sdk_root/extras/google/google_play_services/libproject/go ogle-play-services_lib/libs/google-play-services.jar"
131 } 137 }
132 138
133 action("check_sdk_extras_version") { 139 action("check_sdk_extras_version") {
134 script = "//build/check_sdk_extras_version.py" 140 script = "//build/check_sdk_extras_version.py"
135 args = [ 141 args = [
136 "--package-id", 142 "--package-id",
137 "extra-google-google_play_services", 143 "extra-google-google_play_services",
138 "--package-location", 144 "--package-location",
139 rebase_path("$android_sdk_root/extras/google/google_play_services"), 145 rebase_path("$android_sdk_root/extras/google/google_play_services"),
140 "--stamp", 146 "--stamp",
141 rebase_path("$target_gen_dir/checked_sdk_extras_version.stamp"), 147 rebase_path("$target_gen_dir/checked_sdk_extras_version.stamp"),
142 ] 148 ]
143 inputs = [ 149 inputs = [
144 "//build/android_sdk_extras.json", 150 "//build/android_sdk_extras.json",
145 "$android_sdk_root/extras/google/google_play_services/source.properties", 151 "$android_sdk_root/extras/google/google_play_services/source.properties",
146 ] 152 ]
147 outputs = [ 153 outputs = [
148 "$target_gen_dir/checked_sdk_extras_version.stamp", 154 "$target_gen_dir/checked_sdk_extras_version.stamp",
149 ] 155 ]
150 } 156 }
151 157
152 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it. 158 # TODO(jbudorick): Remove this once net_java_test_support no longer needs it.
153 android_java_prebuilt("legacy_http_javalib") { 159 android_java_prebuilt("legacy_http_javalib") {
154 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar" 160 jar_path = "$android_sdk/optional/org.apache.http.legacy.jar"
155 } 161 }
OLDNEW
« no previous file with comments | « build/gn_migration.gypi ('k') | third_party/custom_tabs_client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698