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 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 # Disable narrowing-conversion-in-initialization-list warnings in that we | 7 # Disable narrowing-conversion-in-initialization-list warnings in that we |
8 # do not want to fix it in data file "webcursor_gtk_data.h". | 8 # do not want to fix it in data file "webcursor_gtk_data.h". |
9 'cflags+': ['-Wno-narrowing'], | 9 'cflags+': ['-Wno-narrowing'], |
10 'cflags_cc+': ['-Wno-narrowing'], | 10 'cflags_cc+': ['-Wno-narrowing'], |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 }, | 56 }, |
57 | 57 |
58 { | 58 { |
59 'target_name': 'glue_child', | 59 'target_name': 'glue_child', |
60 'type': '<(component)', | 60 'type': '<(component)', |
61 'variables': { 'enable_wexit_time_destructors': 1, }, | 61 'variables': { 'enable_wexit_time_destructors': 1, }, |
62 'defines': [ | 62 'defines': [ |
63 'WEBKIT_CHILD_IMPLEMENTATION', | 63 'WEBKIT_CHILD_IMPLEMENTATION', |
64 ], | 64 ], |
65 'dependencies': [ | 65 'dependencies': [ |
| 66 '<(DEPTH)/base/base.gyp:base', |
66 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 67 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 68 '<(DEPTH)/ui/ui.gyp:ui', |
67 | 69 |
68 # TODO(scottmg): crbug.com/237249 | 70 # TODO(scottmg): crbug.com/237249 |
69 'glue', | 71 'glue', |
70 ], | 72 ], |
71 | 73 |
| 74 'include_dirs': [ |
| 75 # For JNI generated header. |
| 76 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 77 ], |
| 78 |
72 'sources': [ | 79 'sources': [ |
| 80 '../child/fling_animator_impl_android.cc', |
| 81 '../child/fling_animator_impl_android.h', |
| 82 '../child/fling_curve_configuration.cc', |
| 83 '../child/fling_curve_configuration.h', |
| 84 '../child/webkit_child_export.h', |
73 '../child/webkitplatformsupport_child_impl.cc', | 85 '../child/webkitplatformsupport_child_impl.cc', |
74 '../child/webkitplatformsupport_child_impl.h', | 86 '../child/webkitplatformsupport_child_impl.h', |
75 ], | 87 ], |
76 | 88 |
77 'conditions': [ | 89 'conditions': [ |
78 ['component=="shared_library"', { | 90 ['OS=="android"', { |
79 'dependencies': [ | 91 'dependencies': [ |
80 '<(DEPTH)/base/base.gyp:base', | 92 'overscroller_jni_headers', |
81 ], | 93 ], |
82 }], | 94 }], |
83 ], | 95 ], |
84 }, | 96 }, |
85 | 97 |
86 { | 98 { |
87 'target_name': 'glue_common', | 99 'target_name': 'glue_common', |
88 'type': '<(component)', | 100 'type': '<(component)', |
89 'variables': { 'enable_wexit_time_destructors': 1, }, | 101 'variables': { 'enable_wexit_time_destructors': 1, }, |
90 'defines': [ | 102 'defines': [ |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 'webkit_strings', | 225 'webkit_strings', |
214 ], | 226 ], |
215 'include_dirs': [ | 227 'include_dirs': [ |
216 '<(INTERMEDIATE_DIR)', | 228 '<(INTERMEDIATE_DIR)', |
217 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 229 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
218 '<(SHARED_INTERMEDIATE_DIR)/ui', | 230 '<(SHARED_INTERMEDIATE_DIR)/ui', |
219 ], | 231 ], |
220 'sources': [ | 232 'sources': [ |
221 'cursor_utils.cc', | 233 'cursor_utils.cc', |
222 'cursor_utils.h', | 234 'cursor_utils.h', |
223 'fling_curve_configuration.cc', | |
224 'fling_curve_configuration.h', | |
225 'fling_animator_impl_android.cc', | |
226 'fling_animator_impl_android.h', | |
227 'ftp_directory_listing_response_delegate.cc', | 235 'ftp_directory_listing_response_delegate.cc', |
228 'ftp_directory_listing_response_delegate.h', | 236 'ftp_directory_listing_response_delegate.h', |
229 'glue_serialize_deprecated.cc', | 237 'glue_serialize_deprecated.cc', |
230 'glue_serialize_deprecated.h', | 238 'glue_serialize_deprecated.h', |
231 'image_decoder.cc', | 239 'image_decoder.cc', |
232 'image_decoder.h', | 240 'image_decoder.h', |
233 'network_list_observer.h', | 241 'network_list_observer.h', |
234 'npruntime_util.cc', | 242 'npruntime_util.cc', |
235 'npruntime_util.h', | 243 'npruntime_util.h', |
236 'resource_loader_bridge.cc', | 244 'resource_loader_bridge.cc', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 'dependencies': [ | 349 'dependencies': [ |
342 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | 350 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
343 ], | 351 ], |
344 'export_dependent_settings': [ | 352 'export_dependent_settings': [ |
345 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | 353 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', |
346 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 354 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
347 ], | 355 ], |
348 }], | 356 }], |
349 ], | 357 ], |
350 }], | 358 }], |
351 ['OS=="android"', { | |
352 'dependencies': [ | |
353 'overscroller_jni_headers', | |
354 ], | |
355 }], | |
356 | |
357 ], | 359 ], |
358 }, | 360 }, |
359 ], | 361 ], |
360 'conditions': [ | 362 'conditions': [ |
361 ['use_third_party_translations==1', { | 363 ['use_third_party_translations==1', { |
362 'targets': [ | 364 'targets': [ |
363 { | 365 { |
364 'target_name': 'inspector_strings', | 366 'target_name': 'inspector_strings', |
365 'type': 'none', | 367 'type': 'none', |
366 'variables': { | 368 'variables': { |
(...skipping 20 matching lines...) Expand all Loading... |
387 'variables': { | 389 'variables': { |
388 'jni_gen_package': 'webkit', | 390 'jni_gen_package': 'webkit', |
389 'input_java_class': 'android/widget/OverScroller.class', | 391 'input_java_class': 'android/widget/OverScroller.class', |
390 }, | 392 }, |
391 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | 393 'includes': [ '../../build/jar_file_jni_generator.gypi' ], |
392 }, | 394 }, |
393 ], | 395 ], |
394 }], | 396 }], |
395 ], | 397 ], |
396 } | 398 } |
OLD | NEW |