| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 "dragdrop/file_info.h", | 141 "dragdrop/file_info.h", |
| 142 "dragdrop/os_exchange_data.cc", | 142 "dragdrop/os_exchange_data.cc", |
| 143 "dragdrop/os_exchange_data.h", | 143 "dragdrop/os_exchange_data.h", |
| 144 "dragdrop/os_exchange_data_provider_mac.h", | 144 "dragdrop/os_exchange_data_provider_mac.h", |
| 145 "dragdrop/os_exchange_data_provider_mac.mm", | 145 "dragdrop/os_exchange_data_provider_mac.mm", |
| 146 "dragdrop/os_exchange_data_provider_win.cc", | 146 "dragdrop/os_exchange_data_provider_win.cc", |
| 147 "dragdrop/os_exchange_data_provider_win.h", | 147 "dragdrop/os_exchange_data_provider_win.h", |
| 148 "hit_test.h", | 148 "hit_test.h", |
| 149 "idle/idle.cc", | 149 "idle/idle.cc", |
| 150 "idle/idle.h", | 150 "idle/idle.h", |
| 151 "idle/idle_android.cc", |
| 151 "idle/idle_chromeos.cc", | 152 "idle/idle_chromeos.cc", |
| 152 "idle/idle_linux.cc", | 153 "idle/idle_linux.cc", |
| 153 "idle/idle_mac.mm", | 154 "idle/idle_mac.mm", |
| 154 "idle/idle_win.cc", | 155 "idle/idle_win.cc", |
| 155 "ios/cru_context_menu_controller.h", | 156 "ios/cru_context_menu_controller.h", |
| 156 "ios/cru_context_menu_controller.mm", | 157 "ios/cru_context_menu_controller.mm", |
| 157 "ios/cru_context_menu_holder.h", | 158 "ios/cru_context_menu_holder.h", |
| 158 "ios/cru_context_menu_holder.mm", | 159 "ios/cru_context_menu_holder.mm", |
| 159 "l10n/formatter.cc", | 160 "l10n/formatter.cc", |
| 160 "l10n/formatter.h", | 161 "l10n/formatter.h", |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 # Aura clipboard. | 547 # Aura clipboard. |
| 547 if (use_aura) { | 548 if (use_aura) { |
| 548 if (use_x11) { | 549 if (use_x11) { |
| 549 sources += [ "clipboard/clipboard_aurax11.cc" ] | 550 sources += [ "clipboard/clipboard_aurax11.cc" ] |
| 550 } else if (!is_win && !is_android) { | 551 } else if (!is_win && !is_android) { |
| 551 # This file is used for all non-X11, non-Windows, non-Android aura Builds. | 552 # This file is used for all non-X11, non-Windows, non-Android aura Builds. |
| 552 sources += [ "clipboard/clipboard_aura.cc" ] | 553 sources += [ "clipboard/clipboard_aura.cc" ] |
| 553 } | 554 } |
| 554 } | 555 } |
| 555 | 556 |
| 556 if (is_android || is_ios) { | 557 if ((is_android && !use_aura) || is_ios) { |
| 557 sources -= [ | 558 sources -= [ |
| 558 "device_form_factor_desktop.cc", | 559 "device_form_factor_desktop.cc", |
| 559 "idle/idle.cc", | 560 "idle/idle.cc", |
| 560 "idle/idle.h", | 561 "idle/idle.h", |
| 562 "idle/idle_android.cc", |
| 563 ] |
| 564 } |
| 565 |
| 566 if (is_android && use_aura) { |
| 567 sources -= [ |
| 568 "device_form_factor_desktop.cc", |
| 561 ] | 569 ] |
| 562 } | 570 } |
| 563 } | 571 } |
| 564 | 572 |
| 565 source_set("test_support") { | 573 source_set("test_support") { |
| 566 testonly = true | 574 testonly = true |
| 567 sources = [ | 575 sources = [ |
| 568 "test/material_design_controller_test_api.cc", | 576 "test/material_design_controller_test_api.cc", |
| 569 "test/material_design_controller_test_api.h", | 577 "test/material_design_controller_test_api.h", |
| 570 "test/nswindow_fullscreen_notification_waiter.h", | 578 "test/nswindow_fullscreen_notification_waiter.h", |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 } | 861 } |
| 854 if (is_mac) { | 862 if (is_mac) { |
| 855 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] | 863 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] |
| 856 | 864 |
| 857 if (is_asan && symbol_level == 0) { | 865 if (is_asan && symbol_level == 0) { |
| 858 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] | 866 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] |
| 859 } | 867 } |
| 860 } | 868 } |
| 861 } | 869 } |
| 862 # TODO(GYP) Mac (ui_base_tests_bundle) | 870 # TODO(GYP) Mac (ui_base_tests_bundle) |
| OLD | NEW |