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

Unified Diff: android_webview/libwebviewchromium.gypi

Issue 477903003: Make the WebView apk build in the Chrome tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/libwebviewchromium.gypi
diff --git a/android_webview/libwebviewchromium.gypi b/android_webview/libwebviewchromium.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..1793e4972aebbdee7e50dc0e5d3718519aefe42d
--- /dev/null
+++ b/android_webview/libwebviewchromium.gypi
@@ -0,0 +1,51 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'type': 'shared_library',
+ 'android_unmangled_name': 1,
+ 'dependencies': [
+ '../android_webview/android_webview.gyp:android_webview_common',
+ ],
+ 'conditions': [
+ [ 'android_webview_build==1', {
+ # When building inside the android tree we also need to depend on all
+ # the java sources generated from templates which will be needed by
+ # android_webview_java in android_webview/java_library_common.mk.
+ 'dependencies': [
+ '../base/base.gyp:base_java_application_state',
+ '../base/base.gyp:base_java_memory_pressure_level_list',
+ '../content/content.gyp:content_gamepad_mapping',
+ '../content/content.gyp:gesture_event_type_java',
+ '../content/content.gyp:page_transition_types_java',
+ '../content/content.gyp:popup_item_type_java',
+ '../content/content.gyp:result_codes_java',
+ '../content/content.gyp:screen_orientation_values_java',
+ '../content/content.gyp:selection_event_type_java',
+ '../content/content.gyp:speech_recognition_error_java',
+ '../media/media.gyp:media_android_imageformat_list',
+ '../net/net.gyp:cert_verify_status_android_java',
+ '../net/net.gyp:certificate_mime_types_java',
+ '../net/net.gyp:net_errors_java',
+ '../net/net.gyp:private_key_types_java',
+ '../ui/android/ui_android.gyp:bitmap_format_java',
+ '../ui/android/ui_android.gyp:window_open_disposition_java',
+ ],
+ }],
+ [ 'android_webview_build==1 and use_system_skia==0', {
+ # When not using the system skia there are linker warnings about
+ # overriden hidden symbols which there's no easy way to eliminate;
+ # disable them. http://crbug.com/157326
+ 'ldflags': [
+ '-Wl,--no-fatal-warnings',
+ ],
+ 'ldflags!': [
+ '-Wl,--fatal-warnings',
+ ],
+ }],
+ ],
+ 'sources': [
+ 'lib/main/webview_entry_point.cc',
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698