1 # Copyright (c) 2013 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 'target_name': 'web_modal', 9 'type': 'static_library', 10 'include_dirs': [ 11 '..', 12 ], 13 'dependencies': [ 14 '../base/base.gyp:base', 15 '../content/content.gyp:content_browser', 16 '../skia/skia.gyp:skia', 17 ], 18 'defines': [ 19 'WEB_MODAL_IMPLEMENTATION', 20 ], 21 'sources': [ 22 'web_modal/modal_dialog_host.cc', 23 'web_modal/modal_dialog_host.h', 24 'web_modal/native_web_contents_modal_dialog.h', 25 'web_modal/native_web_contents_modal_dialog_manager.h', 26 'web_modal/web_contents_modal_dialog_host.cc', 27 'web_modal/web_contents_modal_dialog_host.h', 28 'web_modal/web_contents_modal_dialog_manager.cc', 29 'web_modal/web_contents_modal_dialog_manager.h', 30 'web_modal/web_contents_modal_dialog_manager_delegate.cc', 31 'web_modal/web_contents_modal_dialog_manager_delegate.h', 32 ], 33 }, 34 { 35 'target_name': 'web_modal_test_support', 36 'type': 'static_library', 37 'dependencies': [ 38 'web_modal', 39 ], 40 'sources': [ 41 'web_modal/test_web_contents_modal_dialog_host.cc', 42 'web_modal/test_web_contents_modal_dialog_host.h', 43 'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', 44 'web_modal/test_web_contents_modal_dialog_manager_delegate.h', 45 ], 46 }, 47 ], 48 } 49