Chromium Code Reviews| 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 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 } |
| 11 | 11 |
| 12 config("base_implementation") { | 12 config("base_implementation") { |
| 13 defines = [ "BASE_IMPLEMENTATION" ] | 13 defines = [ "BASE_IMPLEMENTATION" ] |
| 14 | 14 |
| 15 if (is_ios) { | 15 if (is_ios || is_mac) { |
|
Nico
2015/08/11 20:41:40
…why is this block even here? It was removed from
| |
| 16 # base uses routines deprecated in iOS 8 | 16 # base uses routines deprecated in iOS 8 and OSX 10.10. |
| 17 cflags = [ "-Wno-deprecated-declarations" ] | 17 cflags = [ "-Wno-deprecated-declarations" ] |
| 18 } | 18 } |
| 19 } | 19 } |
| 20 | 20 |
| 21 if (is_win) { | 21 if (is_win) { |
| 22 # This is in a separate config so the flags can be applied to dependents. | 22 # This is in a separate config so the flags can be applied to dependents. |
| 23 # ldflags in GN aren't automatically inherited. | 23 # ldflags in GN aren't automatically inherited. |
| 24 config("base_win_linker_flags") { | 24 config("base_win_linker_flags") { |
| 25 ldflags = [ | 25 ldflags = [ |
| 26 "/DELAYLOAD:cfgmgr32.dll", | 26 "/DELAYLOAD:cfgmgr32.dll", |
| (...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1655 | 1655 |
| 1656 # GYP: //base.gyp:base_java_unittest_support | 1656 # GYP: //base.gyp:base_java_unittest_support |
| 1657 android_library("base_java_unittest_support") { | 1657 android_library("base_java_unittest_support") { |
| 1658 deps = [ | 1658 deps = [ |
| 1659 ":base_java", | 1659 ":base_java", |
| 1660 ] | 1660 ] |
| 1661 java_files = | 1661 java_files = |
| 1662 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1662 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 1663 } | 1663 } |
| 1664 } | 1664 } |
| OLD | NEW |