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