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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 "message_loop/message_pump_glib.h", | 321 "message_loop/message_pump_glib.h", |
322 "message_loop/message_pump_gtk.cc", | 322 "message_loop/message_pump_gtk.cc", |
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_ozone.cc", | |
332 "message_loop/message_pump_ozone.h", | |
333 "message_loop/message_pump_win.cc", | 331 "message_loop/message_pump_win.cc", |
334 "message_loop/message_pump_win.h", | 332 "message_loop/message_pump_win.h", |
335 "message_loop/message_pump_x11.cc", | 333 "message_loop/message_pump_x11.cc", |
336 "message_loop/message_pump_x11.h", | 334 "message_loop/message_pump_x11.h", |
337 "metrics/field_trial.cc", | 335 "metrics/field_trial.cc", |
338 "metrics/field_trial.h", | 336 "metrics/field_trial.h", |
339 "metrics/sample_map.cc", | 337 "metrics/sample_map.cc", |
340 "metrics/sample_map.h", | 338 "metrics/sample_map.h", |
341 "metrics/sample_vector.cc", | 339 "metrics/sample_vector.cc", |
342 "metrics/sample_vector.h", | 340 "metrics/sample_vector.h", |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 "nix/xdg_util.h", | 818 "nix/xdg_util.h", |
821 ] | 819 ] |
822 } | 820 } |
823 | 821 |
824 if (!use_glib) { | 822 if (!use_glib) { |
825 sources -= [ | 823 sources -= [ |
826 "message_loop/message_pump_glib.cc", | 824 "message_loop/message_pump_glib.cc", |
827 "message_loop/message_pump_glib.h", | 825 "message_loop/message_pump_glib.h", |
828 ] | 826 ] |
829 } | 827 } |
830 if (!use_ozone) { | |
831 sources -= [ | |
832 "message_loop/message_pump_ozone.cc", | |
833 "message_loop/message_pump_ozone.h", | |
834 ] | |
835 } | |
836 if (!toolkit_uses_gtk) { | 828 if (!toolkit_uses_gtk) { |
837 sources -= [ | 829 sources -= [ |
838 "message_loop/message_pump_gtk.cc", | 830 "message_loop/message_pump_gtk.cc", |
839 "message_loop/message_pump_gtk.h", | 831 "message_loop/message_pump_gtk.h", |
840 ] | 832 ] |
841 } | 833 } |
842 } | 834 } |
843 | 835 |
844 # This is the subset of files from base that should not be used with a dynamic | 836 # This is the subset of files from base that should not be used with a dynamic |
845 # library. Note that this library cannot depend on base because base depends on | 837 # library. Note that this library cannot depend on base because base depends on |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 894 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
903 # 'msvs_disabled_warnings': [ | 895 # 'msvs_disabled_warnings': [ |
904 # 4267, | 896 # 4267, |
905 # ], | 897 # ], |
906 # }], | 898 # }], |
907 #], | 899 #], |
908 #'variables': { | 900 #'variables': { |
909 # 'optimize': 'max', | 901 # 'optimize': 'max', |
910 #}, | 902 #}, |
911 } | 903 } |
OLD | NEW |