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

Side by Side Diff: rlz/BUILD.gn

Issue 737633002: Fix various flags in the Win64 GN build (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak more flags to better match GYP Created 6 years, 1 month 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Note that this build file assumes rlz_use_chrome_net which is a condition in 5 # Note that this build file assumes rlz_use_chrome_net which is a condition in
6 # the GYP file, but is always true for Chrome builds. 6 # the GYP file, but is always true for Chrome builds.
7 7
8 config("rlz_config") { 8 config("rlz_config") {
9 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ] 9 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ]
10 } 10 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 deps = [ 107 deps = [
108 ":rlz_lib", 108 ":rlz_lib",
109 ":test_support", 109 ":test_support",
110 "//base", 110 "//base",
111 "//base:prefs", 111 "//base:prefs",
112 "//net:test_support", 112 "//net:test_support",
113 "//testing/gmock", 113 "//testing/gmock",
114 "//testing/gtest", 114 "//testing/gtest",
115 "//third_party/zlib", 115 "//third_party/zlib",
116 ] 116 ]
117
118 if (is_win) {
119 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
120 cflags = [ "/wd4267" ]
121 }
117 } 122 }
118 123
119 executable("rlz_id") { 124 executable("rlz_id") {
120 sources = [ 125 sources = [
121 "examples/rlz_id.cc", 126 "examples/rlz_id.cc",
122 ] 127 ]
123 deps = [ 128 deps = [
124 ":rlz_lib", 129 ":rlz_lib",
125 ] 130 ]
126 } 131 }
127 132
128 if (is_win) { 133 if (is_win) {
129 shared_library("rlz") { 134 shared_library("rlz") {
130 sources = [ 135 sources = [
131 "win/dll/dll_main.cc", 136 "win/dll/dll_main.cc",
132 "win/dll/exports.cc", 137 "win/dll/exports.cc",
133 ] 138 ]
134 deps = [ 139 deps = [
135 ":rlz_lib", 140 ":rlz_lib",
136 "//third_party/zlib", 141 "//third_party/zlib",
137 ] 142 ]
138 } 143 }
139 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698