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

Unified Diff: third_party/libaddressinput/chromium/cpp/re2.gyp

Issue 98543010: rac] Add re2 dependency to libaddressinput. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/libaddressinput/chromium/cpp/re2.gyp
diff --git a/third_party/libaddressinput/chromium/cpp/rapidjson.gyp b/third_party/libaddressinput/chromium/cpp/re2.gyp
similarity index 71%
copy from third_party/libaddressinput/chromium/cpp/rapidjson.gyp
copy to third_party/libaddressinput/chromium/cpp/re2.gyp
index 65c6608e1e24112dd0d4be93dd29a5fbcf2bf337..961178cb7191531146721cd4d09a677da028e26a 100644
--- a/third_party/libaddressinput/chromium/cpp/rapidjson.gyp
+++ b/third_party/libaddressinput/chromium/cpp/re2.gyp
@@ -13,15 +13,23 @@
# limitations under the License.
{
'variables': {
- 'rapidjson_dir%': '<(DEPTH)/../externals/rapidjson/include',
+ 're2_dir%': '/usr/include',
+ 're2_lib%': '/usr/lib/libre2.a',
},
'targets': [
{
- 'target_name': 'rapidjson',
+ 'target_name': 're2',
'type': 'none',
'all_dependent_settings': {
'include_dirs': [
- '<(rapidjson_dir)',
+ '<(re2_dir)',
+ ],
+ 'conditions': [
+ ['"<(component)" != "shared_library"', {
+ 'libraries': [
+ '<(re2_lib)',
+ ],
+ }],
],
},
},
« no previous file with comments | « third_party/libaddressinput/chromium/cpp/libaddressinput.gyp ('k') | third_party/libaddressinput/libaddressinput.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698