OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'blob', | 8 'target_name': 'blob', |
9 'type': 'static_library', | 9 'type': '<(component)', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '<(DEPTH)/base/base.gyp:base', | 11 '<(DEPTH)/base/base.gyp:base', |
| 12 '<(DEPTH)/base/base.gyp:base_i18n', |
| 13 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 14 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
12 '<(DEPTH)/net/net.gyp:net', | 15 '<(DEPTH)/net/net.gyp:net', |
13 ], | 16 ], |
| 17 'defines': [ |
| 18 'BLOB_IMPLEMENTATION' |
| 19 ], |
14 'sources': [ | 20 'sources': [ |
15 'blob_data.cc', | 21 'blob_data.cc', |
16 'blob_data.h', | 22 'blob_data.h', |
17 'blob_storage_controller.cc', | 23 'blob_storage_controller.cc', |
18 'blob_storage_controller.h', | 24 'blob_storage_controller.h', |
19 'blob_url_request_job.cc', | 25 'blob_url_request_job.cc', |
20 'blob_url_request_job.h', | 26 'blob_url_request_job.h', |
21 'blob_url_request_job_factory.cc', | 27 'blob_url_request_job_factory.cc', |
22 'blob_url_request_job_factory.h', | 28 'blob_url_request_job_factory.h', |
23 'deletable_file_reference.cc', | 29 'deletable_file_reference.cc', |
24 'deletable_file_reference.h', | 30 'deletable_file_reference.h', |
25 'view_blob_internals_job.cc', | 31 'view_blob_internals_job.cc', |
26 'view_blob_internals_job.h', | 32 'view_blob_internals_job.h', |
27 ], | 33 ], |
28 'conditions': [ | 34 'conditions': [ |
29 ['inside_chromium_build==0', { | 35 ['inside_chromium_build==0', { |
30 'dependencies': [ | 36 'dependencies': [ |
31 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 37 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
32 ], | 38 ], |
33 }], | 39 }], |
| 40 # TODO(dpranke): Figure out why this works at all and/or get |
| 41 # rid of it. |
| 42 ['OS=="win" and component == "shared_library"', { |
| 43 'dependencies': [ |
| 44 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
| 45 ], |
| 46 }], |
34 ], | 47 ], |
35 }, | 48 }, |
36 ], | 49 ], |
37 } | 50 } |
OLD | NEW |