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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'libwebview', | 10 'target_name': 'libwebview', |
11 'type': 'shared_library', | 11 'type': 'shared_library', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../../chrome/chrome.gyp:browser', | 13 '../../chrome/chrome.gyp:browser', |
14 '../../chrome/chrome.gyp:renderer', | 14 '../../chrome/chrome.gyp:renderer', |
15 '../../content/content.gyp:content', | 15 '../../content/content.gyp:content', |
| 16 '../native/webview_native.gyp:webview_native', |
16 ], | 17 ], |
17 'include_dirs': [ | 18 'include_dirs': [ |
18 '../..', | 19 '../..', |
| 20 '../../skia/config', |
19 ], | 21 ], |
20 'sources': [ | 22 'sources': [ |
21 'main/webview_entry_point.cc', | 23 'main/webview_entry_point.cc', |
22 'main/webview_main_delegate.cc', | 24 'main/webview_main_delegate.cc', |
23 'main/webview_main_delegate.h', | 25 'main/webview_main_delegate.h', |
24 'main/webview_stubs.cc', | 26 'main/webview_stubs.cc', |
25 ], | 27 ], |
26 }, | 28 }, |
| 29 { |
| 30 'target_name': 'android_webview', |
| 31 'type' : 'none', |
| 32 'dependencies': [ |
| 33 'libwebview', |
| 34 ], |
| 35 'variables': { |
| 36 'install_binary_script': '../build/install_binary', |
| 37 }, |
| 38 'actions': [ |
| 39 { |
| 40 'action_name': 'libwebview_strip_and_install_in_android', |
| 41 'inputs': [ |
| 42 '<(SHARED_LIB_DIR)/libwebview.so', |
| 43 ], |
| 44 'outputs': [ |
| 45 '<(android_product_out)/obj/lib/libwebview.so', |
| 46 '<(android_product_out)/system/lib/libwebview.so', |
| 47 '<(android_product_out)/symbols/system/lib/libwebview.so', |
| 48 ], |
| 49 'action': [ |
| 50 '<(install_binary_script)', |
| 51 '<@(_inputs)', |
| 52 '<@(_outputs)', |
| 53 ], |
| 54 }, |
| 55 ], |
| 56 }, |
27 ], | 57 ], |
28 } | 58 } |
29 | 59 |
30 # Local Variables: | 60 # Local Variables: |
31 # tab-width:2 | 61 # tab-width:2 |
32 # indent-tabs-mode:nil | 62 # indent-tabs-mode:nil |
33 # End: | 63 # End: |
34 # vim: set expandtab tabstop=2 shiftwidth=2: | 64 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |