OLD | NEW |
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 # The "19" is so that sites that sniff for version think that this is | 8 # The "19" is so that sites that sniff for version think that this is |
9 # something reasonably current; the "77.34.5" is a hint that this isn't a | 9 # something reasonably current; the "77.34.5" is a hint that this isn't a |
10 # standard Chrome. | 10 # standard Chrome. |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 ['OS=="android"', { | 552 ['OS=="android"', { |
553 'targets': [ | 553 'targets': [ |
554 { | 554 { |
555 # TODO(jrg): Update this action and other jni generators to only | 555 # TODO(jrg): Update this action and other jni generators to only |
556 # require specifying the java directory and generate the rest. | 556 # require specifying the java directory and generate the rest. |
557 'target_name': 'content_shell_jni_headers', | 557 'target_name': 'content_shell_jni_headers', |
558 'type': 'none', | 558 'type': 'none', |
559 'sources': [ | 559 'sources': [ |
560 'shell/android/java/src/org/chromium/content_shell/ShellManager.java
', | 560 'shell/android/java/src/org/chromium/content_shell/ShellManager.java
', |
561 'shell/android/java/src/org/chromium/content_shell/Shell.java', | 561 'shell/android/java/src/org/chromium/content_shell/Shell.java', |
| 562 'shell/android/java/src/org/chromium/content_shell/TraceController.j
ava', |
562 ], | 563 ], |
563 'variables': { | 564 'variables': { |
564 'jni_gen_dir': 'content/shell', | 565 'jni_gen_dir': 'content/shell', |
565 }, | 566 }, |
566 'includes': [ '../build/jni_generator.gypi' ], | 567 'includes': [ '../build/jni_generator.gypi' ], |
567 }, | 568 }, |
568 { | 569 { |
569 'target_name': 'libcontent_shell_content_view', | 570 'target_name': 'libcontent_shell_content_view', |
570 'type': 'shared_library', | 571 'type': 'shared_library', |
571 'dependencies': [ | 572 'dependencies': [ |
572 'content_shell_jni_headers', | 573 'content_shell_jni_headers', |
573 'content_shell_lib', | 574 'content_shell_lib', |
574 'content_shell_pak', | 575 'content_shell_pak', |
575 # Skia is necessary to ensure the dependencies needed by | 576 # Skia is necessary to ensure the dependencies needed by |
576 # WebContents are included. | 577 # WebContents are included. |
577 '../skia/skia.gyp:skia', | 578 '../skia/skia.gyp:skia', |
578 '<(DEPTH)/media/media.gyp:player_android', | 579 '<(DEPTH)/media/media.gyp:player_android', |
579 ], | 580 ], |
580 'include_dirs': [ | 581 'include_dirs': [ |
581 '<(SHARED_INTERMEDIATE_DIR)/content/shell', | 582 '<(SHARED_INTERMEDIATE_DIR)/content/shell', |
582 ], | 583 ], |
583 'sources': [ | 584 'sources': [ |
584 'shell/android/shell_library_loader.cc', | 585 'shell/android/shell_library_loader.cc', |
585 'shell/android/shell_library_loader.h', | 586 'shell/android/shell_library_loader.h', |
586 'shell/android/shell_manager.cc', | 587 'shell/android/shell_manager.cc', |
587 'shell/android/shell_manager.h', | 588 'shell/android/shell_manager.h', |
| 589 'shell/android/tracing_shell.cc', |
| 590 'shell/android/tracing_shell.h', |
588 ], | 591 ], |
589 'sources!': [ | 592 'sources!': [ |
590 'shell/shell_main.cc', | 593 'shell/shell_main.cc', |
591 'shell/shell_main.h', | 594 'shell/shell_main.h', |
592 ], | 595 ], |
593 'conditions': [ | 596 'conditions': [ |
594 ['android_build_type==1', { | 597 ['android_build_type==1', { |
595 'ldflags': [ | 598 'ldflags': [ |
596 '-lgabi++', # For rtti | 599 '-lgabi++', # For rtti |
597 ], | 600 ], |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 'resource_dir': '../res', | 650 'resource_dir': '../res', |
648 'native_libs_paths': ['<(SHARED_LIB_DIR)/libcontent_shell_content_vi
ew.so'], | 651 'native_libs_paths': ['<(SHARED_LIB_DIR)/libcontent_shell_content_vi
ew.so'], |
649 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], | 652 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont
ent_shell.pak'], |
650 }, | 653 }, |
651 'includes': [ '../build/java_apk.gypi' ], | 654 'includes': [ '../build/java_apk.gypi' ], |
652 }, | 655 }, |
653 ], | 656 ], |
654 }], # OS=="android" | 657 }], # OS=="android" |
655 ] | 658 ] |
656 } | 659 } |
OLD | NEW |