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

Side by Side Diff: BUILD.gn

Issue 955513009: Pull in gmock for standalone pdfium builds. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: First (empty) mock test. Created 5 years, 10 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 | DEPS » ('j') | testing/embedder_test.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 6
7 pdf_use_skia = false 7 pdf_use_skia = false
8 8
9 declare_args() { 9 declare_args() {
10 # On Android there's no system FreeType. On Windows and Mac, only a few 10 # On Android there's no system FreeType. On Windows and Mac, only a few
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 ] 813 ]
814 include_dirs = [ "." ] 814 include_dirs = [ "." ]
815 configs -= [ "//build/config/compiler:chromium_code" ] 815 configs -= [ "//build/config/compiler:chromium_code" ]
816 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 816 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
817 } 817 }
818 818
819 test("pdfium_embeddertests") { 819 test("pdfium_embeddertests") {
820 sources = [ 820 sources = [
821 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", 821 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp",
822 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", 822 "fpdfsdk/src/fpdfdoc_embeddertest.cpp",
823 "fpdfsdk/src/fpdfformfill_embeddertest.cpp",
823 "fpdfsdk/src/fpdftext_embeddertest.cpp", 824 "fpdfsdk/src/fpdftext_embeddertest.cpp",
824 "fpdfsdk/src/fpdfview_embeddertest.cpp", 825 "fpdfsdk/src/fpdfview_embeddertest.cpp",
825 "testing/embedder_test.cpp", 826 "testing/embedder_test.cpp",
826 "testing/embedder_test.h", 827 "testing/embedder_test.h",
828 "testing/embedder_test_mock_delegate.h",
827 "testing/fx_string_testhelpers.cpp", 829 "testing/fx_string_testhelpers.cpp",
828 "testing/fx_string_testhelpers.h", 830 "testing/fx_string_testhelpers.h",
829 ] 831 ]
830 deps = [ 832 deps = [
831 "//testing/gtest", 833 "//testing/gtest",
834 "//testing/gmock",
Lei Zhang 2015/02/26 01:13:41 nit: gmock before gtest, ditto in pdfium.gyp
Tom Sepez 2015/02/27 18:39:20 Done.
832 ":pdfium" 835 ":pdfium"
833 ] 836 ]
834 include_dirs = [ "." ] 837 include_dirs = [ "." ]
835 configs -= [ "//build/config/compiler:chromium_code" ] 838 configs -= [ "//build/config/compiler:chromium_code" ]
836 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 839 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
837 } 840 }
OLDNEW
« no previous file with comments | « no previous file | DEPS » ('j') | testing/embedder_test.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698