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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 1160773002: Add support for module-definition files to gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove conditional compilation and add tests Created 5 years, 6 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 | tools/gn/ninja_binary_target_writer.h » ('j') | 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 if (target_os == "") { 5 if (target_os == "") {
6 target_os = host_os 6 target_os = host_os
7 } 7 }
8 8
9 if (target_cpu == "") { 9 if (target_cpu == "") {
10 if (target_os == "android") { 10 if (target_os == "android") {
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 "*_posix_unittest.cc", 246 "*_posix_unittest.cc",
247 "*\bposix/*", 247 "*\bposix/*",
248 ] 248 ]
249 } 249 }
250 if (!is_win) { 250 if (!is_win) {
251 sources_assignment_filter += [ 251 sources_assignment_filter += [
252 "*_win.cc", 252 "*_win.cc",
253 "*_win.h", 253 "*_win.h",
254 "*_win_unittest.cc", 254 "*_win_unittest.cc",
255 "*\bwin/*", 255 "*\bwin/*",
256 "*.def",
256 "*.rc", 257 "*.rc",
257 ] 258 ]
258 } 259 }
259 if (!is_mac) { 260 if (!is_mac) {
260 sources_assignment_filter += [ 261 sources_assignment_filter += [
261 "*_mac.h", 262 "*_mac.h",
262 "*_mac.cc", 263 "*_mac.cc",
263 "*_mac.mm", 264 "*_mac.mm",
264 "*_mac_unittest.h", 265 "*_mac_unittest.h",
265 "*_mac_unittest.cc", 266 "*_mac_unittest.cc",
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 } 770 }
770 if (defined(invoker.testonly)) { 771 if (defined(invoker.testonly)) {
771 testonly = invoker.testonly 772 testonly = invoker.testonly
772 } 773 }
773 if (defined(invoker.visibility)) { 774 if (defined(invoker.visibility)) {
774 visibility = invoker.visibility 775 visibility = invoker.visibility
775 } 776 }
776 } 777 }
777 } 778 }
778 } 779 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/ninja_binary_target_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698