Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: base/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 deps += [ 703 deps += [
704 ":base_jni_headers", 704 ":base_jni_headers",
705 "//third_party/ashmem", 705 "//third_party/ashmem",
706 "//third_party/android_tools:cpu_features", 706 "//third_party/android_tools:cpu_features",
707 ] 707 ]
708 708
709 # logging.cc uses the Android logging library. 709 # logging.cc uses the Android logging library.
710 libs = [ "log" ] 710 libs = [ "log" ]
711 } 711 }
712 712
713 if (is_chromeos) { 713 if (use_cros_fe) {
714 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ] 714 sources -= [ "power_monitor/power_monitor_device_source_posix.cc" ]
715 } 715 }
716 716
717 if (is_nacl) { 717 if (is_nacl) {
718 # We reset sources_assignment_filter in order to explicitly include 718 # We reset sources_assignment_filter in order to explicitly include
719 # the linux file (which would otherwise be filtered out). 719 # the linux file (which would otherwise be filtered out).
720 set_sources_assignment_filter([]) 720 set_sources_assignment_filter([])
721 sources += [ 721 sources += [
722 "files/file_path_watcher_stub.cc", 722 "files/file_path_watcher_stub.cc",
723 "sync_socket_nacl.cc", 723 "sync_socket_nacl.cc",
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 1013
1014 if (!is_debug) { 1014 if (!is_debug) {
1015 configs -= [ "//build/config/compiler:optimize" ] 1015 configs -= [ "//build/config/compiler:optimize" ]
1016 configs += [ "//build/config/compiler:optimize_max" ] 1016 configs += [ "//build/config/compiler:optimize_max" ]
1017 } 1017 }
1018 1018
1019 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1019 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1020 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1020 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1021 } 1021 }
1022 1022
1023 if (is_ios || is_win || (is_linux && !is_chromeos)) { 1023 if (is_ios || is_win || is_desktop_linux) {
1024 # TODO(GYP): Figure out which of these work and are needed on other platforms. 1024 # TODO(GYP): Figure out which of these work and are needed on other platforms.
1025 test("base_perftests") { 1025 test("base_perftests") {
1026 sources = [ 1026 sources = [
1027 "message_loop/message_pump_perftest.cc", 1027 "message_loop/message_pump_perftest.cc",
1028 1028
1029 # "test/run_all_unittests.cc", 1029 # "test/run_all_unittests.cc",
1030 "threading/thread_perftest.cc", 1030 "threading/thread_perftest.cc",
1031 ] 1031 ]
1032 deps = [ 1032 deps = [
1033 ":base", 1033 ":base",
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 1650
1651 # GYP: //base.gyp:base_java_unittest_support 1651 # GYP: //base.gyp:base_java_unittest_support
1652 android_library("base_java_unittest_support") { 1652 android_library("base_java_unittest_support") {
1653 deps = [ 1653 deps = [
1654 ":base_java", 1654 ":base_java",
1655 ] 1655 ]
1656 java_files = 1656 java_files =
1657 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1657 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1658 } 1658 }
1659 } 1659 }
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698