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

Side by Side Diff: BUILD.gn

Issue 1663903002: Fix build on mac. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | 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 }
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698