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

Side by Side Diff: third_party/libaddressinput/chromium/cpp/gtest.gyp

Issue 389863002: Remove Chrome's own version of libaddressinput in favor of the upstream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (C) 2013 Google Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 {
15 'variables': {
16 # Default include directories. Override with your system's include paths or
17 # paths to your own implementations.
18 'gtest_dir%': '/usr/include',
19 'gtest_src_dir%': '/usr/src/gtest',
20 },
21 'targets': [
22 {
23 'target_name': 'main',
24 'type': 'static_library',
25 'sources': [
26 '<(SHARED_INTERMEDIATE_DIR)/src/gtest-all.cc',
27 ],
28 'include_dirs': [
29 '<(gtest_dir)',
30 '<(gtest_src_dir)',
31 ],
32 'copies': [
33 {
34 'destination': '<(SHARED_INTERMEDIATE_DIR)/src',
35 'files': [
36 '<(gtest_src_dir)/src/gtest-all.cc',
37 '<(gtest_src_dir)/src/gtest_main.cc',
38 ],
39 },
40 ],
41 'direct_dependent_settings': {
42 'sources': [
43 '<(SHARED_INTERMEDIATE_DIR)/src/gtest_main.cc',
44 ],
45 'include_dirs': [
46 '<(gtest_dir)',
47 ],
48 'conditions': [
49 ['OS == "linux"', {
50 'ldflags': [
51 '-pthread', # GTest needs to link to pthread on Linux.
52 ],
53 }],
54 ],
55 },
56 },
57 ],
58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698