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

Side by Side Diff: BUILD.gn

Issue 1904563002: Standalone GN build. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 | « .gn ('k') | DEPS » ('j') | DEPS » ('J')
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_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 "testing/embedder_test_mock_delegate.h", 1689 "testing/embedder_test_mock_delegate.h",
1690 "testing/embedder_test_timer_handling_delegate.h", 1690 "testing/embedder_test_timer_handling_delegate.h",
1691 "xfa/fxfa/parser/xfa_parser_imp_embeddertest.cpp", 1691 "xfa/fxfa/parser/xfa_parser_imp_embeddertest.cpp",
1692 ] 1692 ]
1693 deps = [ 1693 deps = [
1694 ":pdfium", 1694 ":pdfium",
1695 ":test_support", 1695 ":test_support",
1696 "//testing/gmock", 1696 "//testing/gmock",
1697 "//testing/gtest", 1697 "//testing/gtest",
1698 ] 1698 ]
1699 include_dirs = [] 1699 include_dirs = [ "testing/gmock/include" ]
1700 if (pdf_enable_v8) { 1700 if (pdf_enable_v8) {
1701 sources += [ 1701 sources += [
1702 "fpdfsdk/javascript/public_methods_embeddertest.cpp", 1702 "fpdfsdk/javascript/public_methods_embeddertest.cpp",
1703 "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp", 1703 "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp",
1704 "testing/js_embedder_test.cpp", 1704 "testing/js_embedder_test.cpp",
1705 "testing/js_embedder_test.h", 1705 "testing/js_embedder_test.h",
1706 ] 1706 ]
1707 deps += [ 1707 deps += [
1708 "//v8", 1708 "//v8",
1709 "//v8:v8_libplatform", 1709 "//v8:v8_libplatform",
1710 ] 1710 ]
1711 include_dirs += [ 1711 include_dirs += [
1712 "//v8", 1712 "//v8",
1713 "//v8/include", 1713 "//v8/include",
1714 ] 1714 ]
1715 configs += [ "//v8:external_startup_data" ] 1715 configs += [ "//v8:external_startup_data" ]
1716 } 1716 }
1717 configs += [ ":pdfium_config" ] 1717 configs += [ ":pdfium_config" ]
1718 } 1718 }
1719
1720 if (pdf_is_standalone) {
1721 source_set("samples") {
1722 testonly = true
1723 deps = [
1724 "//samples",
1725 ]
1726 }
1727 }
OLDNEW
« no previous file with comments | « .gn ('k') | DEPS » ('j') | DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698