| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 | 6 |
| 7 component("base") { | 7 component("base") { |
| 8 sources = [ | 8 sources = [ |
| 9 "third_party/dmg_fp/dmg_fp.h", | 9 "third_party/dmg_fp/dmg_fp.h", |
| 10 "third_party/dmg_fp/g_fmt.cc", | 10 "third_party/dmg_fp/g_fmt.cc", |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 "message_loop/message_pump_gtk.h", | 323 "message_loop/message_pump_gtk.h", |
| 324 "message_loop/message_pump_io_ios.cc", | 324 "message_loop/message_pump_io_ios.cc", |
| 325 "message_loop/message_pump_io_ios.h", | 325 "message_loop/message_pump_io_ios.h", |
| 326 "message_loop/message_pump_libevent.cc", | 326 "message_loop/message_pump_libevent.cc", |
| 327 "message_loop/message_pump_libevent.h", | 327 "message_loop/message_pump_libevent.h", |
| 328 "message_loop/message_pump_mac.h", | 328 "message_loop/message_pump_mac.h", |
| 329 "message_loop/message_pump_mac.mm", | 329 "message_loop/message_pump_mac.mm", |
| 330 "message_loop/message_pump_observer.h", | 330 "message_loop/message_pump_observer.h", |
| 331 "message_loop/message_pump_win.cc", | 331 "message_loop/message_pump_win.cc", |
| 332 "message_loop/message_pump_win.h", | 332 "message_loop/message_pump_win.h", |
| 333 "message_loop/message_pump_x11.cc", | |
| 334 "message_loop/message_pump_x11.h", | |
| 335 "metrics/field_trial.cc", | 333 "metrics/field_trial.cc", |
| 336 "metrics/field_trial.h", | 334 "metrics/field_trial.h", |
| 337 "metrics/sample_map.cc", | 335 "metrics/sample_map.cc", |
| 338 "metrics/sample_map.h", | 336 "metrics/sample_map.h", |
| 339 "metrics/sample_vector.cc", | 337 "metrics/sample_vector.cc", |
| 340 "metrics/sample_vector.h", | 338 "metrics/sample_vector.h", |
| 341 "metrics/bucket_ranges.cc", | 339 "metrics/bucket_ranges.cc", |
| 342 "metrics/bucket_ranges.h", | 340 "metrics/bucket_ranges.h", |
| 343 "metrics/histogram.cc", | 341 "metrics/histogram.cc", |
| 344 "metrics/histogram.h", | 342 "metrics/histogram.h", |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 linux_configs = [ | 779 linux_configs = [ |
| 782 "//build/config/linux:glib", | 780 "//build/config/linux:glib", |
| 783 ] | 781 ] |
| 784 if (toolkit_uses_gtk) { | 782 if (toolkit_uses_gtk) { |
| 785 linux_configs += [ "//build/config/linux:gtk" ] | 783 linux_configs += [ "//build/config/linux:gtk" ] |
| 786 } | 784 } |
| 787 if (use_x11) { | 785 if (use_x11) { |
| 788 linux_configs += [ | 786 linux_configs += [ |
| 789 "//build/config/linux:x11", | 787 "//build/config/linux:x11", |
| 790 ] | 788 ] |
| 791 } else { | |
| 792 # On non-Linux platforms, the X11 files will already have been filtered | |
| 793 # out using the sources assignment filter. | |
| 794 sources -= [ | |
| 795 "message_loop/message_pump_x11.cc", | |
| 796 "message_loop/message_pump_x11.h", | |
| 797 ] | |
| 798 } | 789 } |
| 799 | 790 |
| 800 configs += linux_configs | 791 configs += linux_configs |
| 801 all_dependent_configs = linux_configs | 792 all_dependent_configs = linux_configs |
| 802 | 793 |
| 803 if (!is_android) { | 794 if (!is_android) { |
| 804 # These dependencies are not required on Android, and in the case | 795 # These dependencies are not required on Android, and in the case |
| 805 # of xdg_mime must be excluded due to licensing restrictions. | 796 # of xdg_mime must be excluded due to licensing restrictions. |
| 806 deps += [ | 797 deps += [ |
| 807 "//base/third_party/symbolize", | 798 "//base/third_party/symbolize", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 885 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 895 # 'msvs_disabled_warnings': [ | 886 # 'msvs_disabled_warnings': [ |
| 896 # 4267, | 887 # 4267, |
| 897 # ], | 888 # ], |
| 898 # }], | 889 # }], |
| 899 #], | 890 #], |
| 900 #'variables': { | 891 #'variables': { |
| 901 # 'optimize': 'max', | 892 # 'optimize': 'max', |
| 902 #}, | 893 #}, |
| 903 } | 894 } |
| OLD | NEW |