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/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build_overrides/v8.gni") | 7 import("//build_overrides/v8.gni") |
8 import("//chrome/version.gni") | 8 import("//chrome/version.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//third_party/icu/config.gni") | 10 import("//third_party/icu/config.gni") |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 "//third_party/WebKit/public:blink_headers_java", | 154 "//third_party/WebKit/public:blink_headers_java", |
155 "//media/base/android:media_java", | 155 "//media/base/android:media_java", |
156 "//media/midi:midi_java", | 156 "//media/midi:midi_java", |
157 "//ui/android:ui_java", | 157 "//ui/android:ui_java", |
158 "//ui/android:ui_java_resources", | 158 "//ui/android:ui_java_resources", |
159 google_play_services_library, | 159 google_play_services_library, |
160 ] | 160 ] |
161 | 161 |
162 srcjar_deps = [ | 162 srcjar_deps = [ |
163 ":chrome_android_java_enums_srcjar", | 163 ":chrome_android_java_enums_srcjar", |
164 ":chrome_android_java_google_api_keys_srcjar", | |
164 ":chrome_version_srcjar", | 165 ":chrome_version_srcjar", |
165 ":custom_tabs_service_aidl", | 166 ":custom_tabs_service_aidl", |
166 ":resource_id_javagen", | 167 ":resource_id_javagen", |
167 "//chrome:page_info_connection_type_javagen", | 168 "//chrome:page_info_connection_type_javagen", |
168 "//chrome:content_setting_javagen", | 169 "//chrome:content_setting_javagen", |
169 "//chrome:content_settings_type_javagen", | 170 "//chrome:content_settings_type_javagen", |
170 "//components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar", | 171 "//components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar", |
171 "//components/offline_pages:offline_pages_enums_java", | 172 "//components/offline_pages:offline_pages_enums_java", |
172 ] | 173 ] |
173 | 174 |
174 DEPRECATED_java_in_dir = "java/src" | 175 DEPRECATED_java_in_dir = "java/src" |
175 } | 176 } |
176 | 177 |
177 # GYP: //chrome/chrome_browser.gypi:activity_type_ids_java | 178 # GYP: //chrome/chrome_browser.gypi:activity_type_ids_java |
178 # GYP: //chrome/chrome_browser.gypi:connectivity_check_result_java | 179 # GYP: //chrome/chrome_browser.gypi:connectivity_check_result_java |
179 # GYP: //chrome/chrome_browser.gypi:shortcut_source_java | 180 # GYP: //chrome/chrome_browser.gypi:shortcut_source_java |
180 # GYP: //chrome/chrome_browser.gypi:profile_account_management_metrics_java | 181 # GYP: //chrome/chrome_browser.gypi:profile_account_management_metrics_java |
181 # GYP: //chrome/chrome_browser.gypi:connection_security_levels_java | 182 # GYP: //chrome/chrome_browser.gypi:connection_security_levels_java |
182 # GYP: //chrome/chrome_browser.gypi:tab_load_status_java | 183 # GYP: //chrome/chrome_browser.gypi:tab_load_status_java |
183 # GYP: //chrome/chrome_browser.gypi:infobar_action_type_java | 184 # GYP: //chrome/chrome_browser.gypi:infobar_action_type_java |
185 | |
186 action("chrome_android_java_google_api_keys_srcjar") { | |
187 script = "//build/android/gyp/java_google_api_keys.py" | |
188 _output_path = rebase_path("${target_name}.srcjar", ".", target_gen_dir) | |
agrieve
2015/11/04 02:09:11
These two lines are a bit weird. I copied this par
dvh
2015/11/04 05:26:11
Done.
| |
189 _output_file = get_path_info(_output_path, "abspath") | |
190 outputs = [ | |
191 _output_file, | |
192 ] | |
193 args = [ | |
194 "--srcjar", | |
195 _output_path, | |
196 ] | |
197 } | |
198 | |
184 java_cpp_enum("chrome_android_java_enums_srcjar") { | 199 java_cpp_enum("chrome_android_java_enums_srcjar") { |
185 sources = [ | 200 sources = [ |
186 "//chrome/browser/android/activity_type_ids.h", | 201 "//chrome/browser/android/activity_type_ids.h", |
187 "//chrome/browser/android/feedback/connectivity_checker.cc", | 202 "//chrome/browser/android/feedback/connectivity_checker.cc", |
188 "//chrome/browser/android/most_visited_sites.cc", | 203 "//chrome/browser/android/most_visited_sites.cc", |
189 "//chrome/browser/android/shortcut_info.h", | 204 "//chrome/browser/android/shortcut_info.h", |
190 "//chrome/browser/android/tab_android.h", | 205 "//chrome/browser/android/tab_android.h", |
191 "//chrome/browser/profiles/profile_metrics.h", | 206 "//chrome/browser/profiles/profile_metrics.h", |
192 "//chrome/browser/ssl/security_state_model.h", | 207 "//chrome/browser/ssl/security_state_model.h", |
193 "//chrome/browser/ui/android/infobars/infobar_android.h", | 208 "//chrome/browser/ui/android/infobars/infobar_android.h", |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
451 # TODO(GYP,cjhopman): Does this need version code/name? | 466 # TODO(GYP,cjhopman): Does this need version code/name? |
452 apk_name = "ChromePublicTest" | 467 apk_name = "ChromePublicTest" |
453 apk_under_test = ":chrome_public_apk" | 468 apk_under_test = ":chrome_public_apk" |
454 android_manifest = chrome_public_test_apk_manifest | 469 android_manifest = chrome_public_test_apk_manifest |
455 deps = [ | 470 deps = [ |
456 ":chrome_public_test_apk_manifest", | 471 ":chrome_public_test_apk_manifest", |
457 "//chrome/android:chrome_shared_test_java", | 472 "//chrome/android:chrome_shared_test_java", |
458 ] | 473 ] |
459 isolate_file = "../chrome_public_test_apk.isolate" | 474 isolate_file = "../chrome_public_test_apk.isolate" |
460 } | 475 } |
OLD | NEW |