OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GN version: //components/component_updater |
8 'target_name': 'component_updater', | 9 'target_name': 'component_updater', |
9 'type': 'static_library', | 10 'type': 'static_library', |
10 'dependencies': [ | 11 'dependencies': [ |
11 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
12 '../courgette/courgette.gyp:courgette_lib', | 13 '../courgette/courgette.gyp:courgette_lib', |
13 '../crypto/crypto.gyp:crypto', | 14 '../crypto/crypto.gyp:crypto', |
14 '../third_party/libxml/libxml.gyp:libxml', | 15 '../third_party/libxml/libxml.gyp:libxml', |
15 '../third_party/zlib/zlib.gyp:zlib', | 16 '../third_party/zlib/google/zip.gyp:zip', |
16 '../net/net.gyp:net', | 17 '../net/net.gyp:net', |
17 '../ui/base/ui_base.gyp:ui_base', | 18 '../ui/base/ui_base.gyp:ui_base', |
18 'crx_file', | 19 'crx_file', |
19 'omaha_query_params', | 20 'omaha_query_params', |
20 ], | 21 ], |
21 'include_dirs': [ | 22 'include_dirs': [ |
22 '..', | 23 '..', |
23 ], | 24 ], |
24 'sources': [ | 25 'sources': [ |
25 'component_updater/background_downloader_win.cc', | 26 'component_updater/background_downloader_win.cc', |
(...skipping 24 matching lines...) Expand all Loading... |
50 'component_updater/pref_names.h', | 51 'component_updater/pref_names.h', |
51 'component_updater/update_checker.cc', | 52 'component_updater/update_checker.cc', |
52 'component_updater/update_checker.h', | 53 'component_updater/update_checker.h', |
53 'component_updater/update_response.cc', | 54 'component_updater/update_response.cc', |
54 'component_updater/update_response.h', | 55 'component_updater/update_response.h', |
55 'component_updater/url_fetcher_downloader.cc', | 56 'component_updater/url_fetcher_downloader.cc', |
56 'component_updater/url_fetcher_downloader.h', | 57 'component_updater/url_fetcher_downloader.h', |
57 ], | 58 ], |
58 }, | 59 }, |
59 ], | 60 ], |
| 61 |
| 62 'conditions': [ |
| 63 ['OS != "ios"', { |
| 64 'targets': [ |
| 65 { |
| 66 # GN version: //components/component_updater:test_support |
| 67 'target_name': 'component_updater_test_support', |
| 68 'type': 'static_library', |
| 69 'dependencies': [ |
| 70 'component_updater', |
| 71 '../testing/gmock.gyp:gmock', |
| 72 '../testing/gtest.gyp:gtest', |
| 73 ], |
| 74 'sources': [ |
| 75 'component_updater/test/test_configurator.cc', |
| 76 'component_updater/test/test_configurator.h', |
| 77 'component_updater/test/test_installer.cc', |
| 78 'component_updater/test/test_installer.h', |
| 79 'component_updater/test/url_request_post_interceptor.cc', |
| 80 'component_updater/test/url_request_post_interceptor.h', |
| 81 ], |
| 82 }, |
| 83 ], |
| 84 }], |
| 85 ], |
60 } | 86 } |
OLD | NEW |