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/captive_portal 9 'target_name': 'captive_portal', 10 'type': '<(component)', 11 'dependencies': [ 12 '../base/base.gyp:base', 13 '../net/net.gyp:net', 14 '../url/url.gyp:url_lib', 15 ], 16 'include_dirs': [ 17 '..', 18 ], 19 'defines': [ 20 'CAPTIVE_PORTAL_IMPLEMENTATION', 21 ], 22 'sources': [ 23 # Note: sources list duplicated in GN build. 24 'captive_portal/captive_portal_detector.cc', 25 'captive_portal/captive_portal_detector.h', 26 'captive_portal/captive_portal_types.cc', 27 'captive_portal/captive_portal_types.h', 28 'captive_portal/captive_portal_export.h', 29 ], 30 }, 31 { 32 # GN version: //components/captive_portal:test_support 33 'target_name': 'captive_portal_test_support', 34 'type': 'static_library', 35 'dependencies': [ 36 'captive_portal', 37 '../base/base.gyp:base', 38 '../net/net.gyp:net', 39 '../url/url.gyp:url_lib', 40 ], 41 'sources': [ 42 # Note: sources list duplicated in GN build. 43 'captive_portal/captive_portal_testing_utils.cc', 44 'captive_portal/captive_portal_testing_utils.h', 45 ], 46 }, 47 ], 48} 49