Chromium Code Reviews| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
| 9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
| 10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 if (use_x11 && !is_chromeos) { | 51 if (use_x11 && !is_chromeos) { |
| 52 #deps += [ '../display/display.gyp:display_util' ] TODO(GYP) | 52 #deps += [ '../display/display.gyp:display_util' ] TODO(GYP) |
| 53 } | 53 } |
| 54 if (is_linux && !is_chromeos) { | 54 if (is_linux && !is_chromeos) { |
| 55 sources -= [ "window/window_button_order_provider.cc" ] | 55 sources -= [ "window/window_button_order_provider.cc" ] |
| 56 #deps += [ '../shell_dialogs/shell_dialogs.gyp:shell_dialogs' ] TODO(GYP) | 56 #deps += [ '../shell_dialogs/shell_dialogs.gyp:shell_dialogs' ] TODO(GYP) |
| 57 } else { | 57 } else { |
| 58 sources -= [ | 58 sources -= [ |
| 59 "linux_ui/linux_ui.h", | 59 "linux_ui/linux_ui.h", |
| 60 "linux_ui/linux_ui.cc", | 60 "linux_ui/linux_ui.cc", |
| 61 "linux_ui/status_icon_linux.h", | |
| 62 "linux_ui/status_icon_linux.cc", | |
| 63 "linux_ui/window_button_order_observer.h", | 61 "linux_ui/window_button_order_observer.h", |
| 64 "linux_ui/window_button_order_provider.cc", | 62 "linux_ui/window_button_order_provider.cc", |
| 65 ] | 63 ] |
| 64 if (is_linux) { | |
| 65 # Already removed in non-Linux case. | |
| 66 sources -= [ | |
| 67 "linux_ui/status_icon_linux.h", | |
|
scottmg
2014/07/17 19:55:49
maybe is_chromeos would be better if that's the sa
brettw
2014/07/17 20:05:59
Done.
| |
| 68 "linux_ui/status_icon_linux.cc", | |
| 69 ] | |
| 70 } | |
| 66 } | 71 } |
| 67 | 72 |
| 68 if (is_win) { | 73 if (is_win) { |
| 69 sources += gypi_values.views_win_sources | 74 sources += gypi_values.views_win_sources |
| 70 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. | 75 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. |
| 71 libs = [ "/imm32.lib", "oleacc.lib" ] | 76 libs = [ "/imm32.lib", "oleacc.lib" ] |
| 72 ldflags = [ "/DELAYLOAD:user32.dll" ] | 77 ldflags = [ "/DELAYLOAD:user32.dll" ] |
| 73 deps += [ | 78 deps += [ |
| 74 "//third_party/iaccessible2", | 79 "//third_party/iaccessible2", |
| 75 "//third_party/wtl", | 80 "//third_party/wtl", |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 "//ui/compositor", | 255 "//ui/compositor", |
| 251 "//ui/resources", | 256 "//ui/resources", |
| 252 "//ui/resources:ui_test_pak", | 257 "//ui/resources:ui_test_pak", |
| 253 "//ui/string", | 258 "//ui/string", |
| 254 "//ui/wm", | 259 "//ui/wm", |
| 255 ] | 260 ] |
| 256 } | 261 } |
| 257 } | 262 } |
| 258 | 263 |
| 259 } # if false | 264 } # if false |
| OLD | NEW |