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 3 # found in the LICENSE file. 4 5 { 6 'targets': [ 7 { 8 # GN version: //components/content_settings/core/browser 9 'target_name': 'content_settings_core_browser', 10 'type': 'static_library', 11 'dependencies': [ 12 '../base/base.gyp:base', 13 'content_settings_core_common', 14 ], 15 'variables': { 'enable_wexit_time_destructors': 1, }, 16 'include_dirs': [ 17 '..', 18 ], 19 'sources': [ 20 # Note: sources list duplicated in GN build. 21 'content_settings/core/browser/content_settings_details.cc', 22 'content_settings/core/browser/content_settings_details.h', 23 'content_settings/core/browser/content_settings_observer.h', 24 'content_settings/core/browser/content_settings_provider.h', 25 'content_settings/core/browser/content_settings_observable_provider.cc', 26 'content_settings/core/browser/content_settings_observable_provider.h', 27 'content_settings/core/browser/content_settings_origin_identifier_value_map.cc', 28 'content_settings/core/browser/content_settings_origin_identifier_value_map.h', 29 'content_settings/core/browser/content_settings_rule.cc', 30 'content_settings/core/browser/content_settings_rule.h', 31 ], 32 }, 33 { 34 # GN version: //components/content_settings/core/common 35 'target_name': 'content_settings_core_common', 36 'type': 'static_library', 37 'dependencies': [ 38 '../base/base.gyp:base', 39 '../net/net.gyp:net', 40 '../url/url.gyp:url_lib', 41 ], 42 'variables': { 'enable_wexit_time_destructors': 1, }, 43 'include_dirs': [ 44 '..', 45 ], 46 'sources': [ 47 # Note: sources list duplicated in GN build. 48 'content_settings/core/common/content_settings.cc', 49 'content_settings/core/common/content_settings.h', 50 'content_settings/core/common/content_settings_pattern.cc', 51 'content_settings/core/common/content_settings_pattern.h', 52 'content_settings/core/common/content_settings_pattern_parser.cc', 53 'content_settings/core/common/content_settings_pattern_parser.h', 54 'content_settings/core/common/content_settings_types.h', 55 'content_settings/core/common/permission_request_id.h', 56 'content_settings/core/common/permission_request_id.cc', 57 ], 58 }, 59 ], 60 } 61