| 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 |
| 15 if (is_ios) { |
| 16 # base uses routines deprecated in iOS 8 |
| 17 cflags = [ "-Wno-deprecated-declarations" ] |
| 18 } |
| 14 } | 19 } |
| 15 | 20 |
| 16 if (is_win) { | 21 if (is_win) { |
| 17 # 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. |
| 18 # ldflags in GN aren't automatically inherited. | 23 # ldflags in GN aren't automatically inherited. |
| 19 config("base_win_linker_flags") { | 24 config("base_win_linker_flags") { |
| 20 ldflags = [ | 25 ldflags = [ |
| 21 "/DELAYLOAD:cfgmgr32.dll", | 26 "/DELAYLOAD:cfgmgr32.dll", |
| 22 "/DELAYLOAD:powrprof.dll", | 27 "/DELAYLOAD:powrprof.dll", |
| 23 "/DELAYLOAD:setupapi.dll", | 28 "/DELAYLOAD:setupapi.dll", |
| (...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1624 | 1629 |
| 1625 # GYP: //base.gyp:base_java_unittest_support | 1630 # GYP: //base.gyp:base_java_unittest_support |
| 1626 android_library("base_java_unittest_support") { | 1631 android_library("base_java_unittest_support") { |
| 1627 deps = [ | 1632 deps = [ |
| 1628 ":base_java", | 1633 ":base_java", |
| 1629 ] | 1634 ] |
| 1630 java_files = | 1635 java_files = |
| 1631 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1636 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 1632 } | 1637 } |
| 1633 } | 1638 } |
| OLD | NEW |