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

Side by Side Diff: BUILD.gn

Issue 1416713002: Consolidate test support code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: IWYU Created 5 years, 2 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 | pdfium.gyp » ('j') | testing/test_support.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("pdfium.gni") 6 import("pdfium.gni")
7 7
8 config("pdfium_config") { 8 config("pdfium_config") {
9 cflags = [] 9 cflags = []
10 include_dirs = [ "third_party/freetype/include" ] 10 include_dirs = [ "third_party/freetype/include" ]
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 "fpdfsdk/src/fpdftext_embeddertest.cpp", 758 "fpdfsdk/src/fpdftext_embeddertest.cpp",
759 "fpdfsdk/src/fpdfview_c_api_test.c", 759 "fpdfsdk/src/fpdfview_c_api_test.c",
760 "fpdfsdk/src/fpdfview_c_api_test.h", 760 "fpdfsdk/src/fpdfview_c_api_test.h",
761 "fpdfsdk/src/fpdfview_embeddertest.cpp", 761 "fpdfsdk/src/fpdfview_embeddertest.cpp",
762 "testing/embedder_test.cpp", 762 "testing/embedder_test.cpp",
763 "testing/embedder_test.h", 763 "testing/embedder_test.h",
764 "testing/embedder_test_mock_delegate.h", 764 "testing/embedder_test_mock_delegate.h",
765 "testing/embedder_test_timer_handling_delegate.h", 765 "testing/embedder_test_timer_handling_delegate.h",
766 "testing/fx_string_testhelpers.cpp", 766 "testing/fx_string_testhelpers.cpp",
767 "testing/fx_string_testhelpers.h", 767 "testing/fx_string_testhelpers.h",
768 "testing/test_support.cpp",
769 "testing/test_support.h",
768 ] 770 ]
769 deps = [ 771 deps = [
770 "//testing/gmock", 772 "//testing/gmock",
771 "//testing/gtest", 773 "//testing/gtest",
772 ":pdfium", 774 ":pdfium",
773 ] 775 ]
774 include_dirs = [ 776 include_dirs = [
775 "." 777 "."
776 ] 778 ]
777 if (pdf_enable_v8) { 779 if (pdf_enable_v8) {
778 sources += [ 780 sources += [
779 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" 781 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp"
780 ] 782 ]
781 deps += [ 783 deps += [
782 "//v8", 784 "//v8",
783 "//v8:v8_libplatform", 785 "//v8:v8_libplatform",
784 ] 786 ]
785 include_dirs += [ 787 include_dirs += [
786 "//v8", 788 "//v8",
787 "//v8/include", 789 "//v8/include",
788 ] 790 ]
789 } 791 }
790 configs -= [ "//build/config/compiler:chromium_code" ] 792 configs -= [ "//build/config/compiler:chromium_code" ]
791 configs += [ 793 configs += [
792 ":pdfium_config", 794 ":pdfium_config",
793 "//build/config/compiler:no_chromium_code", 795 "//build/config/compiler:no_chromium_code",
794 ] 796 ]
795 } 797 }
OLDNEW
« no previous file with comments | « no previous file | pdfium.gyp » ('j') | testing/test_support.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698