1 # Copyright (c) 2012 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 'variables': { 7 'chromium_code': 1, 8 }, 9 'targets': [ 10 { 11 'target_name': 'web_dialogs', 12 'type': '<(component)', 13 'dependencies': [ 14 '../../base/base.gyp:base', 15 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 16 '../../content/content.gyp:content_browser', 17 '../../skia/skia.gyp:skia', 18 ], 19 'defines': [ 20 'WEB_DIALOGS_IMPLEMENTATION', 21 ], 22 'sources': [ 23 # All .cc, .h under web_dialogs, except unittests. 24 'web_dialog_delegate.cc', 25 'web_dialog_delegate.h', 26 'web_dialog_observer.h', 27 'web_dialog_ui.cc', 28 'web_dialog_ui.h', 29 'web_dialog_web_contents_delegate.cc', 30 'web_dialog_web_contents_delegate.h', 31 'web_dialogs_export.h', 32 ], 33 }, 34 { 35 'target_name': 'web_dialogs_test_support', 36 'type': 'static_library', 37 'dependencies': [ 38 '../../base/base.gyp:base', 39 '../../content/content.gyp:content_browser', 40 '../../skia/skia.gyp:skia', 41 'web_dialogs', 42 ], 43 'sources': [ 44 'test/test_web_contents_handler.cc', 45 'test/test_web_contents_handler.h', 46 'test/test_web_dialog_delegate.cc', 47 'test/test_web_dialog_delegate.h', 48 'test/test_web_dialog_observer.cc', 49 'test/test_web_dialog_observer.h', 50 ], 51 }, 52 ], 53 } 54