OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 ] | 416 ] |
417 } | 417 } |
418 | 418 |
419 android_library("blimp_java") { | 419 android_library("blimp_java") { |
420 srcjar_deps = [ ":blimp_java_enums_srcjar" ] | 420 srcjar_deps = [ ":blimp_java_enums_srcjar" ] |
421 | 421 |
422 deps = [ | 422 deps = [ |
423 ":blimp_java_resources", | 423 ":blimp_java_resources", |
424 "//base:base_java", | 424 "//base:base_java", |
425 "//blimp/client/core:core_java", | 425 "//blimp/client/core:core_java", |
426 "//blimp/client/public:public_java", | 426 "//blimp/client/public:public_headers_java", |
427 | 427 |
428 # TODO(dtrainor): Remove the ui_java target once no more Android Toast | 428 # TODO(dtrainor): Remove the ui_java target once no more Android Toast |
429 # notifications are used. | 429 # notifications are used. |
430 "//ui/android:ui_java", | 430 "//ui/android:ui_java", |
431 google_play_services_library, | 431 google_play_services_library, |
432 ] | 432 ] |
433 | 433 |
434 java_files = [ | 434 java_files = [ |
435 "app/android/java/src/org/chromium/blimp/auth/RetryingTokenSource.java", | 435 "app/android/java/src/org/chromium/blimp/auth/RetryingTokenSource.java", |
436 "app/android/java/src/org/chromium/blimp/auth/TokenSource.java", | 436 "app/android/java/src/org/chromium/blimp/auth/TokenSource.java", |
(...skipping 18 matching lines...) Expand all Loading... |
455 } | 455 } |
456 | 456 |
457 android_library("blimp_test_java") { | 457 android_library("blimp_test_java") { |
458 testonly = true | 458 testonly = true |
459 | 459 |
460 deps = [ | 460 deps = [ |
461 ":blimp_java", | 461 ":blimp_java", |
462 "//base:base_java", | 462 "//base:base_java", |
463 "//base:base_java_test_support", | 463 "//base:base_java_test_support", |
464 "//blimp/client/core:core_java", | 464 "//blimp/client/core:core_java", |
465 "//blimp/client/public:public_java", | 465 "//blimp/client/public:public_headers_java", |
466 google_play_services_library, | 466 google_play_services_library, |
467 ] | 467 ] |
468 | 468 |
469 java_files = [ | 469 java_files = [ |
470 "app/android/javatests/src/org/chromium/blimp/auth/MockTokenSource.java", | 470 "app/android/javatests/src/org/chromium/blimp/auth/MockTokenSource.java", |
471 "app/android/javatests/src/org/chromium/blimp/auth/RetryingTokenSourceTest
.java", | 471 "app/android/javatests/src/org/chromium/blimp/auth/RetryingTokenSourceTest
.java", |
472 "app/android/javatests/src/org/chromium/blimp/core/BlimpContentsTest.java"
, | 472 "app/android/javatests/src/org/chromium/blimp/core/BlimpContentsTest.java"
, |
473 "app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTe
stCase.java", | 473 "app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTe
stCase.java", |
474 ] | 474 ] |
475 } | 475 } |
476 | 476 |
477 shared_library("blimp_client_android") { | 477 shared_library("blimp_client_android") { |
478 deps = [ | 478 deps = [ |
479 ":client", | 479 ":client", |
480 ":jni_headers", | 480 ":jni_headers", |
481 "//base", | 481 "//base", |
482 "//blimp/client:compositor", | 482 "//blimp/client:compositor", |
483 "//blimp/client/core", | 483 "//blimp/client/core", |
| 484 "//blimp/client/public:public_headers", |
484 "//blimp/common", | 485 "//blimp/common", |
485 "//blimp/common/proto", | 486 "//blimp/common/proto", |
486 "//blimp/net", | 487 "//blimp/net", |
487 "//components/safe_json/android:safe_json_jni_headers", | 488 "//components/safe_json/android:safe_json_jni_headers", |
488 "//components/url_formatter", | 489 "//components/url_formatter", |
489 "//components/version_info", | 490 "//components/version_info", |
490 "//net", | 491 "//net", |
491 "//skia", | 492 "//skia", |
492 "//ui/base/ime:text_input_types", | 493 "//ui/base/ime:text_input_types", |
493 "//ui/gfx/geometry", | 494 "//ui/gfx/geometry", |
494 "//ui/gl", | 495 "//ui/gl", |
495 "//url:url", | 496 "//url:url", |
496 ] | 497 ] |
497 | 498 |
498 sources = [ | 499 sources = [ |
| 500 "app/android/blimp_app_jni_registrar.cc", |
| 501 "app/android/blimp_app_jni_registrar.h", |
499 "app/android/blimp_client_session_android.cc", | 502 "app/android/blimp_client_session_android.cc", |
500 "app/android/blimp_client_session_android.h", | 503 "app/android/blimp_client_session_android.h", |
501 "app/android/blimp_compositor_manager_android.cc", | 504 "app/android/blimp_compositor_manager_android.cc", |
502 "app/android/blimp_compositor_manager_android.h", | 505 "app/android/blimp_compositor_manager_android.h", |
503 "app/android/blimp_jni_registrar.cc", | |
504 "app/android/blimp_jni_registrar.h", | |
505 "app/android/blimp_library_loader.cc", | 506 "app/android/blimp_library_loader.cc", |
506 "app/android/blimp_library_loader.h", | 507 "app/android/blimp_library_loader.h", |
507 "app/android/blimp_view.cc", | 508 "app/android/blimp_view.cc", |
508 "app/android/blimp_view.h", | 509 "app/android/blimp_view.h", |
509 "app/android/tab_control_feature_android.cc", | 510 "app/android/tab_control_feature_android.cc", |
510 "app/android/tab_control_feature_android.h", | 511 "app/android/tab_control_feature_android.h", |
511 "app/android/toolbar.cc", | 512 "app/android/toolbar.cc", |
512 "app/android/toolbar.h", | 513 "app/android/toolbar.h", |
513 "app/android/web_input_box.cc", | 514 "app/android/web_input_box.cc", |
514 "app/android/web_input_box.h", | 515 "app/android/web_input_box.h", |
(...skipping 21 matching lines...) Expand all Loading... |
536 instrumentation_test_apk("blimp_test_apk") { | 537 instrumentation_test_apk("blimp_test_apk") { |
537 apk_name = "BlimpTest" | 538 apk_name = "BlimpTest" |
538 apk_under_test = ":blimp_apk" | 539 apk_under_test = ":blimp_apk" |
539 android_manifest = blimp_test_apk_manifest | 540 android_manifest = blimp_test_apk_manifest |
540 android_manifest_dep = ":blimp_test_apk_manifest" | 541 android_manifest_dep = ":blimp_test_apk_manifest" |
541 deps = [ | 542 deps = [ |
542 ":blimp_test_java", | 543 ":blimp_test_java", |
543 ] | 544 ] |
544 } | 545 } |
545 } | 546 } |
OLD | NEW |