| 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) { |
| 16 # base uses routines deprecated in iOS 8 | 16 # base uses routines deprecated in iOS 8 |
| 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 = [ |
| (...skipping 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 | 1615 |
| 1616 # GYP: //base.gyp:base_java_unittest_support | 1616 # GYP: //base.gyp:base_java_unittest_support |
| 1617 android_library("base_java_unittest_support") { | 1617 android_library("base_java_unittest_support") { |
| 1618 deps = [ | 1618 deps = [ |
| 1619 ":base_java", | 1619 ":base_java", |
| 1620 ] | 1620 ] |
| 1621 java_files = | 1621 java_files = |
| 1622 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1622 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
| 1623 } | 1623 } |
| 1624 } | 1624 } |
| OLD | NEW |