| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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': 'browsing_data', | 8 # GN version: //components/browsing_data/core |
| 9 'target_name': 'browsing_data_core', |
| 9 'type': 'static_library', | 10 'type': 'static_library', |
| 10 'dependencies': [ | 11 'dependencies': [ |
| 11 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 12 '../content/content.gyp:content_browser', | |
| 13 '../net/net.gyp:net', | |
| 14 ], | 13 ], |
| 15 'include_dirs': [ | 14 'include_dirs': [ |
| 16 '..', | 15 '..', |
| 17 ], | 16 ], |
| 18 'sources': [ | 17 'sources': [ |
| 19 # Note: sources list duplicated in GN build. | 18 # Note: sources list duplicated in GN build. |
| 20 'browsing_data/browsing_data_utils.cc', | 19 'browsing_data/core/browsing_data_utils.cc', |
| 21 'browsing_data/browsing_data_utils.h', | 20 'browsing_data/core/browsing_data_utils.h', |
| 22 'browsing_data/conditional_cache_deletion_helper.cc', | 21 'browsing_data/core/pref_names.cc', |
| 23 'browsing_data/conditional_cache_deletion_helper.h', | 22 'browsing_data/core/pref_names.h', |
| 24 'browsing_data/pref_names.cc', | 23 'browsing_data/core/counters/browsing_data_counter.cc', |
| 25 'browsing_data/pref_names.h', | 24 'browsing_data/core/counters/browsing_data_counter.h', |
| 26 'browsing_data/storage_partition_http_cache_data_remover.cc', | |
| 27 'browsing_data/storage_partition_http_cache_data_remover.h', | |
| 28 'browsing_data/counters/browsing_data_counter.cc', | |
| 29 'browsing_data/counters/browsing_data_counter.h', | |
| 30 ], | 25 ], |
| 31 }, | 26 }, |
| 32 ], | 27 ], |
| 33 'conditions': [ | 28 'conditions': [ |
| 34 ['OS == "android"', { | 29 ['OS == "android"', { |
| 35 'targets': [ | 30 'targets': [ |
| 36 { | 31 { |
| 37 # GN: //components/browsing_data:browsing_data_utils_java | 32 # GN: //components/browsing_data/core:browsing_data_utils_java |
| 38 'target_name': 'browsing_data_utils_java', | 33 'target_name': 'browsing_data_utils_java', |
| 39 'type': 'none', | 34 'type': 'none', |
| 40 'variables': { | 35 'variables': { |
| 41 'source_file': 'components/browsing_data/browsing_data_utils.h', | 36 'source_file': 'components/browsing_data/core/browsing_data_utils.h'
, |
| 42 }, | 37 }, |
| 43 'includes': [ '../build/android/java_cpp_enum.gypi' ], | 38 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 44 }, | 39 }, |
| 45 ] | 40 ], |
| 46 }], | 41 }], |
| 47 ], | 42 ['OS != "ios"', { |
| 48 | 43 'targets': [ |
| 44 { |
| 45 #GN version: //components/browsing_data/content |
| 46 'target_name': 'browsing_data_content', |
| 47 'type': 'static_library', |
| 48 'dependencies': [ |
| 49 '../base/base.gyp:base', |
| 50 '../content/content.gyp:content_browser', |
| 51 '../net/net.gyp:net', |
| 52 ], |
| 53 'include_dirs': [ |
| 54 '..', |
| 55 ], |
| 56 'sources': [ |
| 57 # Note: sources list duplicated in GN build. |
| 58 'browsing_data/content/conditional_cache_deletion_helper.cc', |
| 59 'browsing_data/content/conditional_cache_deletion_helper.h', |
| 60 'browsing_data/content/storage_partition_http_cache_data_remover.cc'
, |
| 61 'browsing_data/content/storage_partition_http_cache_data_remover.h', |
| 62 ], |
| 63 }, |
| 64 ], |
| 65 }], |
| 66 ], |
| 49 } | 67 } |
| OLD | NEW |