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

Side by Side Diff: content/content_shell.gypi

Issue 10800019: Refactor ContentShell to remove ContentViewClient dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java » ('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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 }, 131 },
132 }, 132 },
133 }, 133 },
134 }], # OS=="win" 134 }], # OS=="win"
135 ['OS!="android"', { 135 ['OS!="android"', {
136 'dependencies': [ 136 'dependencies': [
137 # This dependency is for running DRT against the content shell, and 137 # This dependency is for running DRT against the content shell, and
138 # this combination is not yet supported on Android. 138 # this combination is not yet supported on Android.
139 '../webkit/support/webkit_support.gyp:webkit_support', 139 '../webkit/support/webkit_support.gyp:webkit_support',
140 ], 140 ],
141 }], # OS!="android" 141 }, { # else: OS=="android"
142 'dependencies': [
143 'content_shell_jni_headers',
144 ],
145 'include_dirs': [
146 '<(SHARED_INTERMEDIATE_DIR)/content/shell',
147 ],
148 }], # OS=="android"
142 ['use_aura==1', { 149 ['use_aura==1', {
143 'sources/': [ 150 'sources/': [
144 ['exclude', 'shell/shell_gtk.cc'], 151 ['exclude', 'shell/shell_gtk.cc'],
145 ['exclude', 'shell/shell_win.cc'], 152 ['exclude', 'shell/shell_win.cc'],
146 ], 153 ],
147 }], # use_aura==1 154 }], # use_aura==1
148 ['inside_chromium_build==0 or component!="shared_library"', { 155 ['inside_chromium_build==0 or component!="shared_library"', {
149 'dependencies': [ 156 'dependencies': [
150 '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_te st_support', 157 '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_te st_support',
151 '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf', 158 '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf',
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 ['OS=="android"', { 499 ['OS=="android"', {
493 'targets': [ 500 'targets': [
494 { 501 {
495 # TODO(jrg): Update this action and other jni generators to only 502 # TODO(jrg): Update this action and other jni generators to only
496 # require specifying the java directory and generate the rest. 503 # require specifying the java directory and generate the rest.
497 'target_name': 'content_shell_jni_headers', 504 'target_name': 'content_shell_jni_headers',
498 'type': 'none', 505 'type': 'none',
499 'variables': { 506 'variables': {
500 'java_sources': [ 507 'java_sources': [
501 'shell/android/java/src/org/chromium/content_shell/ShellManager.ja va', 508 'shell/android/java/src/org/chromium/content_shell/ShellManager.ja va',
502 'shell/android/java/src/org/chromium/content_shell/ShellView.java' , 509 'shell/android/java/src/org/chromium/content_shell/Shell.java',
503 ], 510 ],
504 'jni_headers': [ 511 'jni_headers': [
505 '<(SHARED_INTERMEDIATE_DIR)/content/shell/jni/shell_manager_jni.h' , 512 '<(SHARED_INTERMEDIATE_DIR)/content/shell/jni/shell_manager_jni.h' ,
506 '<(SHARED_INTERMEDIATE_DIR)/content/shell/jni/shell_view_jni.h', 513 '<(SHARED_INTERMEDIATE_DIR)/content/shell/jni/shell_jni.h',
507 ], 514 ],
508 }, 515 },
509 'includes': [ '../build/jni_generator.gypi' ], 516 'includes': [ '../build/jni_generator.gypi' ],
510 }, 517 },
511 { 518 {
512 'target_name': 'libcontent_shell_content_view', 519 'target_name': 'libcontent_shell_content_view',
513 'type': 'shared_library', 520 'type': 'shared_library',
514 'dependencies': [ 521 'dependencies': [
515 'content_shell_jni_headers', 522 'content_shell_jni_headers',
516 'content_shell_lib', 523 'content_shell_lib',
517 'content_shell_pak', 524 'content_shell_pak',
518 # Skia is necessary to ensure the dependencies needed by 525 # Skia is necessary to ensure the dependencies needed by
519 # WebContents are included. 526 # WebContents are included.
520 '../skia/skia.gyp:skia', 527 '../skia/skia.gyp:skia',
521 '<(DEPTH)/media/media.gyp:player_android', 528 '<(DEPTH)/media/media.gyp:player_android',
522 ], 529 ],
523 'include_dirs': [ 530 'include_dirs': [
524 '<(SHARED_INTERMEDIATE_DIR)/content/shell', 531 '<(SHARED_INTERMEDIATE_DIR)/content/shell',
525 ], 532 ],
526 'sources': [ 533 'sources': [
527 'shell/android/shell_library_loader.cc', 534 'shell/android/shell_library_loader.cc',
528 'shell/android/shell_library_loader.h', 535 'shell/android/shell_library_loader.h',
529 'shell/android/shell_manager.cc', 536 'shell/android/shell_manager.cc',
530 'shell/android/shell_manager.h', 537 'shell/android/shell_manager.h',
531 'shell/android/shell_view.cc',
532 'shell/android/shell_view.h',
533 ], 538 ],
534 'sources!': [ 539 'sources!': [
535 'shell/shell_main.cc', 540 'shell/shell_main.cc',
536 'shell/shell_main.h', 541 'shell/shell_main.h',
537 ], 542 ],
538 'conditions': [ 543 'conditions': [
539 ['android_build_type==1', { 544 ['android_build_type==1', {
540 'ldflags': [ 545 'ldflags': [
541 '-lgabi++', # For rtti 546 '-lgabi++', # For rtti
542 ], 547 ],
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 '-buildfile', 647 '-buildfile',
643 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml', 648 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk .xml',
644 ] 649 ]
645 } 650 }
646 ], 651 ],
647 }, 652 },
648 ], 653 ],
649 }], # OS=="android" 654 }], # OS=="android"
650 ] 655 ]
651 } 656 }
OLDNEW
« no previous file with comments | « no previous file | content/shell/android/java/src/org/chromium/content_shell/ContentShellActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698