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

Side by Side Diff: BUILD.gn

Issue 2164633005: Convert source sets to static libraries. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: base 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 | « no previous file | third_party/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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_overrides/v8.gni") 5 import("//build_overrides/v8.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("pdfium.gni") 7 import("pdfium.gni")
8 8
9 config("pdfium_common_config") { 9 config("pdfium_common_config") {
10 cflags = [] 10 cflags = []
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ] 140 ]
141 } 141 }
142 142
143 if (pdfium_bundle_freetype) { 143 if (pdfium_bundle_freetype) {
144 deps += [ "third_party:fx_freetype" ] 144 deps += [ "third_party:fx_freetype" ]
145 } else { 145 } else {
146 libs += [ "freetype" ] 146 libs += [ "freetype" ]
147 } 147 }
148 } 148 }
149 149
150 source_set("test_support") { 150 static_library("test_support") {
151 testonly = true 151 testonly = true
152 sources = [ 152 sources = [
153 "testing/fx_string_testhelpers.cpp", 153 "testing/fx_string_testhelpers.cpp",
154 "testing/fx_string_testhelpers.h", 154 "testing/fx_string_testhelpers.h",
155 "testing/test_support.cpp", 155 "testing/test_support.cpp",
156 "testing/test_support.h", 156 "testing/test_support.h",
157 "testing/utils/path_service.cpp", 157 "testing/utils/path_service.cpp",
158 ] 158 ]
159 deps = [ 159 deps = [
160 ":pdfium", 160 ":pdfium",
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 } 1589 }
1590 1590
1591 if (pdf_is_standalone) { 1591 if (pdf_is_standalone) {
1592 source_set("samples") { 1592 source_set("samples") {
1593 testonly = true 1593 testonly = true
1594 deps = [ 1594 deps = [
1595 "//samples", 1595 "//samples",
1596 ] 1596 ]
1597 } 1597 }
1598 } 1598 }
OLDNEW
« no previous file with comments | « no previous file | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698