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

Side by Side Diff: components/nacl/common/BUILD.gn

Issue 2173443003: Convert some component source sets to static library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 4 years, 5 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 | « components/nacl/browser/BUILD.gn ('k') | components/nacl/renderer/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (enable_nacl) { 7 if (enable_nacl) {
8 # This is separate so it can be used by ../broker:nacl64. 8 # This is separate so it can be used by ../broker:nacl64.
9 source_set("minimal") { 9 static_library("minimal") {
10 sources = [ 10 sources = [
11 "nacl_cmd_line.cc", 11 "nacl_cmd_line.cc",
12 "nacl_cmd_line.h", 12 "nacl_cmd_line.h",
13 "nacl_constants.cc", 13 "nacl_constants.cc",
14 "nacl_constants.h", 14 "nacl_constants.h",
15 "nacl_messages.cc", 15 "nacl_messages.cc",
16 "nacl_messages.h", 16 "nacl_messages.h",
17 "nacl_process_type.h", 17 "nacl_process_type.h",
18 "nacl_renderer_messages.cc", 18 "nacl_renderer_messages.cc",
19 "nacl_renderer_messages.h", 19 "nacl_renderer_messages.h",
(...skipping 22 matching lines...) Expand all
42 # not be in the nacl64.exe build). 42 # not be in the nacl64.exe build).
43 source_set("minimal_content_dummy") { 43 source_set("minimal_content_dummy") {
44 check_includes = false 44 check_includes = false
45 sources = [ 45 sources = [
46 "//content/public/common/content_switches.h", 46 "//content/public/common/content_switches.h",
47 "//content/public/common/process_type.h", 47 "//content/public/common/process_type.h",
48 "//content/public/common/sandbox_type.h", 48 "//content/public/common/sandbox_type.h",
49 ] 49 ]
50 } 50 }
51 51
52 source_set("common") { 52 static_library("common") {
53 sources = [ 53 sources = [
54 "nacl_host_messages.cc", 54 "nacl_host_messages.cc",
55 "nacl_host_messages.h", 55 "nacl_host_messages.h",
56 "nacl_nonsfi_util.cc", 56 "nacl_nonsfi_util.cc",
57 "nacl_nonsfi_util.h", 57 "nacl_nonsfi_util.h",
58 "pnacl_types.cc", 58 "pnacl_types.cc",
59 "pnacl_types.h", 59 "pnacl_types.h",
60 ] 60 ]
61 61
62 public_deps = [ 62 public_deps = [
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 source_set("process_type") { 98 source_set("process_type") {
99 public = [ 99 public = [
100 "nacl_process_type.h", 100 "nacl_process_type.h",
101 ] 101 ]
102 102
103 deps = [ 103 deps = [
104 "//content/public/common", 104 "//content/public/common",
105 ] 105 ]
106 } 106 }
107 107
108 source_set("switches") { 108 static_library("switches") {
109 sources = [ 109 sources = [
110 "nacl_switches.cc", 110 "nacl_switches.cc",
111 "nacl_switches.h", 111 "nacl_switches.h",
112 ] 112 ]
113 } 113 }
OLDNEW
« no previous file with comments | « components/nacl/browser/BUILD.gn ('k') | components/nacl/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698