| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //ui/shell_dialogs |
| 11 'target_name': 'shell_dialogs', | 12 'target_name': 'shell_dialogs', |
| 12 'type': '<(component)', | 13 'type': '<(component)', |
| 13 'dependencies': [ | 14 'dependencies': [ |
| 14 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
| 15 '../../base/base.gyp:base_i18n', | 16 '../../base/base.gyp:base_i18n', |
| 16 '../../skia/skia.gyp:skia', | 17 '../../skia/skia.gyp:skia', |
| 17 '../base/ui_base.gyp:ui_base', | 18 '../base/ui_base.gyp:ui_base', |
| 18 '../strings/ui_strings.gyp:ui_strings', | 19 '../strings/ui_strings.gyp:ui_strings', |
| 19 ], | 20 ], |
| 20 'defines': [ | 21 'defines': [ |
| 21 'SHELL_DIALOGS_IMPLEMENTATION', | 22 'SHELL_DIALOGS_IMPLEMENTATION', |
| 22 ], | 23 ], |
| 23 'sources': [ | 24 'sources': [ |
| 25 # Note: file list duplicated in GN build. |
| 24 'android/shell_dialogs_jni_registrar.cc', | 26 'android/shell_dialogs_jni_registrar.cc', |
| 25 'android/shell_dialogs_jni_registrar.h', | 27 'android/shell_dialogs_jni_registrar.h', |
| 26 'base_shell_dialog.cc', | 28 'base_shell_dialog.cc', |
| 27 'base_shell_dialog.h', | 29 'base_shell_dialog.h', |
| 28 'base_shell_dialog_win.cc', | 30 'base_shell_dialog_win.cc', |
| 29 'base_shell_dialog_win.h', | 31 'base_shell_dialog_win.h', |
| 30 'linux_shell_dialog.cc', | 32 'linux_shell_dialog.cc', |
| 31 'linux_shell_dialog.h', | 33 'linux_shell_dialog.h', |
| 32 'select_file_dialog.cc', | 34 'select_file_dialog.cc', |
| 33 'select_file_dialog.h', | 35 'select_file_dialog.h', |
| 34 'select_file_dialog_android.cc', | 36 'select_file_dialog_android.cc', |
| 35 'select_file_dialog_android.h', | 37 'select_file_dialog_android.h', |
| 36 'select_file_dialog_factory.cc', | 38 'select_file_dialog_factory.cc', |
| 37 'select_file_dialog_factory.h', | 39 'select_file_dialog_factory.h', |
| 38 'select_file_dialog_mac.h', | 40 'select_file_dialog_mac.h', |
| 39 'select_file_dialog_mac.mm', | 41 'select_file_dialog_mac.mm', |
| 40 'select_file_dialog_win.cc', | 42 'select_file_dialog_win.cc', |
| 41 'select_file_dialog_win.h', | 43 'select_file_dialog_win.h', |
| 42 'select_file_policy.cc', | 44 'select_file_policy.cc', |
| 43 'select_file_policy.h', | 45 'select_file_policy.h', |
| 44 'selected_file_info.cc', | 46 'selected_file_info.cc', |
| 45 'selected_file_info.h', | 47 'selected_file_info.h', |
| 46 ], | 48 ], |
| 47 'conditions': [ | 49 'conditions': [ |
| 48 ['use_aura==1', | 50 ['use_aura==1', |
| 49 { | 51 { |
| 50 'dependencies': [ | 52 'dependencies': [ |
| 51 '../aura/aura.gyp:aura', | 53 '../aura/aura.gyp:aura', |
| 52 ], | 54 ], |
| 53 'sources/': [ | 55 'sources!': [ |
| 54 ['exclude', 'select_file_dialog_mac.mm'], | 56 'select_file_dialog_mac.mm', |
| 55 ], | 57 ], |
| 56 } | 58 } |
| 57 ], | 59 ], |
| 58 ['OS=="android"', | 60 ['OS=="android"', |
| 59 { | 61 { |
| 60 'dependencies': [ | 62 'dependencies': [ |
| 61 '../base/ui_base.gyp:ui_base_jni_headers', | 63 '../base/ui_base.gyp:ui_base_jni_headers', |
| 62 ], | 64 ], |
| 63 'include_dirs': [ | 65 'include_dirs': [ |
| 64 '<(SHARED_INTERMEDIATE_DIR)/ui', | 66 '<(SHARED_INTERMEDIATE_DIR)/ui', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 80 ['OS=="win"', | 82 ['OS=="win"', |
| 81 { | 83 { |
| 82 'dependencies': [ | 84 'dependencies': [ |
| 83 '../../win8/win8.gyp:metro_viewer', | 85 '../../win8/win8.gyp:metro_viewer', |
| 84 ], | 86 ], |
| 85 } | 87 } |
| 86 ], | 88 ], |
| 87 ], | 89 ], |
| 88 }, # target_name: shell_dialogs | 90 }, # target_name: shell_dialogs |
| 89 { | 91 { |
| 92 # GN version: //ui/shell_dialogs:shell_dialogs_unittests |
| 90 'target_name': 'shell_dialogs_unittests', | 93 'target_name': 'shell_dialogs_unittests', |
| 91 'type': 'executable', | 94 'type': 'executable', |
| 92 'dependencies': [ | 95 'dependencies': [ |
| 93 '../../base/base.gyp:base', | 96 '../../base/base.gyp:base', |
| 94 '../../base/base.gyp:test_support_base', | 97 '../../base/base.gyp:test_support_base', |
| 95 '../../base/base.gyp:run_all_unittests', | 98 '../../base/base.gyp:run_all_unittests', |
| 96 '../../testing/gtest.gyp:gtest', | 99 '../../testing/gtest.gyp:gtest', |
| 97 'shell_dialogs', | 100 'shell_dialogs', |
| 98 ], | 101 ], |
| 99 'sources': [ | 102 'sources': [ |
| 103 # Note: file list duplicated in GN build. |
| 100 'select_file_dialog_win_unittest.cc', | 104 'select_file_dialog_win_unittest.cc', |
| 101 ], | 105 ], |
| 102 }, | 106 }, |
| 103 ], | 107 ], |
| 104 } | 108 } |
| OLD | NEW |