| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 { | 6 { |
| 7 'targets': [ | 7 'conditions': [ |
| 8 { | 8 ['OS=="android"', { |
| 9 'target_name': 'web_contents_delegate_android', | 9 'targets': [ |
| 10 'type': 'static_library', | 10 { |
| 11 'dependencies': [ | 11 'target_name': 'web_contents_delegate_android', |
| 12 '../../../base/base.gyp:base', | 12 'type': 'static_library', |
| 13 '../../../content/content.gyp:content_browser', | 13 'dependencies': [ |
| 14 '../../../content/content.gyp:content_common', | 14 '../../../base/base.gyp:base', |
| 15 '../../../net/net.gyp:net', | 15 '../../../content/content.gyp:content_browser', |
| 16 '../../../skia/skia.gyp:skia', | 16 '../../../content/content.gyp:content_common', |
| 17 '../../../ui/ui.gyp:ui', | 17 '../../../net/net.gyp:net', |
| 18 '../../../webkit/support/webkit_support.gyp:glue', | 18 '../../../skia/skia.gyp:skia', |
| 19 'browser_component_jni_headers', | 19 '../../../ui/ui.gyp:ui', |
| 20 '../../../webkit/support/webkit_support.gyp:glue', |
| 21 'browser_component_jni_headers', |
| 22 ], |
| 23 'include_dirs': [ |
| 24 '../../..', |
| 25 '../../../skia/config', |
| 26 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_component', |
| 27 ], |
| 28 'sources': [ |
| 29 'component_jni_registrar.cc', |
| 30 'component_jni_registrar.h', |
| 31 'web_contents_delegate_android.cc', |
| 32 'web_contents_delegate_android.h', |
| 33 ], |
| 34 }, |
| 35 { |
| 36 'target_name': 'web_contents_delegate_android_java', |
| 37 'type': 'none', |
| 38 'dependencies': [ |
| 39 '<(DEPTH)/base/base.gyp:base', |
| 40 ], |
| 41 'variables': { |
| 42 'package_name': 'web_contents_delegate_android', |
| 43 'java_in_dir': 'java', |
| 44 }, |
| 45 'includes': [ '../../../../build/java.gypi' ], |
| 46 }, |
| 20 ], | 47 ], |
| 21 'include_dirs': [ | 48 }], |
| 22 '../../..', | |
| 23 '../../../skia/config', | |
| 24 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_component', | |
| 25 ], | |
| 26 'sources': [ | |
| 27 'component_jni_registrar.cc', | |
| 28 'component_jni_registrar.h', | |
| 29 'web_contents_delegate_android.cc', | |
| 30 'web_contents_delegate_android.h', | |
| 31 ], | |
| 32 }, | |
| 33 { | |
| 34 'target_name': 'web_contents_delegate_android_java', | |
| 35 'type': 'none', | |
| 36 'dependencies': [ | |
| 37 '<(DEPTH)/base/base.gyp:base', | |
| 38 ], | |
| 39 'variables': { | |
| 40 'package_name': 'web_contents_delegate_android', | |
| 41 'java_in_dir': 'java', | |
| 42 }, | |
| 43 'includes': [ '../../../../build/java.gypi' ], | |
| 44 }, | |
| 45 ], | 49 ], |
| 46 } | 50 } |
| OLD | NEW |