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

Side by Side Diff: chrome/android/BUILD.gn

Issue 2865463003: Tracks GVR version crossed with headset type using UMA. (Closed)
Patch Set: Nit: only create native-Java enum if enable_vr is set Created 3 years, 7 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("//android_webview/webview_repack_locales_list.gni") 5 import("//android_webview/webview_repack_locales_list.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 import("//build/util/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//chrome/android/chrome_public_apk_tmpl.gni") 9 import("//chrome/android/chrome_public_apk_tmpl.gni")
10 import("//chrome/android/monochrome_android_manifest_jinja_variables.gni") 10 import("//chrome/android/monochrome_android_manifest_jinja_variables.gni")
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 # Manifest used for linting (determining unused resources). 272 # Manifest used for linting (determining unused resources).
273 android_manifest = chrome_public_android_manifest 273 android_manifest = chrome_public_android_manifest
274 274
275 # From java_sources.gni. 275 # From java_sources.gni.
276 java_files = chrome_java_sources + [ app_hooks_impl ] 276 java_files = chrome_java_sources + [ app_hooks_impl ]
277 277
278 if (enable_vr) { 278 if (enable_vr) {
279 java_files += chrome_vr_java_sources 279 java_files += chrome_vr_java_sources
280 deps += [ "//third_party/gvr-android-sdk:gvr_common_java" ] 280 deps += [ "//third_party/gvr-android-sdk:gvr_common_java" ]
281 srcjar_deps += [ ":chrome_vr_android_java_enums_srcjar" ]
281 } 282 }
282 283
283 # Add the actual implementation where necessary so that downstream targets 284 # Add the actual implementation where necessary so that downstream targets
284 # can provide their own implementations. 285 # can provide their own implementations.
285 jar_excluded_patterns = [ "*/AppHooksImpl.class" ] 286 jar_excluded_patterns = [ "*/AppHooksImpl.class" ]
286 } 287 }
287 288
288 action("chrome_android_java_google_api_keys_srcjar") { 289 action("chrome_android_java_google_api_keys_srcjar") {
289 script = "//build/android/gyp/java_google_api_keys.py" 290 script = "//build/android/gyp/java_google_api_keys.py"
290 _output_path = "$target_gen_dir/$target_name.srcjar" 291 _output_path = "$target_gen_dir/$target_name.srcjar"
(...skipping 17 matching lines...) Expand all
308 "//chrome/browser/android/webapk/webapk_install_service.h", 309 "//chrome/browser/android/webapk/webapk_install_service.h",
309 "//chrome/browser/banners/app_banner_settings_helper.h", 310 "//chrome/browser/banners/app_banner_settings_helper.h",
310 "//chrome/browser/notifications/notification_platform_bridge_android.cc", 311 "//chrome/browser/notifications/notification_platform_bridge_android.cc",
311 "//chrome/browser/ntp_snippets/ntp_snippets_metrics.h", 312 "//chrome/browser/ntp_snippets/ntp_snippets_metrics.h",
312 "//chrome/browser/profiles/profile_metrics.h", 313 "//chrome/browser/profiles/profile_metrics.h",
313 "//chrome/browser/translate/android/translate_utils.h", 314 "//chrome/browser/translate/android/translate_utils.h",
314 "//chrome/browser/ui/android/infobars/infobar_android.h", 315 "//chrome/browser/ui/android/infobars/infobar_android.h",
315 ] 316 ]
316 } 317 }
317 318
319 if (enable_vr) {
320 java_cpp_enum("chrome_vr_android_java_enums_srcjar") {
321 sources = [
322 "//chrome/browser/android/vr_shell/vr_core_info.h",
323 ]
324 }
325 }
326
318 proto_java_library("document_tab_model_info_proto_java") { 327 proto_java_library("document_tab_model_info_proto_java") {
319 proto_path = "java/src/org/chromium/chrome/browser/tabmodel/document" 328 proto_path = "java/src/org/chromium/chrome/browser/tabmodel/document"
320 sources = [ 329 sources = [
321 "$proto_path/document_tab_model_info.proto", 330 "$proto_path/document_tab_model_info.proto",
322 ] 331 ]
323 } 332 }
324 333
325 proto_java_library("partner_location_descriptor_proto_java") { 334 proto_java_library("partner_location_descriptor_proto_java") {
326 proto_path = "java/src/org/chromium/chrome/browser/omnibox/geo" 335 proto_path = "java/src/org/chromium/chrome/browser/omnibox/geo"
327 sources = [ 336 sources = [
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 apk_name = "ChromeSyncShellTest" 968 apk_name = "ChromeSyncShellTest"
960 apk_under_test = ":chrome_sync_shell_apk" 969 apk_under_test = ":chrome_sync_shell_apk"
961 android_manifest = chrome_sync_shell_test_apk_manifest 970 android_manifest = chrome_sync_shell_test_apk_manifest
962 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 971 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
963 deps = [ 972 deps = [
964 ":chrome_sync_shell_test_apk_java", 973 ":chrome_sync_shell_test_apk_java",
965 "//third_party/android_support_test_runner:runner_java", 974 "//third_party/android_support_test_runner:runner_java",
966 ] 975 ]
967 proguard_enabled = !is_java_debug 976 proguard_enabled = !is_java_debug
968 } 977 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698