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 # TODO(torne): This is vaguely based on the downstream android target | 10 'target_name': 'libwebview', |
11 # "chromeview_core" and once that target has been upstreamed we should | 11 'type': 'shared_library', |
12 # just depend on it instead. | |
13 'target_name': 'webview_core', | |
14 'type': 'static_library', | |
15 'dependencies': [ | 12 'dependencies': [ |
16 '../../chrome/chrome.gyp:browser', | 13 '../../chrome/chrome.gyp:browser', |
17 '../../chrome/chrome.gyp:renderer', | 14 '../../chrome/chrome.gyp:renderer', |
18 '../../content/content.gyp:content', | 15 '../../content/content.gyp:content', |
19 ], | 16 ], |
20 'include_dirs': [ | 17 'include_dirs': [ |
21 '../..', | 18 '../..', |
22 ], | 19 ], |
23 }, | |
24 { | |
25 'target_name': 'libwebview', | |
26 'type': 'shared_library', | |
27 'dependencies': [ | |
28 'webview_core', | |
29 ], | |
30 'include_dirs': [ | |
31 '../..', | |
32 ], | |
33 'sources': [ | 20 'sources': [ |
34 'main/webview_entry_point.cc', | 21 'main/webview_entry_point.cc', |
35 'main/webview_main_delegate.cc', | 22 'main/webview_main_delegate.cc', |
36 'main/webview_main_delegate.h', | 23 'main/webview_main_delegate.h', |
37 'main/webview_stubs.cc', | 24 'main/webview_stubs.cc', |
38 ], | 25 ], |
39 }, | 26 }, |
40 ], | 27 ], |
41 } | 28 } |
42 | 29 |
43 # Local Variables: | 30 # Local Variables: |
44 # tab-width:2 | 31 # tab-width:2 |
45 # indent-tabs-mode:nil | 32 # indent-tabs-mode:nil |
46 # End: | 33 # End: |
47 # vim: set expandtab tabstop=2 shiftwidth=2: | 34 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |