OLD | NEW |
1 # Copyright 2009 The Chromium Authors. All rights reserved. | 1 # Copyright 2009 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 'includes': [ | 8 'includes': [ |
9 'android_webview_tests.gypi', | 9 'android_webview_tests.gypi', |
10 ], | 10 ], |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'libwebviewchromium', | 13 'target_name': 'libwebviewchromium', |
14 'type': 'shared_library', | 14 'type': 'shared_library', |
15 'android_unmangled_name': 1, | 15 'android_unmangled_name': 1, |
16 'dependencies': [ | 16 'dependencies': [ |
17 'android_webview_common', | 17 'android_webview_common', |
18 ], | 18 ], |
| 19 'conditions': [ |
| 20 # The general approach is to allow the executable target to choose |
| 21 # the allocator, but as in the WebView case we are building a library |
| 22 # only, put the dependency on the allocator here |
| 23 [ 'android_webview_build==1 and android_use_tcmalloc==1', { |
| 24 'dependencies': [ |
| 25 '../base/allocator/allocator.gyp:allocator', ], |
| 26 }], |
| 27 ], |
19 'ldflags': [ | 28 'ldflags': [ |
20 # fix linking to hidden symbols and re-enable this (crbug.com/157326) | 29 # fix linking to hidden symbols and re-enable this (crbug.com/157326) |
21 '-Wl,--no-fatal-warnings' | 30 '-Wl,--no-fatal-warnings' |
22 ], | 31 ], |
23 'sources': [ | 32 'sources': [ |
24 'lib/main/webview_entry_point.cc', | 33 'lib/main/webview_entry_point.cc', |
25 ], | 34 ], |
26 }, | 35 }, |
27 { | 36 { |
28 'target_name': 'android_webview_pak', | 37 'target_name': 'android_webview_pak', |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 '../content/content.gyp:content_java', | 192 '../content/content.gyp:content_java', |
184 '../ui/ui.gyp:ui_java', | 193 '../ui/ui.gyp:ui_java', |
185 ], | 194 ], |
186 'variables': { | 195 'variables': { |
187 'java_in_dir': '../android_webview/java', | 196 'java_in_dir': '../android_webview/java', |
188 }, | 197 }, |
189 'includes': [ '../build/java.gypi' ], | 198 'includes': [ '../build/java.gypi' ], |
190 }, | 199 }, |
191 ], | 200 ], |
192 } | 201 } |
OLD | NEW |