| 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 'ldflags': [ | 19 'ldflags': [ |
| 20 # fix linking to hidden symbols and re-enable this (crbug.com/157326) | 20 # fix linking to hidden symbols and re-enable this (crbug.com/157326) |
| 21 '-Wl,--no-fatal-warnings' | 21 '-Wl,--no-fatal-warnings' |
| 22 ], | 22 ], |
| 23 'sources': [ | 23 'sources': [ |
| 24 'lib/main/webview_entry_point.cc', | 24 'lib/main/webview_entry_point.cc', |
| 25 ], | 25 ], |
| 26 'conditions': [ | |
| 27 ['android_webview_build == 1', { | |
| 28 'libraries': [ | |
| 29 # The "android" gyp backend doesn't quite handle static libraries' | |
| 30 # dependencies correctly; force this to be linked as a workaround. | |
| 31 'cpufeatures.a', | |
| 32 '-lcutils', | |
| 33 ], | |
| 34 }], | |
| 35 ], | |
| 36 }, | 26 }, |
| 37 { | 27 { |
| 38 'target_name': 'android_webview_pak', | 28 'target_name': 'android_webview_pak', |
| 39 'type': 'none', | 29 'type': 'none', |
| 40 'dependencies': [ | 30 'dependencies': [ |
| 41 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resou
rces', | 31 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resou
rces', |
| 42 '<(DEPTH)/content/content_resources.gyp:content_resources', | 32 '<(DEPTH)/content/content_resources.gyp:content_resources', |
| 43 '<(DEPTH)/net/net.gyp:net_resources', | 33 '<(DEPTH)/net/net.gyp:net_resources', |
| 44 '<(DEPTH)/ui/ui.gyp:ui_resources', | 34 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 45 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', | 35 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 '../content/content.gyp:content_java', | 191 '../content/content.gyp:content_java', |
| 202 '../ui/ui.gyp:ui_java', | 192 '../ui/ui.gyp:ui_java', |
| 203 ], | 193 ], |
| 204 'variables': { | 194 'variables': { |
| 205 'java_in_dir': '../android_webview/java', | 195 'java_in_dir': '../android_webview/java', |
| 206 }, | 196 }, |
| 207 'includes': [ '../build/java.gypi' ], | 197 'includes': [ '../build/java.gypi' ], |
| 208 }, | 198 }, |
| 209 ], | 199 ], |
| 210 } | 200 } |
| OLD | NEW |