Chromium Code Reviews| 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', ], | |
|
jbudorick
2015/10/26 23:02:04
Curious -- why did you move this outside?
michaelbai
2015/10/27 01:10:42
Because the arch_suffix variable is needed by 2 ta
jbudorick
2015/10/27 01:14:58
ah, ok. Makes sense.
| |
| 541 'targets': [ | 542 'targets': [ |
| 542 { | 543 { |
| 543 'target_name': 'cast_shell_icudata', | 544 'target_name': 'cast_shell_icudata', |
| 544 'type': 'none', | 545 'type': 'none', |
| 545 'dependencies': [ | 546 'dependencies': [ |
| 546 '../third_party/icu/icu.gyp:icudata', | 547 '../third_party/icu/icu.gyp:icudata', |
| 547 '../v8/tools/gyp/v8.gyp:v8_external_snapshot', | 548 '../v8/tools/gyp/v8.gyp:v8_external_snapshot', |
| 548 ], | 549 ], |
| 549 'copies': [{ | 550 'variables': { |
| 550 'destination': '<(PRODUCT_DIR)/assets', | 551 'dest_path': '<(PRODUCT_DIR)/assets', |
|
jbudorick
2015/10/26 23:02:04
Shouldn't this be copying to something target-spec
michaelbai
2015/10/27 01:10:42
It doesn't collide with others now because one one
jbudorick
2015/10/27 01:14:58
Thanks.
| |
| 551 'files': [ | 552 'src_files': [ |
| 552 '<(PRODUCT_DIR)/icudtl.dat', | 553 '<(PRODUCT_DIR)/icudtl.dat', |
| 554 ], | |
| 555 'renaming_sources': [ | |
| 553 '<(PRODUCT_DIR)/natives_blob.bin', | 556 '<(PRODUCT_DIR)/natives_blob.bin', |
| 554 '<(PRODUCT_DIR)/snapshot_blob.bin', | 557 '<(PRODUCT_DIR)/snapshot_blob.bin', |
| 555 ], | 558 ], |
| 556 }], | 559 'renaming_destinations': [ |
| 560 'natives_blob_<(arch_suffix).bin', | |
| 561 'snapshot_blob_<(arch_suffix).bin', | |
| 562 ], | |
| 563 'clear': 1, | |
| 564 }, | |
| 565 'includes': ['../build/android/copy_ex.gypi'], | |
| 557 }, | 566 }, |
| 558 { | 567 { |
| 559 'target_name': 'libcast_shell_android', | 568 'target_name': 'libcast_shell_android', |
| 560 'type': 'shared_library', | 569 'type': 'shared_library', |
| 561 'dependencies': [ | 570 'dependencies': [ |
| 562 'cast_jni_headers', | 571 'cast_jni_headers', |
| 563 'cast_shell_common', | 572 'cast_shell_common', |
| 564 'cast_shell_icudata', | 573 'cast_shell_icudata', |
| 565 'cast_shell_pak', | 574 'cast_shell_pak', |
| 566 'cast_version_header', | 575 'cast_version_header', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 649 # Unfortunately, the java_apk.gypi target rigidly insists on having | 658 # Unfortunately, the java_apk.gypi target rigidly insists on having |
| 650 # a java_in_dir directory, but complains about duplicate classes | 659 # a java_in_dir directory, but complains about duplicate classes |
| 651 # from the common cast_shell_java target (shared with internal APK) | 660 # from the common cast_shell_java target (shared with internal APK) |
| 652 # if the actual Java path is used. | 661 # if the actual Java path is used. |
| 653 # This will hopefully be removable after the great GN migration. | 662 # This will hopefully be removable after the great GN migration. |
| 654 'java_in_dir': 'android', | 663 'java_in_dir': 'android', |
| 655 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/cast_shell_mani fest/AndroidManifest.xml', | 664 'android_manifest_path': '<(SHARED_INTERMEDIATE_DIR)/cast_shell_mani fest/AndroidManifest.xml', |
| 656 'package_name': 'org.chromium.chromecast.shell', | 665 'package_name': 'org.chromium.chromecast.shell', |
| 657 'native_lib_target': 'libcast_shell_android', | 666 'native_lib_target': 'libcast_shell_android', |
| 658 'asset_location': '<(PRODUCT_DIR)/assets', | 667 'asset_location': '<(PRODUCT_DIR)/assets', |
| 659 'additional_input_paths': ['<(PRODUCT_DIR)/assets/cast_shell.pak'], | 668 'additional_input_paths': [ |
| 669 '<(PRODUCT_DIR)/assets/cast_shell.pak', | |
| 670 '<(PRODUCT_DIR)/assets/icudtl.dat', | |
| 671 '<(PRODUCT_DIR)/assets/natives_blob_<(arch_suffix).bin', | |
| 672 '<(PRODUCT_DIR)/assets/snapshot_blob_<(arch_suffix).bin', | |
| 673 ], | |
| 660 }, | 674 }, |
| 661 'includes': [ '../build/java_apk.gypi' ], | 675 'includes': [ '../build/java_apk.gypi' ], |
| 662 }, | 676 }, |
| 663 { | 677 { |
| 664 'target_name': 'cast_jni_headers', | 678 'target_name': 'cast_jni_headers', |
| 665 'type': 'none', | 679 'type': 'none', |
| 666 'sources': [ | 680 'sources': [ |
| 667 'base/java/src/org/chromium/chromecast/base/ChromecastConfigAndroid. java', | 681 'base/java/src/org/chromium/chromecast/base/ChromecastConfigAndroid. java', |
| 668 'base/java/src/org/chromium/chromecast/base/DumpstateWriter.java', | 682 'base/java/src/org/chromium/chromecast/base/DumpstateWriter.java', |
| 669 'base/java/src/org/chromium/chromecast/base/SystemTimeChangeNotifier Android.java', | 683 'base/java/src/org/chromium/chromecast/base/SystemTimeChangeNotifier Android.java', |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 759 'cast_shell_core', | 773 'cast_shell_core', |
| 760 ], | 774 ], |
| 761 'sources': [ | 775 'sources': [ |
| 762 'app/cast_main.cc', | 776 'app/cast_main.cc', |
| 763 ], | 777 ], |
| 764 }, | 778 }, |
| 765 ], # end of targets | 779 ], # end of targets |
| 766 }], | 780 }], |
| 767 ], # end of conditions | 781 ], # end of conditions |
| 768 } | 782 } |
| OLD | NEW |