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

Side by Side Diff: content/content_shell.gypi

Issue 10911131: Upstream JavaBridge tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing check_deps failure Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 ], 589 ],
590 'conditions': [ 590 'conditions': [
591 ['android_build_type==1', { 591 ['android_build_type==1', {
592 'ldflags': [ 592 'ldflags': [
593 '-lgabi++', # For rtti 593 '-lgabi++', # For rtti
594 ], 594 ],
595 }], 595 }],
596 ], 596 ],
597 }, 597 },
598 { 598 {
599 'target_name': 'content_shell_apk',
600 'type': 'none',
601 'dependencies': [
602 'content_java',
603 '../base/base.gyp:base_java',
604 '../media/media.gyp:media_java',
605 '../net/net.gyp:net_java',
606 '../ui/ui.gyp:ui_java',
607 ],
608 'variables': {
609 'package_name': 'content_shell',
610 'apk_name': 'ContentShell',
611 'java_in_dir': 'shell/android/java',
612 # TODO(cjhopman): The resource directory of all apks should be in
613 # <java_in_dir>/res.
614 'resource_dir': '../res',
615 'native_libs_paths': ['<(PRODUCT_DIR)/content_shell/libs/<(android_a pp_abi)/libcontent_shell_content_view.so'],
616 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
617 },
618 'actions': [
619 {
620 'action_name': 'copy_and_strip_so',
621 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'],
622 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/ libcontent_shell_content_view.so'],
623 'action': [
624 '<(android_strip)',
625 '--strip-unneeded', # All symbols not needed for relocation.
626 '<@(_inputs)',
627 '-o',
628 '<@(_outputs)',
629 ],
630 },
631 ],
632 'includes': [ '../build/java_apk.gypi' ],
633 },
634 {
635 # content_shell_apk creates a .jar as a side effect. Any java targets 599 # content_shell_apk creates a .jar as a side effect. Any java targets
636 # that need that .jar in their classpath should depend on this target, 600 # that need that .jar in their classpath should depend on this target,
637 # content_shell_java. 601 # content_shell_java.
638 'target_name': 'content_shell_java', 602 'target_name': 'content_shell_java',
639 'type': 'none', 603 'type': 'none',
640 'outputs': [ 604 'outputs': [
641 '<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar', 605 '<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar',
642 ], 606 ],
643 'dependencies': [ 607 'dependencies': [
644 'content_java', 608 'content_java',
(...skipping 19 matching lines...) Expand all
664 # buildfiles to determine which target the output corresponds to. 628 # buildfiles to determine which target the output corresponds to.
665 'actions': [ 629 'actions': [
666 { 630 {
667 'action_name': 'fake_generate_jar', 631 'action_name': 'fake_generate_jar',
668 'inputs': [], 632 'inputs': [],
669 'outputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar'], 633 'outputs': ['<(PRODUCT_DIR)/lib.java/chromium_content_shell.jar'],
670 'action': [], 634 'action': [],
671 }, 635 },
672 ], 636 ],
673 }, 637 },
638 {
639 'target_name': 'content_shell_apk',
640 'type': 'none',
641 'dependencies': [
642 'content_java',
643 '../base/base.gyp:base_java',
644 '../media/media.gyp:media_java',
645 '../net/net.gyp:net_java',
646 '../ui/ui.gyp:ui_java',
647 ],
648 'variables': {
649 'package_name': 'content_shell',
650 'apk_name': 'ContentShell',
651 'java_in_dir': 'shell/android/java',
652 # TODO(cjhopman): The resource directory of all apks should be in
653 # <java_in_dir>/res.
654 'resource_dir': '../res',
655 'native_libs_paths': ['<(PRODUCT_DIR)/content_shell/libs/<(android_a pp_abi)/libcontent_shell_content_view.so'],
656 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
657 },
658 'actions': [
659 {
660 'action_name': 'copy_and_strip_so',
661 'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'],
662 'outputs': ['<(PRODUCT_DIR)/content_shell/libs/<(android_app_abi)/ libcontent_shell_content_view.so'],
663 'action': [
664 '<(android_strip)',
665 '--strip-unneeded', # All symbols not needed for relocation.
666 '<@(_inputs)',
667 '-o',
668 '<@(_outputs)',
669 ],
670 },
671 ],
672 'includes': [ '../build/java_apk.gypi' ],
673 },
674 ], 674 ],
675 }], # OS=="android" 675 }], # OS=="android"
676 ] 676 ]
677 } 677 }
OLDNEW
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698