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

Side by Side Diff: build/config/nacl/BUILD.gn

Issue 1312813003: add nacl_toolchain to //build and flip to using it in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build_changes
Patch Set: rebase Created 5 years, 3 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
OLDNEW
(Empty)
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
Dirk Pranke 2015/08/28 02:29:41 This file is simply copied over from //native_clie
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("nacl_defines.gni")
6
7 # Native Client Definitions
8 config("nacl_defines") {
9 defines = nacl_defines
10 include_dirs = [ "//." ]
brettw 2015/08/28 18:25:52 This should come from //build/config/compiler:defa
Dirk Pranke 2015/08/28 20:08:31 Acknowledged.
11 }
12
13 config("nexe_defines") {
14 defines = [
15 "DYNAMIC_ANNOTATIONS_ENABLED=1",
16 "DYNAMIC_ANNOTATIONS_PREFIX=NACL_",
17 ]
18 }
19
20 # The base target that all targets in the NaCl build should depend on.
21 # This allows configs to be modified for everything in the NaCl build, even when
22 # the NaCl build is composed into the Chrome build. (GN has no functionality to
23 # add flags to everythin in //native_client, having a base target works around
24 # that limitation.)
25 source_set("nacl_base") {
26 public_configs = [ ":nacl_defines" ]
27 if (current_os == "nacl") {
28 public_configs += [ ":nexe_defines" ]
29 }
30 }
OLDNEW
« no previous file with comments | « .gn ('k') | build/config/nacl/nacl_defines.gni » ('j') | build/config/nacl/nacl_defines.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698