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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'android_support_v13_target%': | 7 'android_support_v13_target%': |
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java
lib', | 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java
lib', |
9 'cast_build_release': 'internal/build/cast_build_release', | 9 'cast_build_release': 'internal/build/cast_build_release', |
10 'cast_is_debug_build%': 0, | 10 'cast_is_debug_build%': 0, |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 'graphics/cast_egl_platform_default.cc', | 531 'graphics/cast_egl_platform_default.cc', |
532 'graphics/graphics_properties_default.cc', | 532 'graphics/graphics_properties_default.cc', |
533 'graphics/osd_plane_default.cc' | 533 'graphics/osd_plane_default.cc' |
534 ], | 534 ], |
535 } | 535 } |
536 ], # end of targets | 536 ], # end of targets |
537 | 537 |
538 # Targets for Android receiver. | 538 # Targets for Android receiver. |
539 'conditions': [ | 539 'conditions': [ |
540 ['OS=="android"', { | 540 ['OS=="android"', { |
541 'includes': ['../build/android/v8_external_startup_data_arch_suffix.gypi',
], | |
542 'variables': { | 541 'variables': { |
543 'cast_shell_assets_path': '<(PRODUCT_DIR)/assets/cast_shell_apk', | 542 'cast_shell_assets_path': '<(PRODUCT_DIR)/assets/cast_shell_apk', |
544 }, | 543 }, |
545 'targets': [ | 544 'targets': [ |
546 { | 545 { |
547 'target_name': 'cast_shell_icudata', | 546 'target_name': 'cast_shell_icudata', |
548 'type': 'none', | 547 'type': 'none', |
549 'dependencies': [ | 548 'dependencies': [ |
550 '../third_party/icu/icu.gyp:icudata', | 549 '../third_party/icu/icu.gyp:icudata', |
551 '../v8/tools/gyp/v8.gyp:v8_external_snapshot', | 550 '../v8/tools/gyp/v8.gyp:v8_external_snapshot', |
552 ], | 551 ], |
553 'variables': { | 552 'variables': { |
554 'dest_path': '<(cast_shell_assets_path)', | 553 'dest_path': '<(cast_shell_assets_path)', |
555 'src_files': [ | 554 'src_files': [ |
556 '<(PRODUCT_DIR)/icudtl.dat', | 555 '<(PRODUCT_DIR)/icudtl.dat', |
557 '<(PRODUCT_DIR)/assets/cast_shell.pak', | 556 '<(PRODUCT_DIR)/assets/cast_shell.pak', |
558 ], | |
559 'renaming_sources': [ | |
560 '<(PRODUCT_DIR)/natives_blob.bin', | 557 '<(PRODUCT_DIR)/natives_blob.bin', |
561 '<(PRODUCT_DIR)/snapshot_blob.bin', | 558 '<(PRODUCT_DIR)/snapshot_blob.bin', |
562 ], | 559 ], |
563 'renaming_destinations': [ | |
564 'natives_blob_<(arch_suffix).bin', | |
565 'snapshot_blob_<(arch_suffix).bin', | |
566 ], | |
567 'clear': 1, | 560 'clear': 1, |
568 }, | 561 }, |
569 'includes': ['../build/android/copy_ex.gypi'], | 562 'includes': ['../build/android/copy_ex.gypi'], |
570 }, | 563 }, |
571 { | 564 { |
572 'target_name': 'libcast_shell_android', | 565 'target_name': 'libcast_shell_android', |
573 'type': 'shared_library', | 566 'type': 'shared_library', |
574 'dependencies': [ | 567 'dependencies': [ |
575 'cast_jni_headers', | 568 'cast_jni_headers', |
576 'cast_shell_common', | 569 'cast_shell_common', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 # if the actual Java path is used. | 658 # if the actual Java path is used. |
666 # This will hopefully be removable after the great GN migration. | 659 # This will hopefully be removable after the great GN migration. |
667 'java_in_dir': 'android', | 660 'java_in_dir': 'android', |
668 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/cast_shell_mani
fest/AndroidManifest.xml', | 661 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/cast_shell_mani
fest/AndroidManifest.xml', |
669 'package_name': 'org.chromium.chromecast.shell', | 662 'package_name': 'org.chromium.chromecast.shell', |
670 'native_lib_target': 'libcast_shell_android', | 663 'native_lib_target': 'libcast_shell_android', |
671 'asset_location': '<(cast_shell_assets_path)', | 664 'asset_location': '<(cast_shell_assets_path)', |
672 'additional_input_paths': [ | 665 'additional_input_paths': [ |
673 '<(asset_location)/cast_shell.pak', | 666 '<(asset_location)/cast_shell.pak', |
674 '<(asset_location)/icudtl.dat', | 667 '<(asset_location)/icudtl.dat', |
675 '<(asset_location)/natives_blob_<(arch_suffix).bin', | 668 '<(asset_location)/natives_blob.bin', |
676 '<(asset_location)/snapshot_blob_<(arch_suffix).bin', | 669 '<(asset_location)/snapshot_blob.bin', |
677 ], | 670 ], |
678 }, | 671 }, |
679 'includes': [ '../build/java_apk.gypi' ], | 672 'includes': [ '../build/java_apk.gypi' ], |
680 }, | 673 }, |
681 { | 674 { |
682 'target_name': 'cast_jni_headers', | 675 'target_name': 'cast_jni_headers', |
683 'type': 'none', | 676 'type': 'none', |
684 'sources': [ | 677 'sources': [ |
685 'base/java/src/org/chromium/chromecast/base/ChromecastConfigAndroid.
java', | 678 'base/java/src/org/chromium/chromecast/base/ChromecastConfigAndroid.
java', |
686 'base/java/src/org/chromium/chromecast/base/DumpstateWriter.java', | 679 'base/java/src/org/chromium/chromecast/base/DumpstateWriter.java', |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 'cast_shell_core', | 770 'cast_shell_core', |
778 ], | 771 ], |
779 'sources': [ | 772 'sources': [ |
780 'app/cast_main.cc', | 773 'app/cast_main.cc', |
781 ], | 774 ], |
782 }, | 775 }, |
783 ], # end of targets | 776 ], # end of targets |
784 }], | 777 }], |
785 ], # end of conditions | 778 ], # end of conditions |
786 } | 779 } |
OLD | NEW |